linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Why will NFS client spend so much time on file open?
@ 2006-08-24  7:15 Xin Zhao
  2006-08-24 21:36 ` Trond Myklebust
  0 siblings, 1 reply; 2+ messages in thread
From: Xin Zhao @ 2006-08-24  7:15 UTC (permalink / raw)
  To: linux-kernel, linux-fsdevel

Hi,

I did Apache benchmark and collected the performance results at the
file system call level.
The microbenchmark results were collected when I did "make" on Apache
source code.

The results are very interesting:

		      open	        read		
Total Time (s)  21.599 	         15.948 											Count		   310274 	
 98028 											Time/Call (ms)	69.61 	         162.69

The results show that NFS spent even more time on file open than on
file read. But this result confuses me: what does NFS do to open a
file? As far as I know, it just issues a lookup() RPC to get file
handle, and maybe a getattr() RPC to get file attributes. This should
not take so much time. Can someone explain why this could happen?

Thanks,
-x

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

end of thread, other threads:[~2006-08-24 21:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-24  7:15 Why will NFS client spend so much time on file open? Xin Zhao
2006-08-24 21:36 ` Trond Myklebust

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).