From owner-freebsd-questions@FreeBSD.ORG Mon May 16 10:19:30 2005 Return-Path: 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 D955616A4CE for ; Mon, 16 May 2005 10:19:30 +0000 (GMT) Received: from parrot.aev.net (host29-15.pool8174.interbusiness.it [81.74.15.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2C7543D91 for ; Mon, 16 May 2005 10:19:28 +0000 (GMT) (envelope-from ml.diespammer@netfence.it) Received: from soth.ventu (adsl-245-23.37-151.net24.it [151.37.23.245]) (authenticated bits=128) by parrot.aev.net (8.13.4/8.13.4) with ESMTP id j4GANLgn047622 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 16 May 2005 12:23:28 +0200 (CEST) (envelope-from ml.diespammer@netfence.it) Received: from [10.1.2.18] (alamar.ventu [10.1.2.18]) (authenticated bits=0) by soth.ventu (8.13.3/8.13.3) with ESMTP id j4GAIP2m074603 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 16 May 2005 12:18:25 +0200 (CEST) (envelope-from ml.diespammer@netfence.it) Message-ID: <428873A1.1060209@netfence.it> Date: Mon, 16 May 2005 12:19:13 +0200 From: Andrea Venturoli User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Tancsa , freebsd-questions@freebsd.org References: <4286313A.3080102@netfence.it> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.51 on 192.168.2.2 X-Scanned-By: MIMEDefang 2.51 on 10.1.2.13 Subject: Re: NFS read-ahead? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2005 10:19:31 -0000 Mike Tancsa wrote: > On Sat, 14 May 2005 19:11:22 +0200, in sentex.lists.freebsd.questions > you wrote: > > >>If yes, is there a way to set it up to perform some read-ahead? > > > Hi, > Take a look at the -a and -r options on mount_nfs Thanks. Sometimes things are in the most obvious place, yet you miss them :) Now, the manual pages says for -a I should give values greater than 1 if bandwidth*delay is high. I'm on a swithed FastEthernet, so bandwidth=100Mb/s and delay is around 0.2 ms of ping roundtrip time. As for -r it says it should be used when there are many "fragments dropped due to timeout"; yet I see almost none. Do you have any suggested values to start with, before I make random experiments? bye & Thanks av.