Re: Kernel Timeslice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17Nov2008 21:24, Wayne Feick <waf@xxxxxxxxx> 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 <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Support Darwinian evolution -- Squash a weakling today.
        - David Wren-Hardin <bdh4@xxxxxxxxxxxxxxxxxx>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux