[nfsv4] Performance drop in iozone for reading large files

Trond Myklebust trond.myklebust at fys.uio.no
Fri Aug 25 22:56:24 EDT 2006


On Fri, 2006-08-25 at 15:57 -0700, Bryce Harrington wrote:
> On Fri, Aug 25, 2006 at 05:23:37PM -0400, Trond Myklebust wrote:
> > On Fri, 2006-08-25 at 14:01 -0700, Bryce Harrington wrote:
> > > There is a performance issue in READ operations we've noticed in iozone
> > > runs for a while now.  If you look at this plot, of NFSv4 with 1G mem:
> > > 
> > >    http://crucible.osdl.org/runs/1604/test_output/iozone.sys.log.png
> > > 
> > > You can see that we're getting fairly steady performance up until the
> > > 1048576kb case, where read performance drops to about a third.
> > 
> > Is the readahead algorithm working correctly? Could you please try
> > applying the following patch, and then check your syslog for warnings?
> 
> Here it is:
> 
> http://crucible.osdl.org/runs/1617/nfs03.console.log
> 
> Looks like it switches between 12K, 240K, and 60K.  Does that sound
> right?
> 
> Thanks,
> Bryce

OK. Could you try the attached patch? It ought to fix that particular
issue. I'm curious to see if it will also fix the performance problem.

Cheers,
  Trond
-------------- next part --------------
An embedded message was scrubbed...
From: Trond Myklebust <Trond.Myklebust at netapp.com>
Subject: No Subject
Date: Fri, 25 Aug 2006 22:56:24 -0400
Size: 2247
Url: http://linux-nfs.org/pipermail/nfsv4/attachments/20060825/450e264a/linux-2.6.18-011-fix_readahead.eml


More information about the NFSv4 mailing list