2.6.12 Performance problems
Quoted 47 lines · --- Jesper Juhl
Quoted 1 line · Danial Thom
I just started fiddling with 2.6.12, and
there
Quoted 1 line
seems to be a big drop-off in performance
from
Quoted 1 line
2.4.x in terms of networking on a
uniprocessor
Quoted 3 lines
system. Just bridging packets through the machine, 2.6.12 starts dropping packets at ~100Kpps, whereas 2.4.x doesn't start
dropping
Quoted 1 line
until over 350Kpps on the same hardware
(2.0Ghz
Quoted 3 lines
Opteron with e1000 driver). This is pitiful prformance for this hardware. I've increased the rx ring in the e1000 driver to
512
Quoted 1 line
with little change (interrupt moderation is
set
Quoted 2 lines
to 8000 Ints/second). Has "tuning" for MP destroyed UP performance altogether, or is
there
Quoted 1 line
some tuning parameter that could make a
4-fold
Quoted 1 line
difference? All debugging is off and there
are
Quoted 1 line
no messages on the console or in the error
logs.
Quoted 2 lines
The kernel is the standard kernel.org dowload config with SMP turned off and the intel
ethernet
Quoted 2 lines
card drivers as modules without any other changes, which is exactly the config for my
2.4
Quoted 2 lines
kernels.
If you have preemtion enabled you could disable
it. Low latency comes
at the cost of decreased throughput - can't
have both. Also try using
a HZ of 100 if you are currently using 1000,
that should also improve
throughput a little at the cost of slightly
higher latencies.
Quoted 4 lines
I doubt that it'll do any huge difference, but
if it does, then that
would probably be valuable info.
Ok, well you'll have to explain this one:
"Low latency comes at the cost of decreased throughput - can't have both"
Seems to be a bit backwards. Threading the kernel adds latency, so its the additional latency in the kernel that causes the drop in throughput. Do you mean that kernel performance has been sacrificed in order to be able to service other threads more quickly, even when there are no other threads to be serviced?
Danial
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs