Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261307AbVDIHhn (ORCPT ); Sat, 9 Apr 2005 03:37:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261308AbVDIHhn (ORCPT ); Sat, 9 Apr 2005 03:37:43 -0400 Received: from willy.net1.nerim.net ([62.212.114.60]:42248 "EHLO willy.net1.nerim.net") by vger.kernel.org with ESMTP id S261307AbVDIHhi (ORCPT ); Sat, 9 Apr 2005 03:37:38 -0400 Date: Sat, 9 Apr 2005 09:37:27 +0200 From: Willy Tarreau To: Chris Wedgwood Cc: Linus Torvalds , Jeff Garzik , Matthias-Christian Ott , Andrea Arcangeli , Kernel Mailing List Subject: Re: Kernel SCM saga.. Message-ID: <20050409073726.GC7858@alpha.home.local> References: <20050408041341.GA8720@taniwha.stupidest.org> <20050408071428.GB3957@opteron.random> <4256AE0D.201@tiscali.de> <4256C0F8.6030008@pobox.com> <20050408185608.GA5638@taniwha.stupidest.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050408185608.GA5638@taniwha.stupidest.org> User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1260 Lines: 30 On Fri, Apr 08, 2005 at 11:56:09AM -0700, Chris Wedgwood wrote: > On Fri, Apr 08, 2005 at 11:47:10AM -0700, Linus Torvalds wrote: > > > Don't use NFS for development. It sucks for BK too. > > Some times NFS is unavoidable. > > In the best case (see previous email wrt to only stat'ing the parent > directories when you can) for a current kernel though you can get away > with 894 stats --- over NFS that would probably be tolerable. > > After claiming such an optimization is probably not worth while I'm > now thinking for network filesystems it might be. I've just checked, it takes 5.7s to compare 2.4.29{,-hf3} over NFS (13300 files each) and 1.3s once the trees are cached locally. This is without comparing file contents, just meta-data. And it takes 19.33s to compare the file's md5 sums once the trees are cached. I don't know if there are ways to avoid some NFS operations when everything is cached. Anyway, the system does not seem much efficient on hard links, it caches the files twice :-( Willy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/