linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Massive slowdown when re-querying large nfs dir
@ 2007-11-05  4:58 Al Boldi
  2007-11-04 13:36 ` Matthew Wilcox
  2007-11-06 11:28 ` Al Boldi
  0 siblings, 2 replies; 12+ messages in thread
From: Al Boldi @ 2007-11-05  4:58 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: linux-kernel

There is a massive (3-18x) slowdown when re-querying a large nfs dir (2k+ 
entries) using a simple ls -l.

On 2.6.23 client and server running userland rpc.nfs.V2:
first  try: time -p ls -l <2k+ entry dir>  in ~2.5sec
more tries: time -p ls -l <2k+ entry dir>  in ~8sec

first  try: time -p ls -l <5k+ entry dir>  in ~9sec
more tries: time -p ls -l <5k+ entry dir>  in ~180sec

On 2.6.23 client and 2.4.31 server running userland rpc.nfs.V2:
first  try: time -p ls -l <2k+ entry dir>  in ~2.5sec
more tries: time -p ls -l <2k+ entry dir>  in ~7sec

first  try: time -p ls -l <5k+ entry dir>  in ~8sec
more tries: time -p ls -l <5k+ entry dir>  in ~43sec

Remounting the nfs-dir on the client resets the problem.

Any ideas?


Thanks!

--
Al

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-11-08  9:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-05  4:58 Massive slowdown when re-querying large nfs dir Al Boldi
2007-11-04 13:36 ` Matthew Wilcox
2007-11-04 16:03   ` Al Boldi
2007-11-06 11:28 ` Al Boldi
2007-11-07  6:19   ` Andrew Morton
2007-11-07  7:28     ` Neil Brown
2007-11-07  9:36       ` Al Boldi
2007-11-07 17:05         ` Andrew Morton
2007-11-08  7:44           ` Al Boldi
2007-11-08  9:04             ` Andrew Morton
2007-11-07 21:58         ` Neil Brown
2007-11-07 22:01           ` Massive slowdown when re-querying large nfs dir - CORRECTION Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).