[ltp] kapm-idled

Celso Gonzalez linux-thinkpad@www.bm-soft.com
Mon, 5 Nov 2001 17:29:37 +0100


On Mon, Nov 05, 2001 at 12:52:32AM -0500, Rikki Hall wrote:
> Hello all,
> 
> I just switched to a 2.4 kernel, and I've noticed that there is now a
> process called kapm-idled that is consuming huge amounts of cpu.  Here's a
> line from a 'top' listing:
> 
>  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
>     3 root      20   0     0    0     0 SW   97.6  0.0   0:57 kapm-idled
> 
> What is this, and how can I make it behave?
> 

I think itŽs related to a kernel option
Power management support (CONFIG_PM)
Advanced Power Management BIOS support (CONFIG_APM)
Make CPU idle calls when idle (CONFIG_APM_CPU_IDLE)  

>From the kernel help
CONFIG_APM_CPU_IDLE:

  Enable calls to APM CPU Idle/CPU Busy inside the kernel's idle loop.
  On some machines, this can activate improved power savings, such as
  a slowed CPU clock rate, when the machine is idle. These idle calls
  are made after the idle loop has run for some length of time (e.g.,
  333 mS). On some machines, this will cause a hang at boot time or
  whenever the CPU becomes idle. (On machines with more than one CPU,
  this option does nothing.)

So I think itŽs a good thing ;)

See ya

-- 
Celso González  E-Mail: mitago@ono.com
http://bulmalug.net 
GPG in http://webs.ono.com/mitago

----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html