kqueue vs epoll experience??

Sean Hinde <>
Wed Oct 26 20:11:05 CEST 2005


Hi,

To the best of my knowledge epoll in Linux 2.6 is not (yet) supported  
by Erlang. There is support for kpoll, but kpoll didn't ever appear  
in the released Linux versions.

If kqueue works well then I would go with that

Sean

On 26 Oct 2005, at 18:29, ke.han wrote:

> Hello list,
> I'm trying to make a decision as to whether to set up my next  
> production server on freeBSD (5 or 6 series) or Linux (2.6.x  
> kernel).  I will require the large socket handling efficiency of  
> kqueue or epoll..
> I have read lots on the ejabberd and erlang sites and lists and  
> understand what it takes to use kernel polling on freeBSD or Linux  
> with erlang.
> What I cannot find is any recommendations or experience reports  
> which tips the hand in either direction.
> So, assuming all other things being equal ;-), can anyone give me  
> there two cents as to whether its more wise to use the erlang  
> supported freeBSD kqueue or the Linux 2.6 erlang patch set for /dev/ 
> epoll ??? What worries me is the patch set for erlang/linux being  
> marked as experimental whereas the erlang/freeBSD support is not  
> labeled as such.
> thanks for any advice...ke han
>




More information about the erlang-questions mailing list