Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2005 12:19:13 +0200
From:      Andrea Venturoli <ml.diespammer@netfence.it>
To:        Mike Tancsa <mike@sentex.net>, freebsd-questions@freebsd.org
Subject:   Re: NFS read-ahead?
Message-ID:  <428873A1.1060209@netfence.it>
In-Reply-To: <eu9d81doft5cn61br59aimchmgeg471e8g@4ax.com>
References:  <4286313A.3080102@netfence.it> <eu9d81doft5cn61br59aimchmgeg471e8g@4ax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?428873A1.1060209>