public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: safemode <safemode@speakeasy.net>
To: Mikael Pettersson <mikpe@csd.uu.se>, linux-kernel@vger.kernel.org
Subject: Re: kapm-idled shows 90+% cpu usage when idle
Date: Thu, 9 Aug 2001 22:01:55 -0400	[thread overview]
Message-ID: <20010810020152Z269890-28344+3523@vger.kernel.org> (raw)
In-Reply-To: <200108100036.CAA09153@harpo.it.uu.se>
In-Reply-To: <200108100036.CAA09153@harpo.it.uu.se>

On Thursday 09 August 2001 20:36, Mikael Pettersson wrote:
> 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

I've been told by others that this is exactly what's supposed to happen.  It 
acts like it's using cpu when it's idle and does it job that way.  I see no 
difference either way.   I'm using a KA7 motherboard and it says it supports 
apm and lspci shows what i pasted in the original post.  Oh well, it's not 
causing the cpu to generate more heat than it would be idle.  

  reply	other threads:[~2001-08-10  2:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-10  0:36 kapm-idled shows 90+% cpu usage when idle Mikael Pettersson
2001-08-10  2:01 ` safemode [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010810020152Z269890-28344+3523@vger.kernel.org \
    --to=safemode@speakeasy.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikpe@csd.uu.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox