lkml.org 
[lkml]   [2008]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: high latency NFS
    From
    On Fri, Aug 01, 2008 at 05:23:20PM +1000, Dave Chinner wrote:
    > Having implemented the second option on a different NUMA aware
    > OS and NFS server, I can say that it isn't that complex, nor that
    > hard to screw up.
    >
    > 1. spawn a new thread only if all NFSDs are busy and there
    > are still requests queued to be serviced.
    > 2. rate limit the speed at which you spawn new NFSD threads.
    > About 5/s per node was about right.
    > 3. define an idle time for each thread before they
    > terminate. That is, is a thread has not been asked to
    > do any work for 30s, exit.
    > 4. use the NFSD thread pools to allow per-pool independence.

    Actually, I lost you on #4. You mean that you apply 1-3 independently
    on each thread pool? Or something else?

    --b.


    \
     
     \ /
      Last update: 2008-08-01 21:27    [W:2.599 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site