Re: kapmd uses 30-40 percent cpu... 2.4.0-test5

From: Erik Mouw (J.A.K.Mouw@its.tudelft.nl)
Date: Fri Jul 28 2000 - 15:45:37 EST


On Fri, 28 Jul 2000 13:23:05 -0400, David Mansfield wrote:
> [... applies to Kernels 2.4.0 test4, test5 at least ...]
>
> On my system, kapmd is using up a lot of cpu. Is this the normal state
> of affairs? I mean, are cycles consumed by kapmd run in power-save
> mode? If so, I can live with it.
>
> Otherwise, this looks like a bug.

It's normal. It means that your system has spend time in APM power saving
mode.

> $ uptime
> 1:21pm up 19 min, 1 user, load average: 0.01, 0.02, 0.00
>
> $ ps aux|grep kapmd
> root 2 39.7 0.0 0 0 ? SW 13:01 8:02 [kapmd]
>
> In other words, 8 minutes of consumed CPU time in 19 minutes of uptime.

Looks good, eh?

> My only complaint if this is the correct behavior, is that the system
> loadavg goes up when system is idle. This seems strange. Load
> monitoring programs will be fooled, and programs that want to run when
> system is idle might be fooled (although I don't seriously think the
> latter could happen, given that the scheduler can take of this more
> precisely anyway).

The loadavg doesn't go up, as your output from uptime showed. Niced
programs work perfectly well because it's up to the scheduler to decide
which task should run.

Erik

-- 
unix soit qui mal y pense

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:28 EST