[lkml]   [1998]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Thread implementations...

    On Sun, 21 Jun 1998, MOLNAR Ingo wrote:

    > one thing i noticed about LinuxThreads, the most 'out of balance' basic
    > pthreads operation in pthread_create(). Does NSPR create a pre-allocated
    > pool of threads? (or some kind of adaptive pool?) If it's creating threads
    > heavily (say per-request), then thats bad, at least with the current
    > LinuxThreads implementation. We have a 1:5 gap between the latency of
    > clone() and pthread_create() there...

    I prespawn a fixed number of threads. I still have to make it dynamically
    size the pool of threads... NSPR itself doesn't do that. (It's one of the
    optimizations I'd like to get to.) But it shouldn't affect the numbers I


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to

     \ /
      Last update: 2005-03-22 13:43    [W:0.017 / U:11.908 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site