From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Ross Subject: Re: readdirplus() as possible POSIX I/O API Date: Tue, 05 Dec 2006 16:48:30 -0600 Message-ID: <4575F73E.6000800@mcs.anl.gov> References: <20061129082622.GA20285@cynthia.pants.nu> <1164950795.5761.25.camel@lade.trondhjem.org> <1164984094.5761.86.camel@lade.trondhjem.org> <20061203015203.GA5656@schatzie.adilger.int> <20061204073200.GB5637@schatzie.adilger.int> <1165245336.711.176.camel@lade.trondhjem.org> <20061205102644.GH5937@schatzie.adilger.int> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Trond Myklebust , Sage Weil , Christoph Hellwig , Brad Boyer , Anton Altaparmakov , Gary Grider , linux-fsdevel@vger.kernel.org Return-path: Received: from mailgw.mcs.anl.gov ([140.221.9.4]:38393 "EHLO mailgw.mcs.anl.gov" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936997AbWLEWsi (ORCPT ); Tue, 5 Dec 2006 17:48:38 -0500 To: Latchesar Ionkov In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Hi Lucho, Andreas is right on mark. The problem here is that when one user kicks off an ls -l or ls -R on a cluster file system *while other users are trying to get work done*, all those stat RPCs and lock reclamations can kill performance. We're not interested in a "ls -lR" top 500, we're interested in making systems more usable, more tolerant to everyday user behaviors. Regards, Rob Latchesar Ionkov wrote: > On 12/5/06, Andreas Dilger wrote: >> The primary goal (IMHO) of this syscall is to allow the filesystem >> (primarily distributed cluster filesystems, but HFS and NTFS developers >> seem on board with this too) to avoid tens to thousands of stat RPCs in >> very common ls -R, find, etc. kind of operations. > > I don't think that ls -R and find are that common cases that they need > introduction of new operations in order to made them faster. On the > other hand may be they are often being used to do microbenchmarks. If > you goal is to make these filesystems look faster on microbenchmarks, > then probably you have the right solution. For normal use, especially > on clusters, I don't see any advantage of doing that. > > Thanks, > Lucho