Subject: More defines (fwd)
To: None <>
From: Gordon W. Ross <>
List: current-users
Date: 03/04/1995 11:16:46
> From: thecure <>
> Date: Sat, 4 Mar 1995 21:54:30 +1100 (EST)

> Forwarded message:
> Date: Sat, 4 Mar 1995 01:58:33 GMT
> From: (Robert Dobbs)

> in the NFS code
> NFS_BOOT_RWSIZE : seems like its supposed to dynamically change packet size
> to adapt for poor lines/mtu etc.  Doesn't seem to work.

Not quite.  The reason this define exists is so you can control some
options used on the NFS mounts done in nfs_mountroot (root and swap).
The default NFS options are rsize=wsize=8192 which implies the use
of IP fragments to transmit the UDP datagrams.  If either end can not
reliably receive all the IP fragments of one UDP datagram, then one
or both of the options rsize or wsize needs to be reduced < MTU.

Some examples:
* Sun3 servers like wsize=1024
* i386/wd8003 clients like rsize=1024

For more info, see the man page for NFS mount.

Gordon Ross