Re: nfs slowdown since 2.5.4

Trond Myklebust (trond.myklebust@fys.uio.no)
Tue, 4 Jun 2002 19:28:54 +0200


--------------Boundary-00=_68Z6NV61QKQCGJ5S6JGY
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

On Tuesday 04 June 2002 19:16, Matthias Welk wrote:
> On Tuesday 04 June 2002 18:48, Trond Myklebust wrote:
> > On Tuesday 04 June 2002 17:56, Matthias Welk wrote:
> > > To get more info about this problem I compared the compile time and the
> > > nfs traffic between 2.4.18-4 and 2.5.20 on a RedHat 7.3 system.
> > > The sources (mosfet-liquid0.9.5.tar.gz - KDE style) were located on the
> > > local disc and the libraries were linked over nfs.
> > > The results attached to this mail show the big difference !

Does the appended patch make a difference?

Cheers,
Trond

--------------Boundary-00=_68Z6NV61QKQCGJ5S6JGY
Content-Type: text/x-diff;
charset="iso-8859-1";
name="gnurr.dif"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="gnurr.dif"

--- linux-2.5.20/fs/nfs/dir.c.orig Mon Jun 3 03:44:49 2002
+++ linux-2.5.20/fs/nfs/dir.c Tue Jun 4 19:24:21 2002
@@ -519,7 +519,6 @@
dput(parent);
return 1;
out_bad:
- NFS_CACHEINV(dir);
if (inode && S_ISDIR(inode->i_mode)) {
/* Purge readdir caches. */
nfs_zap_caches(inode);

--------------Boundary-00=_68Z6NV61QKQCGJ5S6JGY--
-
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/