[comp.protocols.nfs] rsize and wsize in PC-NFS

geoff@hinode.East.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top) (03/14/90)

Quoth kutvonen@cs.Helsinki.FI (Petri Kutvonen) (in <4464@hydra.Helsinki.FI>):
#
#Is it possible to restrict the read and write buffer sizes in PC-NFS?
#I would like to say something analogous to 'mount ... -o wsize=4096 ...' 
#in 'NET USE D: \\SERVER\...'. I need this because of a PCbridge which
#doesn't like those fast spurts of UDP packets that Sun PC-NFS generates 
#when I use the default 8K block size.

The following patch applies to PC-NFS 3.0.1. Usual caveats: back up
your PCNFS.SYS file first, etc.

Wsize patch for 3.0.1:

DEBUG PCNFS.SYS

u 3c45. You should se code beginning
	JZ   3C4A
	MOV  AX,0200
	...

a 3c45 and enter the following instructions

	NOP
	NOP
	MOV  AX,NNNN

where NNNN is	0200 for  512 bytes,
		0400 for 1024 bytes,
		0800 for 2048 bytes.  etc.


Note that you're patching over the code that says "if we're running
over SLIP, force the wsize down to 512", so don't use this PCNFS.SYS
in a SLIP config.

Enjoy,

Geoff Arnold, PC-NFS architect, Sun Microsystems. (geoff@East.Sun.COM)
-------------------
Todays .signature has been cancelled due to inclement weather.