[comp.protocols.nfs] NFS biod question

ced@bcstec.uucp (Charles Derykus) (12/05/90)

I have a question regarding biods and their use in NFS.

How does a biod function when transmitting data from a client to an NFS
server?  The particular brand of NFS running on the server only allows a
cumulative total of 8K block i/o size per mount.
What specifically is the 8K limit?



Charles DeRykus				Internet:   ced@bcstec.boeing.com
Boeing Computer Services		UUCP:	    ...!uunet!bcstec!ced
Renton, WA.  M/S 6R-37			(206) 234-9223

thurlow@convex.com (Robert Thurlow) (12/06/90)

In <565@bcstec.boeing.com> ced@bcstec.uucp (Charles Derykus) writes:

>I have a question regarding biods and their use in NFS.

>How does a biod function when transmitting data from a client to an NFS
>server?

The biod enhances performance by supporting read-ahead and write-behind.
When you post write requests, the biod waits for the confirmation from
the server on your behalf, and it tries to get a few server blocks into
the buffer cache before they are needed.  The system should perform
exactly the same without the biods running, except that your processes
will be slower at doing I/O over NFS.

>The particular brand of NFS running on the server only allows a
>cumulative total of 8K block i/o size per mount.
>What specifically is the 8K limit?

"cumulative total of 8K block i/o size per mount" doesn't parse for me.
There is an 8K limit on the rsize/wsize transfer sizes (see mount(2))
which is caused by an underlying limit on the UDP packet size of the
UDP/IP implementation in Sun and Sun-based architectures.

I hope this helps,
Rob T
--
Rob Thurlow, thurlow@convex.com or thurlow%convex.com@uxc.cso.uiuc.edu
----------------------------------------------------------------------
"This opinion was the only one available; I got here kind of late."

liam@cs.qmw.ac.uk (William Roberts;) (12/11/90)

In <thurlow.660434704@convex.convex.com> thurlow@convex.com (Robert Thurlow) 
writes:

>The biod enhances performance by supporting read-ahead and write-behind.
>When you post write requests, the biod waits for the confirmation from
>the server on your behalf, and it tries to get a few server blocks into
>the buffer cache before they are needed.  The system should perform
>exactly the same without the biods running, except that your processes
>will be slower at doing I/O over NFS.

I always tell people this as well, but lately I find myself wondering exactly 
what happens if you don't have biods. Does all NFS writing become synchronous, 
or do random processes get saddled with waiting for NFS replies? I seem to 
recall that NFS readahead was disabled if there are no biods; is this true?
--

William Roberts                 ARPA: liam@cs.qmw.ac.uk
Queen Mary & Westfield College  UUCP: liam@qmw-cs.UUCP
Mile End Road                   AppleLink: UK0087
LONDON, E1 4NS, UK              Tel:  071-975 5250 (Fax: 081-980 6533)