"why is my Linux so damn slow?"
M. Fioretti
mfioretti at nexaima.net
Sat Feb 12 21:00:03 UTC 2011
On Sat, Feb 12, 2011 21:54:40 PM +0100, Michael Schwendt (mschwendt at gmail.com) wrote:
> On Sat, 12 Feb 2011 13:42:25 -0600, Rick wrote:
>
> > I am curious about the Rescheduling interrupts.
> > I do not have a dual core system so I have no rescheduling interrupts.
> >
> > I do not know how many rescheduling interrupts is too many.
>
> A running Firefox, that displays an ordinary News website with several
> animated GIFs and a couple of Flash ads, here increases the resched.interrupt
> count by ~100 or more per second. After a few hours of uptime, that will
> pile up, of course. Marko has quoted the uptime with his "top" output in
> the blog post. To Marko, you can run
>
> watch -d1 cat /proc/interrupts
>
This is with Firefox running (right after "defragmenting" as suggested
in the other post I just answered):
Every 2.0s: cat /proc/interrupts Sat Feb 12 21:58:15 2011
CPU0 CPU1
0: 136 223 IO-APIC-edge timer
1: 0 2 IO-APIC-edge i8042
4: 0 2 IO-APIC-edge
7: 1 0 IO-APIC-edge parport0
8: 0 1 IO-APIC-edge rtc0
9: 0 0 IO-APIC-fasteoi acpi
12: 0 4 IO-APIC-edge i8042
14: 0 0 IO-APIC-edge pata_amd
15: 0 0 IO-APIC-edge pata_amd
17: 0 2 IO-APIC-fasteoi firewire_ohci
20: 134279 135 IO-APIC-fasteoi ohci_hcd:usb3, nvidia
21: 947 289 IO-APIC-fasteoi ehci_hcd:usb2, hda_intel
22: 0 3 IO-APIC-fasteoi ehci_hcd:usb1
23: 315517 24 IO-APIC-fasteoi ohci_hcd:usb4
43: 549295 5490 PCI-MSI-edge ahci
44: 1032726 23 PCI-MSI-edge eth0
NMI: 0 0 Non-maskable interrupts
LOC: 15078180 16295422 Local timer interrupts
SPU: 0 0 Spurious interrupts
PMI: 0 0 Performance monitoring interrupts
PND: 0 0 Performance pending work
RES: 8094091 8916019 Rescheduling interrupts
CAL: 10623 13590 Function call interrupts
TLB: 51819 58166 TLB shootdowns
TRM: 0 0 Thermal event interrupts
THR: 0 0 Threshold APIC interrupts
MCE: 0 0 Machine check exceptions
MCP: 128 128 Machine check polls
ERR: 1
MIS: 0
This is right after killall firefox:
Every 2.0s: cat /proc/interrupts Sat Feb 12 21:59:37 2011
CPU0 CPU1
0: 136 224 IO-APIC-edge timer
1: 0 2 IO-APIC-edge i8042
4: 0 2 IO-APIC-edge
7: 1 0 IO-APIC-edge parport0
8: 0 1 IO-APIC-edge rtc0
9: 0 0 IO-APIC-fasteoi acpi
12: 0 4 IO-APIC-edge i8042
14: 0 0 IO-APIC-edge pata_amd
15: 0 0 IO-APIC-edge pata_amd
17: 0 2 IO-APIC-fasteoi firewire_ohci
20: 134773 135 IO-APIC-fasteoi ohci_hcd:usb3, nvidia
21: 947 289 IO-APIC-fasteoi ehci_hcd:usb2, hda_intel
22: 0 3 IO-APIC-fasteoi ehci_hcd:usb1
23: 316092 24 IO-APIC-fasteoi ohci_hcd:usb4
43: 550356 5490 PCI-MSI-edge ahci
44: 1034870 23 PCI-MSI-edge eth0
NMI: 0 0 Non-maskable interrupts
LOC: 15094971 16313120 Local timer interrupts
SPU: 0 0 Spurious interrupts
PMI: 0 0 Performance monitoring interrupts
PND: 0 0 Performance pending work
RES: 8101319 8924946 Rescheduling interrupts
CAL: 10662 13610 Function call interrupts
TLB: 51870 58198 TLB shootdowns
TRM: 0 0 Thermal event interrupts
THR: 0 0 Threshold APIC interrupts
MCE: 0 0 Machine check exceptions
MCP: 128 128 Machine check polls
ERR: 1
MIS: 0
More information about the users
mailing list