home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / protocol / nfs / 2277 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  3.3 KB

  1. Xref: sparky comp.protocols.nfs:2277 comp.protocols.tcp-ip.ibmpc:5143 comp.dcom.lans.ethernet:1867
  2. Newsgroups: comp.protocols.nfs,comp.protocols.tcp-ip.ibmpc,comp.dcom.lans.ethernet
  3. Path: sparky!uunet!sun-barr!ames!Mongo-Jr.Empirical.COM!karl
  4. From: karl@empirical.com (Karl Auerbach)
  5. Subject: Re: Sun <=> PC Transfer Rate (Summary)
  6. Message-ID: <karl.23.716089551@empirical.com>
  7. Sender: usenet@news.arc.nasa.gov
  8. Organization: Empirical Tools and Technologies
  9. References: <1992Sep4.173931.24033@pixel.kodak.com>
  10. Date: Thu, 10 Sep 1992 01:45:51 GMT
  11. Lines: 72
  12.  
  13. >From: tgl@ssd.kodak.com (Tom Lathrop)
  14. >Subject: Sun <=> PC Transfer Rate (Summary)
  15. >Date: 4 Sep 92 17:39:31 GMT
  16. >I was asked to summarize the responses to my query about optimizing
  17. >Sun to PC file transfer.
  18.  
  19. >>I would like to find a fast way to transfer large files from a Sun
  20. >>to a 486 PC.
  21.  
  22. >The consensus seems to be that FTP is faster than NFS for file transfer.
  23. >FTP is included with the Sun PC-NFS package
  24.  
  25. That is almost always the case.  But it will be strongly affected by the
  26. window size parameters at either end.
  27.  
  28. Was UDP checksumming turned on with NFS?
  29.  
  30. Was FTP doing binary or text mode transfer?  The latter requires the CPU at 
  31. either end to examine each and every byte and do some data juggling.  (
  32. Actually the PC end can win at this game because the DOS end-of-line
  33. pair is the same as the internet end-of-line.)
  34.  
  35. And if you use TCP with the new window extension mechanisms you can get
  36. much better throughput.  However, I don't know any PC code that uses those 
  37. yet.
  38.  
  39. There is also a substantial difference depending on the latency and error 
  40. rate of the network.  If you are going through routers and over the internet 
  41. you can see a major difference between NFS and TCP file transfer rates.
  42.  
  43. But the #1 absolute most important factor is the speed of the disk.
  44.  
  45. I routinely get 2megabit FTP transfers from a Sun Sparc 2 to a wimpy
  46. 16mhz 386sx box with an 8 bit WD board and packet driver.... as long as the 
  47. destination is NUL:  (Software is PC/TCP v2.1)
  48.  
  49. I've gotten as high as 5megabits/second using a 50Mhz 486DX box with a 16 
  50. bit WD board using the same software and packet driver.
  51.  
  52. (This was done on an Ethernet with a background load of 300+ packets/second.)
  53.  
  54. But throw a disk in... and things get slower.  Of course this is affected
  55. by how much disk caching is going on at either end.
  56.  
  57.  Two
  58. >SPARCstation 2's are apparently capable of data rates of 800 to 1000
  59. >kilobytes per second memory-to-memory transfer on a dedicated Ethernet.
  60.  
  61. Sun's can do *much* better than that.
  62.  
  63.  
  64. > The CPU is probably not critical,
  65.  
  66. CPU *is* critical.  One of the big bottlenecks is checksum calculation.
  67. (I do hope that whoever measured the Sun NFS speed did it with checksums 
  68. turned on -- Sun workstations run with UDP checksums OFF by default.)
  69.  
  70. Also, some drivers assume 8086 instruction set and don't use the much faster 
  71. block-move to I/O port instructions.
  72.  
  73. In fact some drivers use DMA although a 386 or 486 CPU is often faster.
  74.  
  75. >software side, a couple of people said that if a packet driver is used,
  76. >which one it is makes a big difference.
  77.  
  78. I've sent over 2500 packets per second through packet drivers.  And that 
  79. was on a 12mhz 286.  Of course, that was a special test designed to
  80. load the network.
  81.  
  82. I routinely receive a load of over 500 packets/second with a packet driver.
  83.  
  84.             --karl--
  85.