Hacker News new | ask | show | jobs
by saurabhjha 3693 days ago
I heard that BSD is really good with network stuff with their kqueue. See for example this comparison http://www.eecs.berkeley.edu/~sangjin/2012/12/21/epoll-vs-kq...

In particular, epoll cannot be used with disks.

Is it still the case that BSD has an edge over Linux? Is KCM addressing the problem of handling a lot of hanging connections?

Please point out if my assumptions are incorrect. I am new to kernel and network programming.

Edit: By BSD I mean FreeBSD

1 comments

epoll alone cannot be used with disks, but I think aio supports getting/setting eventfds so it can be used with epoll.

I don't know it well enough, perhaps someone more knowledgeable than I can chime in.