Bug 26324

Summary: Defaults for NFS mounts over TCP are slow
Product: Base System Reporter: bg <bg>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: bg
Priority: Normal    
Version: 4.2-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description bg 2001-04-03 20:00:03 UTC
Defaults for NFSv3 mounts over TCP limits rsize and wsize to
8kbytes. This is unnecessarily conservative and leads to slow
NFS read/write performance.

NFSv3 has a mechanism to negotiate these parameters so there is no
danger in increasing the defaults to something more appropiate (e.g
sun defaults to 32kbytes).

Fix: The following patch increases NFS read and write performance between
two FreeBSD machines to ~80Mbytes/s. This was measured over an idle
100Mbit/s network.

Patch was tested on a FreeBSD 4.2-RELEASE machine.
Comment 1 silby freebsd_committer freebsd_triage 2002-01-09 02:01:28 UTC
Responsible Changed
From-To: freebsd-bugs->dillon

Over to Mr.NFS, Dillon.
Comment 2 Giorgos Keramidas freebsd_committer freebsd_triage 2003-02-23 02:15:47 UTC
Responsible Changed
From-To: dillon->freebsd-bugs

Back to the free pool.
Comment 3 David E. O'Brien freebsd_committer freebsd_triage 2004-01-31 10:42:43 UTC
State Changed
From-To: open->closed

PR kern/62024 was committed.