View previous topic :: View next topic |
Author |
Message |
nsadhal n00b
Joined: 12 Jul 2002 Posts: 34 Location: Berkeley, CA
|
Posted: Wed Sep 11, 2002 4:16 pm Post subject: CPU usage at 100% when idle |
|
|
The CPU usage by "system" zooms up to 100% if I'm not doing anything, but I can't see the source of it in top or anything. Top will tell me that System usage is 99% or something like that, but the processes running don't add up to 100, they don't even add up to 10.
It seems to me the cpu should be idle when it's idle.
This has only happened since I recompiled my kernel to include preemptible kernel support; would this be the cause? _________________ It makes me so mad I wanna grab my sawed off, and get some bodies hauled. |
|
Back to top |
|
|
Craigo Apprentice
Joined: 09 Aug 2002 Posts: 249 Location: /dev/life
|
Posted: Wed Sep 11, 2002 6:26 pm Post subject: |
|
|
Sounds like you selected the wrong modules in the kernel. Turn off SMP? I can't really help you what you have turn on in the kernel.
-/Craigo/- |
|
Back to top |
|
|
nsadhal n00b
Joined: 12 Jul 2002 Posts: 34 Location: Berkeley, CA
|
Posted: Wed Sep 11, 2002 7:20 pm Post subject: |
|
|
yeah, SMP is enabled, but interestingly it's like that by default.
I think I've always had it enabled even though I only have one CPU.
Anyway, now with linux-2.4-19-gentoo-r7 sources, when i disable SMP, make fails because of some undeclared variable... i think the number of CPUs or something like that, so I can't build the kernel without SMP...
weird.... _________________ It makes me so mad I wanna grab my sawed off, and get some bodies hauled. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Sep 11, 2002 7:24 pm Post subject: |
|
|
When you disable SMP, lots of things change, so it's a good idea to make mrproper (don't forget to stash your .config file somewhere first). And since I'm posting here anyway, you might want to see if the problem persists even using vanilla kernel sources. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
nsadhal n00b
Joined: 12 Jul 2002 Posts: 34 Location: Berkeley, CA
|
Posted: Thu Sep 12, 2002 5:41 pm Post subject: thanks |
|
|
okay, that sorta all worked... i did make mrproper, then compiled the kernel without smp and it's all good now. _________________ It makes me so mad I wanna grab my sawed off, and get some bodies hauled. |
|
Back to top |
|
|
ciclic0 n00b
Joined: 29 Aug 2002 Posts: 44
|
Posted: Fri Sep 13, 2002 3:31 am Post subject: |
|
|
Someone knows why smp can produce this kind of oddity?
Just for curiosity |
|
Back to top |
|
|
kraylus l33t
Joined: 07 Jun 2002 Posts: 648 Location: ft.worth.tx
|
Posted: Fri Sep 13, 2002 12:06 pm Post subject: |
|
|
ive had less luck with the gentoo "modified" kernel than anything. i always stick with the vanilla sources and i rarely have problems on the kernel end of things. _________________ I used gentoo BEFORE it was cool. |
|
Back to top |
|
|
|