netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* TCP cache performance
@ 2008-01-08  1:22 Tom Quetchenbach
  2008-01-08  1:57 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Quetchenbach @ 2008-01-08  1:22 UTC (permalink / raw)
  To: netdev; +Cc: Lachlan Andrew

I've been continuing off and on to investigate TCP performance issues.
As has been noted before on this list, loss and subsequent processing
can lead to spikes in the measured RTT which confuse delay-based
congestion control algorithms.

I've done some experiments that indicate that cache size is a
significant limiting factor here. My desktop machine with a 2.4 GHz Core
Duo and 4 MB cache quite noticeably outperforms our experiment servers,
which have two dual-core Xeons at 2.66 GHz but only 512 KB cache. At 400
Mbps with 40ms round-trip delay and 1024-packet buffer the desktop
behaves fairly normally, although there is still a large RTT spike at
the start of the flow due to slow-start. The servers show large RTT
spikes at each loss event, as well as some timeouts.

This suggests that efforts to improve TCP performance should focus on
cache usage rather than just processing time.

Plots of cwnd, RTT, and CPU load are available here:

512K cache:
http://wil-ns.cs.caltech.edu/benchmark.tmp/265/2flow--ALG=illinois-BUF=1024-BUF_tgt=1333,1.0-BW=400M-GAP=150-LEN=600-RTT=40--1/

4M cache:
http://wil-ns.cs.caltech.edu/benchmark.tmp/266/2flow--ALG=illinois-BUF=1024-BUF_tgt=1333,1.0-BW=400M-GAP=150-LEN=600-RTT=40--1/

Tests were done with net-2.6 (2.6.23.1 gives similar results though)
using tcp_probe to capture data.

-Tom


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

* Re: TCP cache performance
  2008-01-08  1:22 TCP cache performance Tom Quetchenbach
@ 2008-01-08  1:57 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-01-08  1:57 UTC (permalink / raw)
  To: virtualphtn; +Cc: netdev, lachlan.andrew

From: Tom Quetchenbach <virtualphtn@gmail.com>
Date: Mon, 07 Jan 2008 17:22:51 -0800

> This suggests that efforts to improve TCP performance should focus
> on cache usage rather than just processing time.

Thanks for reporting your data, but we very well know what the exact
problem is.

When we recover from loss, we touch thousands of packets freeing up
basically an entire window's worth.

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

end of thread, other threads:[~2008-01-08  1:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-08  1:22 TCP cache performance Tom Quetchenbach
2008-01-08  1:57 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).