lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070724185351.GE24543@primate.net>
Date:	Tue, 24 Jul 2007 11:53:51 -0700
From:	Aaron Porter <atporter@...mate.net>
To:	Chris Snook <csnook@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: miserable performance of 2.6.21 under network load

On Tue, Jul 24, 2007 at 02:49:47PM -0400, Chris Snook wrote:
> Is it always CPU 0, or does it move?  Are you running irqbalance?  If 
> you're running irqbalance, you can run a script that alternates between 
> 'cat /proc/interrupts' and 'mpstat -P ALL 5 10' and watch the offending 
> interrupt jump around between processors.  It's not as informative as 
> oprofile, as Andi suggested, but it's really easy to set up.

	Always cpu0

# cat /proc/interrupts 
           CPU0       CPU1       CPU2       CPU3       
  0:        166          0          0          0    XT-PIC-XT        timer
  1:          8          0          0          0    XT-PIC-XT        i8042
  2:          0          0          0          0    XT-PIC-XT        cascade
  3:         11          0          0          0    XT-PIC-XT        serial
  4:        830          0          0          0    XT-PIC-XT        serial
  5:  370787109          0          0          0    XT-PIC-XT        eth0
  6:          3          0          0          0    XT-PIC-XT        floppy
  8:          4          0          0          0    XT-PIC-XT        rtc
  9:          0          0          0          0    XT-PIC-XT        ohci_hcd:usb1, ohci_hcd:usb2
 10:   80937699          0          0          0    XT-PIC-XT        3w-9xxx, 3w-9xxx
 12:          5          0          0          0    XT-PIC-XT        i8042
 14:      50931          0          0          0    XT-PIC-XT        ide0
NMI:    1110304     275156     276732     233082 
LOC:  278410000  278410022  278410013  278410014 
ERR:   55003177
MIS:          0
# mpstat -P ALL 5 1 
Linux 2.6.21.5 (*.com)      07/24/07

11:52:30     CPU   %user   %nice %system %iowait    %irq   %soft   %idle    intr/s
11:52:35     all    0.40    0.00   16.12   13.56    0.25   25.13   44.54    299.80
11:52:35       0    0.00    0.00    0.00    0.00    1.00   99.00    0.00    299.80
11:52:35       1    0.80    0.00   23.65   23.05    0.00    0.40   52.10      0.00
11:52:35       2    0.40    0.00   21.64   14.23    0.00    0.40   63.53      0.00
11:52:35       3    0.60    0.00   19.44   17.03    0.00    0.60   62.73      0.00

Average:     CPU   %user   %nice %system %iowait    %irq   %soft   %idle    intr/s
Average:     all    0.40    0.00   16.12   13.56    0.25   25.13   44.54    299.80
Average:       0    0.00    0.00    0.00    0.00    1.00   99.00    0.00    299.80
Average:       1    0.80    0.00   23.65   23.05    0.00    0.40   52.10      0.00
Average:       2    0.40    0.00   21.64   14.23    0.00    0.40   63.53      0.00
Average:       3    0.60    0.00   19.44   17.03    0.00    0.60   62.73      0.00
# 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ