From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Staubach Subject: Re: NFSv4/pNFS possible POSIX I/O API standards Date: Tue, 05 Dec 2006 09:37:39 -0500 Message-ID: <45758433.9050704@redhat.com> References: <20061129094815.GE6429@schatzie.adilger.int> <1164795522.7557.45.camel@imp.csi.cam.ac.uk> <20061129082622.GA20285@cynthia.pants.nu> <20061130092548.GA1534@infradead.org> <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> <4574C48A.8030007@mcs.anl.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Trond Myklebust , Andreas Dilger , Sage Weil , Christoph Hellwig , Brad Boyer , Anton Altaparmakov , Gary Grider , linux-fsdevel@vger.kernel.org Return-path: Received: from mx1.redhat.com ([66.187.233.31]:34516 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966675AbWLEOiY (ORCPT ); Tue, 5 Dec 2006 09:38:24 -0500 To: Rob Ross In-Reply-To: <4574C48A.8030007@mcs.anl.gov> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Rob Ross wrote: > > Regarding Peter Staubach's comments about no one ever using the > readdirplus() call; well, if people weren't performing this workload > in the first place, we wouldn't *need* this sort of call! This call is > specifically targeted at improving "ls -l" performance on large > directories, and Sage has pointed out quite nicely how that might work. I don't think that anyone has shown a *need* for this sort of call yet, actually. What application would actually benefit from this call and where are the measurements? Simply asserting that "ls -l" will benefit is not enough without some measurements. Or mention a different real world application... Having developed and prototyped the NFSv3 READDIRPLUS, I can tell you that the wins were less than expected/hoped for and while it wasn't all that hard to implement in a simple way, doing so in a high performance fashion is much harder. Many implementations that I have heard about turn off READDIRPLUS when dealing with a large directory. Caching is what makes things fast and caching means avoiding going over the network. ps