From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266224AbUBKWur (ORCPT ); Wed, 11 Feb 2004 17:50:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266237AbUBKWuq (ORCPT ); Wed, 11 Feb 2004 17:50:46 -0500 Received: from amsfep14-int.chello.nl ([213.46.243.22]:50786 "EHLO amsfep14-int.chello.nl") by vger.kernel.org with ESMTP id S266224AbUBKWtr (ORCPT ); Wed, 11 Feb 2004 17:49:47 -0500 From: wim delvaux Organization: adaptive planet To: linux-kernel@vger.kernel.org Subject: PROBLEM : Idle system taks 30-40 % system CPU for no apparent reason Date: Wed, 11 Feb 2004 23:49:45 +0100 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_JGrKAC84kSyrQi7" Message-Id: <200402112349.45580.wim.delvaux@adaptiveplanet.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --Boundary-00=_JGrKAC84kSyrQi7 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline [1.] One line summary of the problem: Idle system taks 30-40 % system CPU for no apparent reason [2.] Full description of the problem/report: After a while working (and for the time being for unknown reasons) the system becomes clearly slower. Checking with top shows that the system eats up 30 and more % : top - 23:44:02 up 1 day, 20:34, 2 users, load average: 1.03, 1.25, 1.19 Tasks: 105 total, 1 running, 104 sleeping, 0 stopped, 0 zombie Cpu(s): 48.7% us, 51.3% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si Mem: 516244k total, 509132k used, 7112k free, 12168k buffers Swap: 524280k total, 708k used, 523572k free, 353252k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2849 root 15 0 152m 22m 131m S 11.0 4.4 20:42.81 X 17885 u19809 15 0 24912 13m 23m S 1.0 2.7 0:00.41 kdeinit 18131 root 16 0 2080 1040 1872 R 0.3 0.2 0:00.02 top 1 root 16 0 1520 516 1368 S 0.0 0.1 0:04.53 init 2 root 34 19 0 0 0 S 0.0 0.0 0:00.05 ksoftirqd/0 3 root 5 -10 0 0 0 S 0.0 0.0 0:00.93 events/0 4 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 kblockd/0 5 root 25 0 0 0 0 S 0.0 0.0 0:00.00 pdflush --- SNIP The only way to solve this is to reboot. They the CPU is idle again when no user activity is present [3.] Keywords (i.e., modules, networking, kernel): Kernel, Scheduling, IO ... [4.] Kernel version (from /proc/version): Linux version 2.6.2-rc1 (root@buro) (gcc version 3.3.3 20040125 (prerelease) (Debian)) #8 Sun Feb 8 15:51:19 CET 2004 [5.] Output of Oops.. message (if applicable) with symbolic information resolved (see Documentation/oops-tracing.txt) NO OOPS [6.] A small shell script or example program which triggers the problem (if possible) NO example [7.] Environment [7.1.] Software (add the output of the ver_linux script here) Gnu C 3.3.3 Gnu make 3.80 util-linux 2.12 mount 2.12 module-init-tools 3.0-pre9 e2fsprogs 1.35-WIP pcmcia-cs 3.2.5 PPP 2.4.2 nfs-utils 1.0.6 Linux C Library 2.3.2 Dynamic linker (ldd) 2.3.2 Procps 3.1.15 Net-tools 1.60 Console-tools 0.2.3 Sh-utils 5.0.91 Modules Loaded nfs sg tda9887 tuner saa7134 video_buf v4l2_common v4l1_compat i2c_core ir_common videodev iptable_filter smbfs bnep rfcomm l2cap ipv6 nfsd exportfs lockd sunrpc isofs zlib_inflate nls_cp437 vfat fat nls_iso8859_1 ntfs sd_mod hci_usb bluetooth usbnet usb_storage snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore rtc ipt_MASQUERADE ip_nat_irc ip_conntrack_irc ip_nat_ftp ip_conntrack_ftp iptable_nat ip_conntrack ip_tables uhci_hcd sr_mod ohci_hcd ehci_hcd usbcore ide_scsi scsi_mod sis900 crc32 parport_pc lp parport ide_floppy dm_mod evdev psmouse [7.2.] Processor information (from /proc/cpuinfo): processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 2.60GHz stepping : 7 cpu MHz : 2607.150 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid bogomips : 5144.57 [7.3.] Module information (from /proc/modules):nfs 97968 0 - Live 0xe0b9d000 sg 33176 0 - Live 0xe0b76000 tda9887 7300 0 - Live 0xe0ad2000 tuner 17932 0 - Live 0xe0aba000 saa7134 92360 0 - Live 0xe0b1c000 video_buf 20996 1 saa7134, Live 0xe0b15000 v4l2_common 6400 1 saa7134, Live 0xe0a84000 v4l1_compat 14468 1 saa7134, Live 0xe0ac0000 i2c_core 23300 3 tda9887,tuner,saa7134, Live 0xe0aef000 ir_common 4740 1 saa7134, Live 0xe0a77000 videodev 9856 1 saa7134, Live 0xe0a73000 iptable_filter 2944 1 - Live 0xe08a1000 smbfs 66936 2 - Live 0xe0b03000 bnep 14592 2 - Live 0xe0a0a000 rfcomm 38684 0 - Live 0xe0ac7000 l2cap 25220 9 bnep,rfcomm, Live 0xe0a7c000 ipv6 250304 13 - Live 0xe0b37000 nfsd 95432 2 - Live 0xe0ad6000 exportfs 6656 1 nfsd, Live 0xe09e2000 lockd 61384 3 nfs,nfsd, Live 0xe0a87000 sunrpc 130248 3 nfs,nfsd,lockd, Live 0xe0a99000 isofs 34616 1 - Live 0xe0a69000 zlib_inflate 22144 1 isofs, Live 0xe0a62000 nls_cp437 5888 2 - Live 0xe09df000 vfat 15616 1 - Live 0xe0a05000 fat 45504 1 vfat, Live 0xe0a55000 nls_iso8859_1 4224 3 - Live 0xe09dc000 ntfs 89548 1 - Live 0xe0a0f000 sd_mod 13984 2 - Live 0xe0954000 hci_usb 13440 2 - Live 0xe0991000 bluetooth 49636 8 bnep,rfcomm,l2cap,hci_usb, Live 0xe09e6000 usbnet 17928 0 - Live 0xe0998000 usb_storage 41472 1 - Live 0xe09a0000 snd_intel8x0 31620 2 - Live 0xe0980000 snd_ac97_codec 53380 1 snd_intel8x0, Live 0xe09c7000 snd_pcm 96420 1 snd_intel8x0, Live 0xe09ae000 snd_timer 25092 1 snd_pcm, Live 0xe0989000 snd_page_alloc 11780 2 snd_intel8x0,snd_pcm, Live 0xe0964000 snd_mpu401_uart 7808 1 snd_intel8x0, Live 0xe0961000 snd_rawmidi 22784 1 snd_mpu401_uart, Live 0xe0979000 snd_seq_device 8200 1 snd_rawmidi, Live 0xe095d000 snd 45880 11 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device, Live 0xe096c000 soundcore 9952 2 saa7134,snd, Live 0xe0959000 rtc 12856 0 - Live 0xe0911000 ipt_MASQUERADE 4096 2 - Live 0xe08ae000 ip_nat_irc 4464 0 - Live 0xe090e000 ip_conntrack_irc 71476 1 ip_nat_irc, Live 0xe0941000 ip_nat_ftp 5104 0 - Live 0xe08e3000 ip_conntrack_ftp 72244 1 ip_nat_ftp, Live 0xe092e000 iptable_nat 22316 4 ipt_MASQUERADE,ip_nat_irc,ip_nat_ftp, Live 0xe0916000 ip_conntrack 31920 6 ipt_MASQUERADE,ip_nat_irc,ip_conntrack_irc,ip_nat_ftp,ip_conntrack_ftp,iptable_nat, Live 0xe0905000 ip_tables 17792 3 iptable_filter,ipt_MASQUERADE,iptable_nat, Live 0xe08c4000 uhci_hcd 32524 0 - Live 0xe08da000 sr_mod 15780 0 - Live 0xe08ca000 ohci_hcd 30336 0 - Live 0xe08a3000 ehci_hcd 37508 0 - Live 0xe0883000 usbcore 116956 8 hci_usb,usbnet,usb_storage,uhci_hcd,ohci_hcd,ehci_hcd, Live 0xe08e7000 ide_scsi 15108 0 - Live 0xe0807000 scsi_mod 75564 5 sg,sd_mod,usb_storage,sr_mod,ide_scsi, Live 0xe08b0000 sis900 19972 0 - Live 0xe0874000 crc32 4608 2 usbnet,sis900, Live 0xe0871000 parport_pc 29096 1 - Live 0xe088e000 lp 10180 0 - Live 0xe0820000 parport 28384 2 parport_pc,lp, Live 0xe087b000 ide_floppy 18432 0 - Live 0xe0818000 dm_mod 39072 3 - Live 0xe0825000 evdev 9728 0 - Live 0xe0814000 psmouse 19336 0 - Live 0xe080e000 [7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem) 0000-001f : dma1 0020-0021 : pic1 0040-005f : timer 0060-006f : keyboard 0070-0077 : rtc 0080-008f : dma page reg 00a0-00a1 : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 0376-0376 : ide1 0378-037a : parport0 03c0-03df : vga+ 03f0-03f1 : pnp 00:0c 03f6-03f6 : ide0 0cf8-0cff : PCI conf1 1000-107f : pnp 00:0b 1080-109f : 0000:00:02.1 10c0-10df : pnp 00:0b 4000-400f : 0000:00:02.5 4000-4007 : ide0 4008-400f : ide1 9000-9fff : PCI Bus #01 9000-90ff : 0000:01:00.0 b400-b4ff : 0000:00:02.7 b400-b4ff : SiS SI7012 - AC'97 b800-b87f : 0000:00:02.7 b800-b83f : SiS SI7012 - Controller bc00-bcff : 0000:00:04.0 bc00-bcff : sis900 c000-c0ff : 0000:00:06.0 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000d4000-000d47ff : Extension ROM 000f0000-000fffff : System ROM 00100000-1ffeffff : System RAM 00100000-002808e0 : Kernel code 002808e1-0032957f : Kernel data 1fff0000-1fff2fff : ACPI Non-volatile Storage 1fff3000-1fffffff : ACPI Tables d0000000-d7ffffff : 0000:00:00.0 d8000000-e7ffffff : PCI Bus #01 d8000000-dfffffff : 0000:01:00.0 e0000000-e7ffffff : 0000:01:00.1 e8000000-e83fffff : 0000:00:0a.0 e8400000-e84fffff : PCI Bus #01 e8420000-e842ffff : 0000:01:00.0 e8430000-e843ffff : 0000:01:00.1 e8520000-e8520fff : 0000:00:03.0 e8520000-e8520fff : ohci_hcd e8521000-e8521fff : 0000:00:03.1 e8521000-e8521fff : ohci_hcd e8522000-e8522fff : 0000:00:03.2 e8522000-e8522fff : ohci_hcd e8523000-e8523fff : 0000:00:03.3 e8523000-e8523fff : ehci_hcd e8524000-e8524fff : 0000:00:04.0 e8524000-e8524fff : sis900 e8525000-e8525fff : 0000:00:06.0 e8526000-e85263ff : 0000:00:08.0 e8526000-e85263ff : saa7134[0] e8527000-e8527fff : 0000:00:02.3 fec00000-ffffffff : reserved [7.5.] PCI information ('lspci -vvv' as root)00:00.0 Host bridge: Silicon Integrated Systems [SiS] SiS 645xx (rev 03) Subsystem: Silicon Integrated Systems [SiS] SiS 645xx Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- 00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202 (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Reset- FastB2B- 00:02.0 ISA bridge: Silicon Integrated Systems [SiS]: Unknown device 0963 (rev 14) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- [disabled] [size=128K] Capabilities: [64] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=55mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (prog-if 80 [Master]) Subsystem: Micro-Star International Co., Ltd.: Unknown device 7010 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- [disabled] [size=128K] Capabilities: [40] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:06.0 SCSI storage controller: Adaptec AHA-2940U2/U2W Subsystem: Adaptec AHA-2940U2W SCSI Controller Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- [disabled] [size=128K] Capabilities: [dc] Power Management version 1 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:08.0 Multimedia controller: Philips Semiconductors SAA7134 (rev 01) Subsystem: Creatix Polymedia GmbH: Unknown device 0003 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- [disabled] [size=128K] Capabilities: [58] AGP version 3.0 Status: RQ=256 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3+ Rate=x4,x8 Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP- GART64- 64bit- FW- Rate= Capabilities: [50] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 01:00.1 Display controller: ATI Technologies Inc Radeon R300 [Radeon 9700] (Secondary) Subsystem: Hightech Information System Ltd.: Unknown device 8487 Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR-