User: Password:
Subscribe / Log in / New account

Interest in asynchronous I/O

Interest in asynchronous I/O

Posted Jul 31, 2003 16:39 UTC (Thu) by johnchx (guest, #4262)
In reply to: Interest in asynchronous I/O by GreyWizard
Parent article: 2003 Kernel Summit: Asynchronous I/O

One problem with select() is that it scales poorly to very large numbers of file descriptors. It works fine with a couple of dozen, but when you're handling 10,000 + network connections, the work of simply passing the file descriptors to and from the system call and the work (when select() returns) of figuring out which of the 10,000 descriptors has become ready can consume a significant fraction of the available cpu cycles.

There's a paper on this at:

(Log in to post comments)

Interest in asynchronous I/O

Posted Nov 26, 2003 10:09 UTC (Wed) by yzhuang (guest, #3178) [Link]

epoll has broken the bottleneck very well. it is much more scalible

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds