netdev
[Top] [All Lists]

Handling a few hundred thousand TCP flows

To: netdev@xxxxxxxxxxx
Subject: Handling a few hundred thousand TCP flows
From: gozdal@xxxxxxxxxxxxx (Marcin Gozdalik)
Date: Sun, 1 Feb 2004 22:58:36 +0100
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.5.1+cvs20040112i
Hello

I've been successfully using Linux 2.4 for handling many thousands TCP
flows (300k non-stop). I've been wondering which options I should use to
minimize CPU and memory consumption.
I've followed the thread from December about handling 90k TCP streams
and suggestions contained there. I thought however of some more radical
solutions: disabling rt_cache altogether. The routing table contains
whole 2 entries (for eth0 subnet and default gateway) so I'd assume that
walking linearily such short list would be a win cache-wise compared to
huge rt_cache? Or is it a completely stupid idea not worth implementing?
Additionally, I've disabled ECN and SACKs. Does it make any sense? Or
are performance/memory gains negligible?

Cheers,
Marcin

<Prev in Thread] Current Thread [Next in Thread>