Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uwm.edu!linac!att!ucbvax!NAZGUL.PHYSICS.MCGILL.CA!loki From: loki@NAZGUL.PHYSICS.MCGILL.CA (Loki Jorgenson Rm421) Newsgroups: comp.sys.sgi Subject: network data transfers scrambled Message-ID: <9103270537.AA13636@nazgul.physics.mcgill.ca> Date: 27 Mar 91 05:37:31 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 41 Hey ho.... I am trying to figure out why network machine-to-machine data transfer is scrambling and I can't make much sense of it. Here are the details: I am transferring about 250 kbytes at a time between two processes which are connected via tcp (AF_INET) sockets. When the two processes are running on a 4D/25G, there is no trouble with the transfer. When they are running on our other IRIS, a 4D/20, there is no trouble. Of course, both of these cases are trivial. In the important case, one process on each of the two machines, the transfer works going from the 4D/25G to the 4D/20 but.... it seems to be scrambling going the other way. I can't deduce anything from this since there doesn't seem to be anything to conclude. It doesn't seem to relate to load average or any other obvious machine-dependent aspect. Is there something so different about the 4D/20 hardware that something is not working correctly? One thing I have considered but can't resolve is: Is it important to write/read to/from socket with an eye to a minimum/maximum buffer size? I am currently reading/writing in 8192 byte chunks. I have tried varying this without noticing any difference. I have heard that it is imperative that one write/read in 1024byte chunks on a SUN but that this wasn't important for a 4D IRIS. The only other clue I have is that the 8192 byte chunks "seem" to be out-of-order.... as if the tranferred packets arrived out of sequence. I haven't yet verified this rigourously. I thought that TCP handled the transfers so that this was impossible. Does anyone have any suggestions? What to look for? __ __ Loki Jorgenson / / \ \ node: loki@Physics.McGill.CA Grad, Systems Manager / ////// \\\\\\ \ BITNET: PY29@MCGILLA Physics, McGill University \ \\\\\\ ////// / fax: (514) 398-8434 Montreal Quebec CANADA \_\ /_/ phone: (514) 398-7027