netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* r8169 (+others ?) and note_interrupt performance hit on 2.6.30.x
@ 2009-07-26  0:31 Michal Soltys
  2009-07-26  9:18 ` Francois Romieu
  0 siblings, 1 reply; 6+ messages in thread
From: Michal Soltys @ 2009-07-26  0:31 UTC (permalink / raw)
  To: netdev

I've noticed, that on 2.6.30 kernels I took serious performance
hit compared to e.g. 2.6.28.10 (didn't check 2.6.29 ones).

Generally, with trivial nc -u other_host </dev/zero
- so ~ 1KB packets and 1gbit speed I went from:

01:30:25 AM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest   %idle
01:30:26 AM  all    0.91    0.00    8.68    0.00    2.28    7.31    0.00    0.00   80.82
01:30:26 AM    0    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
01:30:26 AM    1    1.68    0.00   15.13    0.00    5.04   13.45    0.00    0.00   64.71

running at full 1gbit speed with ease, to:

01:35:26 AM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest   %idle
01:35:27 AM  all    0.50    0.00   12.56    0.00   24.12   12.56    0.00    0.00   50.25
01:35:27 AM    0    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
01:35:27 AM    1    2.00    0.00   25.00    0.00   48.00   25.00    0.00    0.00    0.00

struggling at ~90MB/s (standard pfifo_fast)

Both netcat and interface interrupt were pinned at the same (2nd) core.

I did some quick oprofile, and noticed one new call -
note_interrupt - which wasn't present in the earlier kernel,
taking majority of the cpu time, relatively to the rest, e.g.:

samples  cum. samples  %        cum. %     symbol name
90984    90984         42.8695  42.8695    note_interrupt


The hardware is regular 32bit x86:

GA-MA74GM-S2H
AMD 4850e (2.5ghz)
onboard r8169

Both kernels with identical configuration, and tests done on idle machine.

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

end of thread, other threads:[~2009-08-05 18:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-26  0:31 r8169 (+others ?) and note_interrupt performance hit on 2.6.30.x Michal Soltys
2009-07-26  9:18 ` Francois Romieu
2009-07-26 10:50   ` Michal Soltys
2009-07-26 18:43   ` Michal Soltys
2009-07-27 21:52     ` Jarek Poplawski
2009-08-05 18:54       ` Michal Soltys

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).