Re: NFS client latencies

Andrew Morton
2005-03-30T19:57:33Z

Ingo Molnar <mingo@elte.hu> wrote:
>
> > No. Coalescing on the client makes tons of sense. The overhead of
> > sending 8 RPC requests for 4k writes instead of sending 1 RPC request
> > for a single 32k write is huge: among other things, you end up tying up
> > 8 RPC slots on the client + 8 nfsd threads on the server instead of just
> > one of each.
>
> yes - coalescing a few pages makes sense, but linearly scanning
> thousands of entries is entirely pointless.

If each object has a unique ->wb_index then they could all be placed into a
radix tree rather than a list. Use the gang-lookup functions to perform
the sorting.