#1 Le 26/09/2011, à 09:55
- benwa666
[RESOLU] CPU à 100% - ksoftirqd le fautif ?
Hello,
bon j'ai un problème de CPU à 100% après une install toute fraiche. Si je fais un top je vois que ksoftirqd/0 me bouffe tout.
top - 09:47:40 up 24 min, 0 users, load average: 1.21, 1.46, 1.13
Tasks: 159 total, 3 running, 155 sleeping, 0 stopped, 1 zombie
Cpu(s): 1.5%us, 3.0%sy, 0.0%ni, 47.0%id, 0.3%wa, 0.0%hi, 48.2%si, 0.0%st
Mem: 2061988k total, 1153372k used, 908616k free, 102308k buffers
Swap: 5126988k total, 0k used, 5126988k free, 561688k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3 root 20 0 0 0 0 R 100 0.0 23:39.83 ksoftirqd/0
1186 root 20 0 179m 86m 11m S 2 4.3 1:07.86 Xorg
Après quelques recherches je me dit que ça doit être un module qui fait des interrupts à tout bout de champ. (http://forum.ubuntu-fr.org/viewtopic.php?id=315505&p=1)
Alors je cherche avec powertop :
Summary: 0,0 wakeups/second, 0,0 GPU ops/second and 0,0 VFS ops/sec
Usage Events/s Category Description
986,9 ms/s 0,0 Process [ksoftirqd/0]
64,5 ms/s 0,0 Process /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch -background none
22,8 ms/s 0,0 Process /usr/bin/python /usr/bin/terminator
22,7 ms/s 0,0 Process cairo-dock -o
14,8 ms/s 0,0 Process powertop
11,2 ms/s 0,0 Process /usr/lib/firefox-7.0/plugin-container /usr/lib/flashplugin-installer/libflashplayer.so -greomni /usr/lib/firefox-7.0/omni.jar 2
7,9 ms/s 0,0 Process metacity
4,4 ms/s 0,0 Process gnome-panel
3,8 ms/s 0,0 Process /usr/lib/firefox-7.0/firefox
Usage Device name
103,1% CPU use
100,0% PCI Device: ATI Technologies Inc SB600 USB (OHCI1)
100,0% Radio device: rt2500pci
100,0% PCI Device: ATI Technologies Inc RS480 PCI-X Root Port
100,0% PCI Device: ATI Technologies Inc SB600 Non-Raid-5 SATA
100,0% PCI Device: ATI Technologies Inc SB600 USB (OHCI0)
100,0% PCI Device: ATI Technologies Inc SB600 USB (OHCI2)
100,0% PCI Device: ATI Technologies Inc SB600 USB (OHCI3)
100,0% PCI Device: ATI Technologies Inc SB600 USB (OHCI4)
100,0% PCI Device: ATI Technologies Inc SB600 USB Controller (EHCI)
100,0% PCI Device: ATI Technologies Inc SBx00 SMBus Controller
100,0% PCI Device: ATI Technologies Inc SB600 IDE
100,0% PCI Device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
100,0% PCI Device: nVidia Corporation G73 [GeForce 7600 GT]
100,0% PCI Device: C-Media Electronics Inc CM8738
100,0% PCI Device: Ralink corp. RT2500 802.11g
100,0% PCI Device: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
61,6 pkts/s Network interface: eth0 (8139too)
0,0 pkts/s Network interface: wlan0 (rt2500pci)
0,0% USB device: OHCI Host Controller
0,0% USB device: OHCI Host Controller
0,0% USB device: OHCI Host Controller
0,0% USB device: OHCI Host Controller
0,0% USB device: OHCI Host Controller
0,0% USB device: EHCI Host Controller
et /proc/interrupts :
CPU0 CPU1
0: 48 0 IO-APIC-edge timer
1: 6225 0 IO-APIC-edge i8042
8: 1 0 IO-APIC-edge rtc0
9: 1 0 IO-APIC-fasteoi acpi
12: 55032 1174 IO-APIC-edge i8042
14: 4873 0 IO-APIC-edge pata_atiixp
15: 0 0 IO-APIC-edge pata_atiixp
16: 515 0 IO-APIC-fasteoi ohci_hcd:usb2, hda_intel
17: 2 0 IO-APIC-fasteoi ohci_hcd:usb3, ohci_hcd:usb5
18: 120610 11260 IO-APIC-fasteoi ohci_hcd:usb4, ohci_hcd:usb6, nvidia
19: 0 0 IO-APIC-fasteoi ehci_hcd:usb1
20: 40054 0 IO-APIC-fasteoi eth0
21: 161 0 IO-APIC-fasteoi CMI8738-MC6
22: 29909 0 IO-APIC-fasteoi ahci, 0000:02:02.0
NMI: 0 0 Non-maskable interrupts
LOC: 424921 434735 Local timer interrupts
SPU: 0 0 Spurious interrupts
PMI: 0 0 Performance monitoring interrupts
IWI: 24 8 IRQ work interrupts
RES: 6240 36167 Rescheduling interrupts
CAL: 2727 14754 Function call interrupts
TLB: 777 300 TLB shootdowns
TRM: 0 39665 Thermal event interrupts
THR: 0 0 Threshold APIC interrupts
MCE: 0 0 Machine check exceptions
MCP: 6 6 Machine check polls
ERR: 0
MIS: 0
mais je ne suis pas assez calé, je ne sais pas vraiment quel module blacklister. J'en ai essayé quelques uns mais c'est pas les bons.
Je n'ose pas virer les modules un à un, ça me fait des freeze kernel
Quelqu'un pourrait m'aider ? Je dois paster le retour de quelques commandes ?
Mon lsmod pour info :
Module Size Used by
msr 12772 0
bnep 17923 2
rfcomm 38408 0
bluetooth 148839 10 bnep,rfcomm
parport_pc 32114 0
binfmt_misc 17292 1
ppdev 12849 0
dm_crypt 22565 1
vesafb 13489 1
snd_hda_intel 24262 2
snd_hda_codec 91754 1 snd_hda_intel
snd_cmipci 35513 2
gameport 15060 1 snd_cmipci
snd_pcm 80468 3 snd_hda_intel,snd_hda_codec,snd_cmipci
nvidia 10390874 40
snd_opl3_lib 18863 1 snd_cmipci
snd_hwdep 13276 2 snd_hda_codec,snd_opl3_lib
snd_mpu401_uart 13865 1 snd_cmipci
snd_seq_midi 13132 0
snd_rawmidi 25241 2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 14475 1 snd_seq_midi
snd_seq 51567 2 snd_seq_midi,snd_seq_midi_event
arc4 12473 2
snd_timer 28932 3 snd_pcm,snd_opl3_lib,snd_seq
rt2500pci 22948 0
rt2x00pci 14202 1 rt2500pci
rt2x00lib 48147 2 rt2500pci,rt2x00pci
snd_seq_device 14172 4 snd_opl3_lib,snd_seq_midi,snd_rawmidi,snd_seq
mac80211 272785 2 rt2x00pci,rt2x00lib
cfg80211 172392 2 rt2x00lib,mac80211
sp5100_tco 13495 0
psmouse 73673 0
serio_raw 12990 0
snd 55902 19 snd_hda_intel,snd_hda_codec,snd_cmipci,snd_pcm,snd_opl3_lib,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
eeprom_93cx6 12653 1 rt2500pci
soundcore 12600 1 snd
snd_page_alloc 14115 2 snd_hda_intel,snd_pcm
i2c_piix4 13093 0
ati_agp 13242 0
lp 17455 0
parport 40930 3 parport_pc,ppdev,lp
ahci 21634 11
8139too 23283 0
8139cp 22636 0
libahci 25727 1 ahci
pata_atiixp 12967 0
zram 18007 1
Dernière modification par benwa666 (Le 13/10/2011, à 18:41)
** J’adorerais changer le monde, mais ils ne veulent pas me fournir le code source.
Hors ligne
#2 Le 13/10/2011, à 18:14
- benwa666
Re : [RESOLU] CPU à 100% - ksoftirqd le fautif ?
Up
** J’adorerais changer le monde, mais ils ne veulent pas me fournir le code source.
Hors ligne
#3 Le 13/10/2011, à 18:41
- benwa666
Re : [RESOLU] CPU à 100% - ksoftirqd le fautif ?
Ah bin j'ai trouvé finalement, en regardant sur internet à quoi correspondait chaque module. J'ai pu en blacklister pas mal :
blacklist hda_intel
blacklist snd_hda_intel
blacklist snd_hda_codec
blacklist snd_hda_codec_realtek
blacklist rt2500pci
blacklist rt2x00pci
blacklist rt2x00lib
** J’adorerais changer le monde, mais ils ne veulent pas me fournir le code source.
Hors ligne