home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / protocol / nfs / 3024 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  1.4 KB

  1. Path: sparky!uunet!olivea!sgigate!sgi!rhyolite!vjs
  2. From: vjs@rhyolite.wpd.sgi.com (Vernon Schryver)
  3. Newsgroups: comp.protocols.nfs
  4. Subject: Re: NFS packet size
  5. Message-ID: <u97b4fc@rhyolite.wpd.sgi.com>
  6. Date: 31 Dec 92 04:17:11 GMT
  7. References: <1hprl7INNmbj@rs1.rrz.Uni-Koeln.DE> <C01s5x.5Bn@news.iastate.edu> <1992Dec30.231852.22129@phx.mcd.mot.com>
  8. Organization: Silicon Graphics, Inc.  Mountain View, CA
  9. Lines: 24
  10.  
  11. In article <1992Dec30.231852.22129@phx.mcd.mot.com>, mat@phx.mcd.mot.com (Mat Cucuzella) writes:
  12. > In article <C01s5x.5Bn@news.iastate.edu> john@iastate.edu (John Hascall) writes:
  13. > >schittel@geo.Uni-Koeln.DE (Christoph Schittel) writes:
  14. > >}What is the maximum value for the "rsize" and "wsize" options
  15. > >}to make an NFS datagram fit completely into one ethernet packet
  16. > >}(max. 1500 byte)?
  17. > >
  18. > >   1024
  19. > An Ethernet frame size is 1514. Subtracting Ethernet header (6+6+2), IP
  20. > header (20) and UDP header (20), that leaves 1460. I'm not sure if RPC
  21. > headers have to be included in this, but I believe 1460 or slightly
  22. > less will still keep everything in one Enet packet.
  23.  
  24.  
  25. After the UDP header and before the data, an NFS READ REPLY message
  26. tends to have about 108 bytes of RPC and NFS header.
  27.  
  28. Powers of 2 tend to be nice choices for rsize and wsize because powers
  29. of 2 tend to be nice multiples or divisors of the "natural" buffer
  30. sizes disk cache in the client as well as the server.
  31.  
  32.  
  33. Vernon Schryver,  vjs@sgi.com
  34.