From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <2a3c4456d2519721e7e4f5d3ca409332@quintile.net> From: "Steve Simon" Date: Wed, 10 Feb 2010 16:44:54 +0000 To: 9fans@9fans.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Speed of 9pfuse on Linux Topicbox-Message-UUID: d25556b2-ead5-11e9-9d60-3106f5b1d025 > The problem is that Linux doesn't know we got all the attribute > information with the dirread, and then goes and individually queries > each file in the directory with a stat -- this happens in a serial > fashion, so the high latency to sources just makes the problem worse. I have had similar problems in the past and opted to cache dirread metadata for a second. This is short enough for most things to continue to work, but long enough for ls(1) to feel responsive. if you applications use the old unix trick of using a directory as an interprocess lock then your mileage may vary... -Steve