mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* kapm-idled using 45% CPU (why not 100%?)
@ 2001-03-31  1:35 Jamie Lokier
  2001-03-31  5:44 ` Stephen Rothwell
  2001-03-31  6:19 ` Richard Gooch
  0 siblings, 2 replies; 3+ messages in thread
From: Jamie Lokier @ 2001-03-31  1:35 UTC (permalink / raw)
  To: linux-kernel

Subject says it all.  On my laptop which is running 2.4.0, while the
machine is completely idle "top" reports kapm-idled as usin about 45% of
the CPU.  The remaining 55% is reported as idle time.

When the machine gets a little more active, the CPU time attributed to
kapm-idled decreases while the 55% idle time increases to 85%!

This is not caused be "top": I get the same 45% from "ps -l 3".

I remember when kapmd was reporting 100%.  Is the new behaviour
intentional, and is it saving the maximum power on the laptop?

thanks,
-- Jamie


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

* Re: kapm-idled using 45% CPU (why not 100%?)
  2001-03-31  1:35 kapm-idled using 45% CPU (why not 100%?) Jamie Lokier
@ 2001-03-31  5:44 ` Stephen Rothwell
  2001-03-31  6:19 ` Richard Gooch
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2001-03-31  5:44 UTC (permalink / raw)
  To: Jamie Lokier; +Cc: linux-kernel

Hi Jamie,

Jamie Lokier <lk@tantalophile.demon.co.uk> writes:
> Subject says it all.  On my laptop which is running 2.4.0, while the
> machine is completely idle "top" reports kapm-idled as usin about 45% of
> the CPU.  The remaining 55% is reported as idle time.

This is normal behaviour ... the current implementation of kapm-idled
means that it is sleeping some of the time, so the real idle process
actually gets some time.  I did a patch a while ago the got the kapm-idled
up to about 93-95%, but I didn;t think i was all that important.

> When the machine gets a little more active, the CPU time attributed to
> kapm-idled decreases while the 55% idle time increases to 85%!

Again this is normal (although it may not seem sensible).

> This is not caused be "top": I get the same 45% from "ps -l 3".
> 
> I remember when kapmd was reporting 100%.  Is the new behaviour
> intentional, and is it saving the maximum power on the laptop?

I have NEVER seen kapmd getting 100%.  You are probably getting
about as good power saving as you will get (unfortunately) although
don't hold me to that - I have heard of some laptops that get better
power savings when CONFIG_APM_CPU_IDLE was NOT set ...

Cheers,
Stephen

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

* Re: kapm-idled using 45% CPU (why not 100%?)
  2001-03-31  1:35 kapm-idled using 45% CPU (why not 100%?) Jamie Lokier
  2001-03-31  5:44 ` Stephen Rothwell
@ 2001-03-31  6:19 ` Richard Gooch
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Gooch @ 2001-03-31  6:19 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Jamie Lokier, linux-kernel

Stephen Rothwell writes:
> Hi Jamie,
> 
> Jamie Lokier <lk@tantalophile.demon.co.uk> writes:
> > Subject says it all.  On my laptop which is running 2.4.0, while the
> > machine is completely idle "top" reports kapm-idled as usin about 45% of
> > the CPU.  The remaining 55% is reported as idle time.
> 
> This is normal behaviour ... the current implementation of kapm-idled
> means that it is sleeping some of the time, so the real idle process
> actually gets some time.  I did a patch a while ago the got the kapm-idled
> up to about 93-95%, but I didn;t think i was all that important.
> 
> > When the machine gets a little more active, the CPU time attributed to
> > kapm-idled decreases while the 55% idle time increases to 85%!
> 
> Again this is normal (although it may not seem sensible).
> 
> > This is not caused be "top": I get the same 45% from "ps -l 3".
> > 
> > I remember when kapmd was reporting 100%.  Is the new behaviour
> > intentional, and is it saving the maximum power on the laptop?
> 
> I have NEVER seen kapmd getting 100%.  You are probably getting
> about as good power saving as you will get (unfortunately) although
> don't hold me to that - I have heard of some laptops that get better
> power savings when CONFIG_APM_CPU_IDLE was NOT set ...

The Cyrix chips have an extremely low power mode: they stop the clock
on halt. They use microwatts in this mode (you need to frob a register
to enable this). On an idle machine, these chips don't need a heatsink
and still run cool.

If you enable APM on these machines, the CPU runs hot even though it's
idling. That's because the clock is still running. Slower, yes. But
there's a big difference between slowing down the clock a few times,
or stopping it entirely.

				Regards,

					Richard....
Permanent: rgooch@atnf.csiro.au
Current:   rgooch@ras.ucalgary.ca

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

end of thread, other threads:[~2001-03-31  6:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-31  1:35 kapm-idled using 45% CPU (why not 100%?) Jamie Lokier
2001-03-31  5:44 ` Stephen Rothwell
2001-03-31  6:19 ` Richard Gooch

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

all inboxes | Powered by JetHome®