Entering BSD Land
Tuesday, April 17th, 2007After long enough, yet another developer has entered into BSD Land. This one took the way by FreeBSD. Right now I’m mostly benchmarking Erlang applications on FreeBSD, which so far is a bit disappointing, since kpoll is disabled for FreeBSD. Apparently FreeBSD has issues with kqueue and pipes, at least according to the OTP folks. I will try to compile the ERTS with kpoll support anyway, and see what happens. An interesting observation so far is that Ejabberd is spending much more time in kernel-space rather than user-space or this FreeBSD connection. The time spent in kernel-space could probably (?) be shortened with the support for kpoll.
UPDATE:
By hacking the configure script and forcing it to compile with kernel polling support on FreeBSD I noticed really nice performance, until the VM hung for quite some time. It seems that the combination of Erlang, FreeBSD and kqueue indeed have issues.