Re: [Cooker] A thing called kapm-idled is taking over my machine !

2000-12-17 Thread OS

I have read the thread.

A few points :

Can an application spoof 'top' into reporting a CPU usage that is not really 
there ? If it is just 'reporting' the NOT CPU usage, how does that make its 
way to 'top' as actual CPU usage.

A bit of perseverance and, like the inetd, you can get it to the much 
healthier state of priority = -1 and CPU usage of 0%. So what have I just 
done. Stopped the CPU idle loop or stopped the APM daemon from hogging the 
CPU ? Given the responsiveness of the system I don't believe that the idle 
loop has been affected, and given APM all works then nothing has happened to 
it either !

According to the kernel mailing lists the name kapm-idled was just put there 
to stop people complaining that kapmd was using too much CPU ! Surely a 
better fix would have been to look into why kapmd was using / reporting such 
a high CPU usage.

If it is just 'reporting' that the system is idle why bother ! Surely the big 
black bar on 'gtop' is far more comforting than 40 - 80% CPU usage !!!

I realise this is out of Mandrake's remit, but it is certainly confusing. Do 
Red Hat have a newer kernel with a better fix ? Please observe - Red Hat's 
Rawhide 2.4 kernel DOES NOT display this perverse behaviour (their kapm-idled 
has a PRI of -1 and CPU of 0), so why does Mandrakes ?

Owen

On Friday 15 December 2000 11:48 pm, you wrote:
> > If it "doen't do anything" then why is it using 40 - 80% CPU resource ?
>
> You really should read the message thread he pointed you to (URL included
> below).  It IS NOT using 40 - 80% CPU resource.  It IS reporting that the
> CPU is IDLE for 40 - 80% of the time.  Worry if it drops down to 0%.  That
> is the reason for the "-idle" part of the name.  It is reporting idle time
> instead of usage time.
>
> > > http://marc.theaimsgroup.com/?l=linux-kernel&m=97063175201750&w=2




Re: [Cooker] A thing called kapm-idled is taking over my machine !

2000-12-15 Thread Thomas M. Beaudry

>
> If it "doen't do anything" then why is it using 40 - 80% CPU resource ?
>

You really should read the message thread he pointed you to (URL included 
below).  It IS NOT using 40 - 80% CPU resource.  It IS reporting that the CPU 
is IDLE for 40 - 80% of the time.  Worry if it drops down to 0%.  That is the 
reason for the "-idle" part of the name.  It is reporting idle time instead 
of usage time.

> >
> > http://marc.theaimsgroup.com/?l=linux-kernel&m=97063175201750&w=2

-- 

Thomas M. Beaudry - k8la/ys1ztm
[EMAIL PROTECTED]

TV is chewing gum for the eyes.





Re: [Cooker] A thing called kapm-idled is taking over my machine !

2000-12-15 Thread OS

> you now what idle mean ? 

There's no need to be rude !

All I was doing was reporting that on the Mandrake 2.4 kernel gtop reports 
kapm-idled as using somewhere between 40 and 80% CPU while on the Red Hat 2.4 
kernel it is reported as 0%. And it would appear that I'm not alone. I could 
post a report to the Kernel list, but since it happens with the Mandrake 
kernel but NOT the Red Hat one I thought I would start with the Mandrake list.

If it "doen't do anything" then why is it using 40 - 80% CPU resource ?

This was supposed to be a constructive observation !

Owen

On Thursday 14 December 2000  9:14 am, you wrote:
> Guillaume Rousse <[EMAIL PROTECTED]> writes:
> > Daouda LO wrote:
> > > kapm-idled is related to power Management in the kernel .
> > > In a cooker fresh install (kernel 2.4) , i got it work correctly (SW
> > > stat with 0% CPU) What kernel version do you have ??
> >
> > I just remarked also i have 640-60 % CPU used by this thing with a
> > 2.4.0-0.13mdk, on a fresh install...
>
> you now what idle mean ? it's normal and doen't do anything than to be
> here when the CPU is not used, if you are not conviced let follow this
> thread on lkml :
>
> http://marc.theaimsgroup.com/?l=linux-kernel&m=97063175201750&w=2




Re: [Cooker] A thing called kapm-idled is taking over my machine !

2000-12-14 Thread OS

I noticed it first on kernel-2.4.0-0.12mdk but it also happens on 
kernel-2.4.0-0.13mdk. But, as I said, it does not happen on kernel-4.0.1-37 
from Red Hat.

Where are these daemons started ? 
Is it possible to stop them ? and if so how ???

Someone at work managed to get it down to 0% by doing loads of 'this and 
that' !! But it started up again !

I think it ought to be renamed kapm-idled-cpu-snatcher !

Owen


On Thursday 14 December 2000  2:11 am, you wrote:
> OS <[EMAIL PROTECTED]> writes:
> > Hello,
>
> [...]
>
> > Something called kapm-idled was consuming 50-86% CPU usage !
> >
> > I happen to have a copy of Red Hat's 4.0.1-37 kernel, so I gave that a
> > try. gtop revealed that kapm-idled was still there, but now using a far
> > healthier 0%. So what is kapm-idled ? and why does it use so much CPU
> > resource ?
>
> kapm-idled is related to power Management in the kernel .
> In a cooker fresh install (kernel 2.4) , i got it work correctly (SW stat
> with 0% CPU) What kernel version do you have ??
>
> > Owen
> >
> > P.S. My work PC still runs like an old dog ! Maybe my first assumption
> > was the correct one after all !




Re: [Cooker] A thing called kapm-idled is taking over my machine !

2000-12-14 Thread Chmouel Boudjnah

Guillaume Rousse <[EMAIL PROTECTED]> writes:

> Daouda LO wrote:
> > kapm-idled is related to power Management in the kernel .
> > In a cooker fresh install (kernel 2.4) , i got it work correctly (SW stat with 0% 
>CPU)
> > What kernel version do you have ??
> I just remarked also i have 640-60 % CPU used by this thing with a
> 2.4.0-0.13mdk, on a fresh install...

you now what idle mean ? it's normal and doen't do anything than to be
here when the CPU is not used, if you are not conviced let follow this
thread on lkml :

http://marc.theaimsgroup.com/?l=linux-kernel&m=97063175201750&w=2

-- 
MandrakeSoft Inc http://www.chmouel.org
  --Chmouel




Re: [Cooker] A thing called kapm-idled is taking over my machine !

2000-12-14 Thread Guillaume Rousse

Daouda LO wrote:
> kapm-idled is related to power Management in the kernel .
> In a cooker fresh install (kernel 2.4) , i got it work correctly (SW stat with 0% 
>CPU)
> What kernel version do you have ??
I just remarked also i have 640-60 % CPU used by this thing with a
2.4.0-0.13mdk, on a fresh install...
-- 
Guillaume Rousse

Murphy's law : If anything can go wrong, it will.
O'Tool's commentary : Murphy was an optimist.




Re: [Cooker] A thing called kapm-idled is taking over my machine !

2000-12-13 Thread Daouda LO

OS <[EMAIL PROTECTED]> writes:

> Hello,

[...]

> 
> Something called kapm-idled was consuming 50-86% CPU usage !
> 
> I happen to have a copy of Red Hat's 4.0.1-37 kernel, so I gave that a try. 
> gtop revealed that kapm-idled was still there, but now using a far healthier 
> 0%. So what is kapm-idled ? and why does it use so much CPU resource ?

kapm-idled is related to power Management in the kernel .
In a cooker fresh install (kernel 2.4) , i got it work correctly (SW stat with 0% CPU)
What kernel version do you have ??


> 
> Owen
> 
> P.S. My work PC still runs like an old dog ! Maybe my first assumption was 
> the correct one after all !
> 
> 
> 

-- 
"Only two things are infinite, the universe and human stupidity, 
  and I'm not sure about the former." Albert Einstein