home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / aix / 8314 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  984 b 

  1. Path: sparky!uunet!gatech!concert!duke!trt
  2. From: trt@duke.cs.duke.edu (Tom Truscott)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: Satellites vs. FTP
  5. Message-ID: <712451601@romeo.cs.duke.edu>
  6. Date: 29 Jul 92 23:13:22 GMT
  7. References: <1992Jul28.013938.28384@Arco.COM>
  8. Organization: IBM RTP
  9. Lines: 19
  10.  
  11. Try increasing the TCP "window sizes", which limits how many
  12. bytes can be in flight (sent but unacknowledged):
  13.  
  14.     no -o tcp_sendspace=16384
  15.     no -o tcp_recvspace=16384
  16.  
  17. Those are the defaults in AIX 3.2.  "30000" might be yet faster.
  18. I wouldn't try anything above 65000.
  19.  
  20. BOTH ends of the connection must have the increased window sizes,
  21. and making them all the same size is probably a good idea.
  22. On non-AIX systems one typically patches those variables
  23. in the kernel source, or binary (e.g. "adb /vmunix"),
  24. or running kernel (e.g. "adb /vmunix /dev/kmem").
  25.  
  26. You can also set the sizes per-socket with setsockopt(), but of course
  27. that won't affect existing binaries such as ftp.
  28.  
  29. Tom Truscott
  30.