Re: why nfs server delay 10ms in nfsd_write()?

From: Avi Kivity
Date: Thu May 19 2005 - 09:15:42 EST


On Thu, 2005-05-19 at 09:59 -0400, Lee Revell wrote:
> On Thu, 2005-05-19 at 08:53 -0400, Peter Staubach wrote:
> > There are certainly many others way to get gathering, without adding an
> > artificial delay. There are already delay slots built into the code
> > which could
> > be used to trigger the gathering, so with a little bit different
> > architecture, the
> > performance increases could be achieved.
> >
> > Some implementations actually do write gathering with NFSv3, even. Is
> > this interesting enough to play with? I suspect that just doing the
> > work for
> > NFSv2 is not...
>
> Also, how do you explain the big performance hit that steve observed?
> Write gathering is supposed to help performance, but it's a big loss on
> his test...
>

that would depend on the NFS client and the application. for example, if
the NFS client has no (or low) concurrency, then write gathering would
reduce preformance.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/