NFS defaults for read/write blocksize....(Was: Re: 5.4/amd64 console hang)

Willem Jan Withagen wjw at withagen.nl
Mon Apr 18 12:53:54 PDT 2005


Claus Guttesen wrote:
>>>>By the way, I'm thinking that more frequently hang might related with
>>>>large read/write block in mount_nfs -r/-w (I use 8192, original is 1024).
>>>
>>>
>>>That's certainly possible since non-default settings don't get as much
>>>testing.  It would be good to get a traceback.
>>
>>Has it even been considered to up these values to something bigger??
> 
> 
> Read- and write-size of 32768 seems to work optimal for me:

How did you come to this conclusion? What kind of workload?

> nfssrv:/nfsmnt  /localsrv/nfsmnt   nfs   
> rw,tcp,intr,nfsv3,-w=32768,-r=32768   0    0
> 
> Nfs-server is an i386 and clients are i386 and amd64.

This is in line with what the graphs suggest:
	Use Laaarrrrrggggeee sizes.
But because of the non-significance of bonnie, I'm reluctant to accept my work 
as 100% proof.

--WjW


More information about the freebsd-stable mailing list