All of lore.kernel.org
 help / color / mirror / Atom feed
* Strange slow transfer behavior on local host connection
@ 2015-03-16 16:37 Jerry Jerry
  2015-03-16 22:24 ` Vlad Yasevich
  2015-03-16 23:35 ` Jerry Jerry
  0 siblings, 2 replies; 3+ messages in thread
From: Jerry Jerry @ 2015-03-16 16:37 UTC (permalink / raw)
  To: linux-sctp

Hello everyone,

We have found a very strange behavior where the transfer is
particularly slower when sending data to a socket connecting ports on
the same host, but rather faster to the socket connecting ports on
different host.  /proc/net/sctp/assoc shows that TX_QUEUE of same host
socket buffers a lot of data but RX_QUEUE of the socket on the
receiving side is almost empty. On the contrary, both TX_QUEUE and
RX_QUEUE are almost empty for those sockets connecting different
hosts.

We first thought this might because the processing difference between
local and remote hosts, but the problem remains the same even for a
symmetric case where both hosts send same messages to both its own
local and remote receiver, and receive messages via different local
and remote connections. In our opinion, the data transfer should be
faster or at least the same when sending to a socket connecting local
ports.

This problem particularly occurs when the message size is small, but
playing with SCTP NODELAY option doesn't help.

I'm not sure if I may have missed anything, but any comments to shed
lights on this, or suggestions to tune would be appreciated very much!

Regards,
Jerry

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-16 23:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-16 16:37 Strange slow transfer behavior on local host connection Jerry Jerry
2015-03-16 22:24 ` Vlad Yasevich
2015-03-16 23:35 ` Jerry Jerry

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.