On 17Nov2008 21:24, Wayne Feick <[EMAIL PROTECTED]> wrote: | If you're trying to service 1000's of sockets, you should at least take | a look at select(2)
Select() should be replaced with epoll() on modern linux. Select() has O(n) performance with the number of filedescriptors (because the bitmap must be scanned for bits. | / asynchronous I/O as a way to cut down on the | number of threads and avoid the overhead or many context switches. I seem to recall that lots of threads (up to the point of "too many") beats asynch I/O these days. But this may well be too low level for Steve's task. Steve, do a bit of load testing and see where things start to get bad. Cheers, -- Cameron Simpson <[EMAIL PROTECTED]> DoD#743 http://www.cskk.ezoshosting.com/cs/ Support Darwinian evolution -- Squash a weakling today. - David Wren-Hardin <[EMAIL PROTECTED]> -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines