home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / protocol / tcpip / 5194 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.2 KB  |  42 lines

  1. Newsgroups: comp.protocols.tcp-ip
  2. Path: sparky!uunet!ukma!darwin.sura.net!lhc!whistler!berman
  3. From: berman@nlm.nih.gov (Lew Berman)
  4. Subject: tcp client/server performance
  5. Message-ID: <1992Nov17.143012.2855@nlm.nih.gov>
  6. Sender: news@nlm.nih.gov
  7. Reply-To: berman@nlm.nih.gov
  8. Organization: National Library of Medicine
  9. Date: Tue, 17 Nov 92 14:30:12 GMT
  10. Lines: 30
  11.  
  12. I am building a client/server to transfer 5Mbyte 
  13. images over the internet.  The system is up and running, 
  14. but I would like to know what I can do to improve the
  15. performance of the system.  Besides data compression, 
  16. different protocols (VMTP, etc.), what can I do with the
  17. standard sockets, etc?
  18.  
  19. I've changed the SO_RCVBUF and SO_SNDBUF size at both the
  20. client and server sides so that they are now 16384 bytes.
  21. Should I make them larger?  How large can they be (I'm 
  22. on SUN workstations)?  Currently I just do one massive
  23. write into the socket, should this be split into smaller
  24. blocks and then written to the socket?  If so, what would
  25. be a good size block?  
  26.  
  27. Any other suggestions for improving the performance?
  28.  
  29.  
  30. Please send all e-mail directly to me and I will repost
  31. to the net.
  32.  
  33. Thanks,
  34.  
  35. Lew Berman
  36. National Library of Medicine
  37. Bethesda, MD
  38.  
  39.  
  40.  
  41.  
  42.