[erlang-questions] kpoll still using select

Joel Reymont joelr1@REDACTED
Thu Jul 9 13:09:06 CEST 2009

It's all coming back to me...


I think it's wrong for the OTP team to hide behind broken poll on Mac  
OSX to clip fds to 1024 when kernel poll is used. The whole point of  
using kernel poll is to effectively manage more than 1024 descriptors.

I also think it's wrong to force users to edit system header files to  
bump the available number of file descriptors. I bumped FD_SETSIZE to  
30720 in /usr/include/sys/select.h (/usr/include/sys/_structs.h  
technically) so select may choke if it falls back.

I'm fine with select choking on a larger fd if it falls back. I don't  
want any select fallbacks, otherwise I would not be using kernel poll.

Mac hacker with a performance bent

More information about the erlang-questions mailing list