3 ms·
Wouldn't you say that Linux integrates just as nicely with nginx's async I/O and sendfile support?
by cbsmith 12y ago
Wouldn't you say that Linux integrates just as nicely with nginx's async I/O and sendfile support?
- m0th87 12y agoI thought *BSDs used kqueue, which allegedly had worse performance at high concurrency vs Linux's epoll? EDIT: This seems to suggest kqueue may have better performance due to less syscall overhead: http://www.eecs.berkeley.edu/~sangjin/2012/12/21/epoll-vs-kqueue.html http://www.eecs.berkeley.edu/~sangjin/2012/12/21/epoll-vs-kq...
- cbsmith 12y agoYeah, it's the opposite, though there are other mechanisms that could do better than epoll, but they need more refinement.
- donavanm 12y agoActually o_async is, imo, broken on linux. Forcing it to direct precludes the use of readahead or the page cache.
- cbsmith 12y agoYeah, O_ASYNC on Linux kinda sucks.