From owner-freebsd-questions@FreeBSD.ORG Thu Oct 12 02:20:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAE8E16A4E0 for ; Thu, 12 Oct 2006 02:20:23 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.192.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5DC743D5A for ; Thu, 12 Oct 2006 02:20:23 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [192.168.214.215] (c-24-1-232-64.hsd1.tx.comcast.net[24.1.232.64]) by comcast.net (rwcrmhc13) with ESMTP id <20061012022023m1300m19l5e>; Thu, 12 Oct 2006 02:20:23 +0000 Message-ID: <452DA666.7070505@computer.org> Date: Wed, 11 Oct 2006 21:20:22 -0500 From: Eric Schuele User-Agent: Thunderbird 1.5.0.7 (X11/20061005) MIME-Version: 1.0 To: Jeff Mohler References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: NFS Client..attr caching.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2006 02:20:23 -0000 On 10/10/06 01:38, Jeff Mohler wrote: > here at work we want to compile deep trees of code on Fbsd boxes, but > we are finding that the compiles on local disk are faster than via NFS > (very very fast/new Netapp boxes) on the FreeBSD boxes (single spindle > SATA drives). > > However, cross-compiling the same code on a linux box over NFS to the > very same Netapp boxes is way faster than Fbsd on local disk. > > Im trying of course to get the mount options/etc that the linux boxes > use, but any clues on how to mount a 150k file deep source tree to > most effectively cache getattr/readdir metadata which seems to be an > enourmous percentage of the total NFS calls in the compile process. I'm no NFS guru... but I did some googling on your behalf and ran across the following sysctl which, if tweaked, might help. vfs.nfs.access_cache_timeout Don't know if it will help. Just a shot. > > Thanks in advance..as I get more data. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >