Re: NFS and kernel 2.6.x

Trond Myklebust
2004-04-17T05:28:47Z

On Fri, 2004-04-16 at 17:03, Charles Shannon Hendrix wrote:
> >
> > 2.6.x can cache a lot more data, and will tend to write it out in a more
> > lazy fashion (i.e. only when the user requests it). That means the
> > writes tend to occur in a more bursty fashion.
>
> That makes sense.
>
> Was there a specific reason for making NFS traffic bursty, or did it
> just work out that way?

It's an inevitable side-effect of the increased caching. If you are
constantly writing out data, then you spread out the load a lot more
than if you wait until the user actually requests a flush.
On the other hand, it means that if your application reads/writs several
times over the same page, then you only write it out once.

Cheers,
Trond