home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.protocols.tcp-ip
- Path: sparky!uunet!ukma!darwin.sura.net!lhc!whistler!berman
- From: berman@nlm.nih.gov (Lew Berman)
- Subject: tcp client/server performance
- Message-ID: <1992Nov17.143012.2855@nlm.nih.gov>
- Sender: news@nlm.nih.gov
- Reply-To: berman@nlm.nih.gov
- Organization: National Library of Medicine
- Date: Tue, 17 Nov 92 14:30:12 GMT
- Lines: 30
-
- I am building a client/server to transfer 5Mbyte
- images over the internet. The system is up and running,
- but I would like to know what I can do to improve the
- performance of the system. Besides data compression,
- different protocols (VMTP, etc.), what can I do with the
- standard sockets, etc?
-
- I've changed the SO_RCVBUF and SO_SNDBUF size at both the
- client and server sides so that they are now 16384 bytes.
- Should I make them larger? How large can they be (I'm
- on SUN workstations)? Currently I just do one massive
- write into the socket, should this be split into smaller
- blocks and then written to the socket? If so, what would
- be a good size block?
-
- Any other suggestions for improving the performance?
-
-
- Please send all e-mail directly to me and I will repost
- to the net.
-
- Thanks,
-
- Lew Berman
- National Library of Medicine
- Bethesda, MD
-
-
-
-
-