[erlang-questions] Status of kqueue on FreeBSD

Alex Arnon <>
Sat Apr 21 23:12:52 CEST 2007


Would this mean that for an Erlang application with a large number of
sockets (several hundred), OpenBSD might outperform FreeBSD?

On 4/19/07, Rickard Green <> wrote:
>
> Alex Arnon wrote:
> > Hi Rickard,
> >
> > Is there also such problem on OpenBSD or NetBSD? Or can I safely use
> > kqueue on those platforms?
>
> We haven't had any problems with kqueue on OpenBSD in our daily builds.
> For NetBSD I cannot give you an answer, since we haven't got any NetBSD
> daily build machines.
>
> > In any case, is there an alternative option?
> >
>
> Using poll/select is of course an alternative, but no other kernel-poll
> alternative (our configure test is written to prefer /dev/poll and
> epoll, but those interfaces will probably not be present).
>
> BR,
> Rickard Green, Erlang/OTP, Ericsson AB.
>
> > Cheers,
> > Alex.
> >
> >
> > On 4/18/07, *Rickard Green* <
> > <mailto:>> wrote:
> >
> >     Oscar Hellström wrote:
> >      > Hi,
> >      >
> >      > I've understood that kqueue support is disabled on FreeBSD due to
> >     issues
> >      > with (at least) pipes. I've also forced Erlang to build with
> kqueue
> >      > support on FreeBSD and are experiencing weird behaviors.
> >      >
> >
> >     Kqueue's EVFILT_READ didn't always trigger when writing on a pipe
> with
> >     writev (depending on the buffer sizes used) on FreeBSD.
> >
> >      > I cannot find much on this issue on the web though, is this an
> ERTS
> >      > issue or a FreeBSD issue?
> >
> >     FreeBSD
> >
> >      > Is there work going on to solve it etc?
> >      >
> >
> >     Not at OTP.
> >
> >      > Best Regards
> >
> >     BR,
> >     Rickard Green, Erlang/OTP, Ericsson AB:
> >
> >     _______________________________________________
> >     erlang-questions mailing list
> >      <mailto:>
> >     http://www.erlang.org/mailman/listinfo/erlang-questions
> >     <http://www.erlang.org/mailman/listinfo/erlang-questions>
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070422/509e8708/attachment.html>


More information about the erlang-questions mailing list