Would this mean that for an Erlang application with a large number of sockets (several hundred), OpenBSD might outperform FreeBSD?<br><br><div><span class="gmail_quote">On 4/19/07, <b class="gmail_sendername">Rickard Green
</b> <<a href="mailto:rickard.s.green@ericsson.com">rickard.s.green@ericsson.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Alex Arnon wrote:<br>> Hi Rickard,<br>><br>> Is there also such problem on OpenBSD or NetBSD? Or can I safely use<br>> kqueue on those platforms?<br><br>We haven't had any problems with kqueue on OpenBSD in our daily builds.
<br>For NetBSD I cannot give you an answer, since we haven't got any NetBSD<br>daily build machines.<br><br>> In any case, is there an alternative option?<br>><br><br>Using poll/select is of course an alternative, but no other kernel-poll
<br>alternative (our configure test is written to prefer /dev/poll and<br>epoll, but those interfaces will probably not be present).<br><br>BR,<br>Rickard Green, Erlang/OTP, Ericsson AB.<br><br>> Cheers,<br>> Alex.<br>
><br>><br>> On 4/18/07, *Rickard Green* <<a href="mailto:rickard.s.green@ericsson.com">rickard.s.green@ericsson.com</a><br>> <mailto:<a href="mailto:rickard.s.green@ericsson.com">rickard.s.green@ericsson.com
</a>>> wrote:<br>><br>> Oscar Hellström wrote:<br>> > Hi,<br>> ><br>> > I've understood that kqueue support is disabled on FreeBSD due to<br>> issues<br>> > with (at least) pipes. I've also forced Erlang to build with kqueue
<br>> > support on FreeBSD and are experiencing weird behaviors.<br>> ><br>><br>> Kqueue's EVFILT_READ didn't always trigger when writing on a pipe with<br>> writev (depending on the buffer sizes used) on FreeBSD.
<br>><br>> > I cannot find much on this issue on the web though, is this an ERTS<br>> > issue or a FreeBSD issue?<br>><br>> FreeBSD<br>><br>> > Is there work going on to solve it etc?
<br>> ><br>><br>> Not at OTP.<br>><br>> > Best Regards<br>><br>> BR,<br>> Rickard Green, Erlang/OTP, Ericsson AB:<br>><br>> _______________________________________________
<br>> erlang-questions mailing list<br>> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a> <mailto:<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>>
<br>> <a href="http://www.erlang.org/mailman/listinfo/erlang-questions">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>> <<a href="http://www.erlang.org/mailman/listinfo/erlang-questions">
http://www.erlang.org/mailman/listinfo/erlang-questions</a>><br>><br>><br></blockquote></div><br>