[lkml]   [2003]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: So, Poll is not scalable... what to do?
    On Tue, Nov 11, 2003 at 05:52:42PM -0600, kirk bae wrote:
    > If poll is not scalable, which method should I use when writing
    > multithreaded socket server?

    Honnestly, if you're using threads (I mean lots of threads, such as one
    per connection), I don't think that poll performance will be your worst
    ennemy. The first thing to do is to handle the task switching yourself
    either with a publicly available coroutine library or with one of your own.

    Take a look here for more a comparison of several available methods :

    epoll is compared to other methods with numbers here :


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:58    [W:0.388 / U:1.632 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site