Messages in this thread |  | | Date | Wed, 30 Mar 2005 11:53:26 -0800 | From | Andrew Morton <> | Subject | Re: NFS client latencies |
| |
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.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |