lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20071108010436.e5ad5036.akpm@linux-foundation.org>
Date:	Thu, 8 Nov 2007 01:04:36 -0800
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Al Boldi <a1426z@...ab.com>
Cc:	neilb@...e.de, linux-fsdevel@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: Massive slowdown when re-querying large nfs dir

> On Thu, 8 Nov 2007 10:44:35 +0300 Al Boldi <a1426z@...ab.com> wrote:
> Andrew Morton wrote:
> > > > I would suggest getting a 'tcpdump -s0' trace and seeing (with
> > > > wireshark) what is different between the various cases.
> > >
> > > Thanks Neil for looking into this.  Your suggestion has already been
> > > answered in a previous post, where the difference has been attributed to
> > > "ls -l" inducing lookup for the first try, which is fast, and getattr
> > > for later tries, which is super-slow.
> > >
> > > Now it's easy to blame the userland rpc.nfs.V2 server for this, but
> > > what's not clear is how come 2.4.31 handles getattr faster than 2.6.23?
> >
> > We broke 2.6?  It'd be interesting to run the ls in an infinite loop on
> > the client them start poking at the server.  Is the 2.6 server doing
> > physical IO?  Is the 2.6 server consuming more system time?  etc.  A basic
> > `vmstat 1' trace for both 2.4 and 2.6 would be a starting point.
> >
> > Could be that there's some additional latency caused by networking
> > changes, too.  I expect the tcpdump/wireshark/etc traces would have
> > sufficient resolution for us to be able to see that.
> 
> The problem turns out to be "tune2fs -O dir_index".
> Removing that feature resolves the big slowdown.

Doh.  Well worked-out.

> Does 2.4.31 support this feature?

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ