public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: kapm-idled shows 90+% cpu usage when idle
@ 2001-08-10  0:36 Mikael Pettersson
  2001-08-10  2:01 ` safemode
  0 siblings, 1 reply; 5+ messages in thread
From: Mikael Pettersson @ 2001-08-10  0:36 UTC (permalink / raw)
  To: linux-kernel, safemode

On Thu, 9 Aug 2001 19:33:42 -0400, safemode <safemode@speakeasy.net> wrote:
>Is this a true usage reading or just some quirk that's supposed to happen?   
>I really doubt that this kernel daemon should really be using  cpu.  It seems 
>to respond with a higher cpu usage when i'm idle.  It immediately goes away 
>when something else uses cpu.   If you need any more info just ask.   I'm 

Do you have CONFIG_APM_CPU_IDLE=y in your .config? If so, disable it.

There was a thread about this problem some months ago. I found
that on all of my APM-capable machines, including a Dell laptop,
CONFIG_APM_CPU_IDLE=y had a negative effect. The kernel ended up
in a tight loop performing tons of APM IDLE BIOS calls, since each
BIOS call returned immediately without having idled the CPU.

Leaving CONFIG_APM_CPU_IDLE unset lets the kernel use its own
"HLT when idle" code. On my main development box, idle CPU
temperature dropped >10 degrees C, and kapm-idled now uses 0% CPU.

/Mikael

^ permalink raw reply	[flat|nested] 5+ messages in thread
* kapm-idled shows 90+% cpu usage when idle
@ 2001-08-09 23:33 safemode
  2001-08-10 19:44 ` Erik Mouw
  0 siblings, 1 reply; 5+ messages in thread
From: safemode @ 2001-08-09 23:33 UTC (permalink / raw)
  To: kernel list

Is this a true usage reading or just some quirk that's supposed to happen?   
I really doubt that this kernel daemon should really be using  cpu.  It seems 
to respond with a higher cpu usage when i'm idle.  It immediately goes away 
when something else uses cpu.   If you need any more info just ask.   I'm 
 
I'm using 2.4.8-pre7  
00:00.0 Host bridge: VIA Technologies, Inc. VT8371 [KX133] (rev 02)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8371 [KX133 AGP] 
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 
22)
00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 10)
00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 
30)

I didn't see acpi in my motherboard manual at the time of configuring the 
kernel, should i be using the acpi idle daemon instead of the supposedly 
supported APM idle daemon?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-08-10 19:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-10  0:36 kapm-idled shows 90+% cpu usage when idle Mikael Pettersson
2001-08-10  2:01 ` safemode
2001-08-10 17:36   ` Mike Fedyk
  -- strict thread matches above, loose matches on Subject: below --
2001-08-09 23:33 safemode
2001-08-10 19:44 ` Erik Mouw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox