All of lore.kernel.org
 help / color / mirror / Atom feed
* Loopback and Nagle's algorithm
@ 2011-04-12  2:37 Adam McLaurin
  2011-04-12  9:42 ` Alejandro Riveira Fernández
  2011-04-12  9:45 ` Will Newton
  0 siblings, 2 replies; 6+ messages in thread
From: Adam McLaurin @ 2011-04-12  2:37 UTC (permalink / raw)
  To: linux-kernel

I understand that disabling Nagle's algorithm via TCP_NODELAY will
generally degrade throughput. However, in my scenario (150 byte
messages, sending as fast as possible), the actual throughput penalty
over the network is marginal (maybe 10% at most).

However, when I disable Nagle's algorithm when connecting over loopback,
the performance hit is *huge* - 10x reduction in throughput.

The question is, why is disabling Nagle's algorithm on loopback so much
worse w.r.t. throughput? Is there anything I can do to reduce the
incurred throughput penalty?

Thanks,
Adam

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

end of thread, other threads:[~2011-04-12 13:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-12  2:37 Loopback and Nagle's algorithm Adam McLaurin
2011-04-12  9:42 ` Alejandro Riveira Fernández
2011-04-12  9:45 ` Will Newton
2011-04-12 11:04   ` Adam McLaurin
2011-04-12 11:54     ` Jiri Kosina
2011-04-12 13:08       ` Eric Dumazet

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.