[erlang-questions] Reasons not to enable kernel poll

Kaiduan Xie kaiduanx@REDACTED
Fri Apr 8 20:12:16 CEST 2011


Some OS, for example, Windows, does not have kernel poll support. So
it is not enabled by default.

On Linux, it uses ePoll and is quite stable. It improves the
performance dramatically if you have a lot of concurrent open sockets.

/Kaiduan

On Thu, Apr 7, 2011 at 1:54 AM, Alexey Romanov
<alexey.v.romanov@REDACTED> wrote:
> From reading, e.g.
> http://developer.sipphone.com/ejabberd/erlang_epoll_patch/, it seems
> supposed to be a performance improvement which only some applications
> can benefit from, but with no downsides. Presumably it's now
> considered stable (after inclusion into OTP and 3 major versions).
> Rebar enables it by default (see
> https://github.com/basho/rebar/blob/master/priv/templates/simplenode.vm.args).
> But why is it required to enable it and "+K true" isn't the default?
> Are there circumstances when it's a bad idea to enable it?
>
> Yours, Alexey Romanov
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list