Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2003 09:49:07 -0600 (CST)
From:      "Doug Poland" <doug@polands.org>
To:        <ajacoutot@lphp.org>
Cc:        <wmoran@potentialtech.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: speeding up NFS
Message-ID:  <57521.63.104.35.130.1044892147.squirrel@email.polands.org>
In-Reply-To: <1044890587.3e47c3db48ea3@webmail.lphp.org>
References:  <1044890587.3e47c3db48ea3@webmail.lphp.org>

next in thread | previous in thread | raw e-mail | index | archive | help

>> You may be able to increase the -r and -w sizes to improve
>> things.
>
> Yes, well I already tried that but it didn't work (it was even
> worse !)
>
>> My understanding is: you should use UDP mounts if the servers
>> are close together (i.e., one hub/switch between them, low
>> latency) but use TCP mounts if they are far apart (i.e. many
>> hops, high latency, lots of dropped packets).I don't know if
>> specifying both -u and -t hurts anything.
>
> Well, the clients are configured to mount NFS with UDP.
>
This is what I have in my nfs client fstab.  I came up with these
numbers in an attempt to get client NFS access speeds up to par with
SMB or CIFS connections:

nfsserver:/data  /data   nfs  fsv3,intr,rdirplus,-r=32768,-w=32768,rw

On the NFS server I have in my /etc/sysctl.conf:
vfs.nfs.async=1

Also make sure you have enough nfsiod running on the client to
service requests, and enough nfsd on the server to service the
clients.

YMMV,

Doug



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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