From: David Soleau Lum <davknav@mit.edu>
Subject: Question: socket communication: Linux to OSF/1 or Ultrix
Date: 1996/03/29 [thread overview]
Message-ID: <315C65A3.1679B542@mit.edu> (raw)
Hi.
My goal is to send data (via a TCP stream socket) from a Pentium Linux
machine to a DEC Alpha running Digital Unix ("formerly OSF/1", as they
say).
I'm sending a small amount of data (about 50 bytes) every 10
milliseconds. It is crucial that the process on the alpha read()s the
data as soon as it is written by the Linux box.
The problem I am having is that the write()s to the Linux socket go out
every 10 msec (as verified by gettimeofday), but the read()s on the
alpha return with inter-arrival times like this (in msec):
0, 200, 0, 0, 0, 200, 0, 0, 0, 0, 200, 0, ...
I *have* set the TCP_NODELAY socket option on the sender's side of the
connection, and I used a packet sniffer to verify that the data are
written across the network one at a time. The Linux box is definitely
not coalescing packets into larger chunks.
When I attempt the same procedure from one Linux machine to another,
there is no problem (interarrival times are 0, 10, 9, 11, 10, 10, ...).
Things are also OK when the *sender* is the alpha and the *receiver* is
Linux. I tried sending to the alpha from an Ultrix machine, and things
were also fine. Ditto sending from the alpha to the Ultrix machine.
Sending from Linux to Ultrix is problematic in the same way I described
above.
The bottom line is that I am dying to fix this problem, because I *must*
send data from a Linux machine to the alpha. Has anyone heard of
situations like this? Personal email is welcomed, although I will be
monitoring this news group.
--
========================================================================
David Lum || davknav@mit.edu
34 Harris Street Apt. #5 || 617-253-2538 (work)
Brookline, MA 02146 || 617-566-1923 (home)
========================================================================
next reply other threads:[~1996-03-29 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-03-29 5:00 David Soleau Lum [this message]
1996-04-01 5:00 ` Question: socket communication: Linux to OSF/1 or Ultrix Curt Smith
1996-04-05 5:00 ` Ravi Cheema
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox