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

From: David Mansfield (lkml@dm.ultramaster.com)
Date: Fri Jul 28 2000 - 12:23:05 EST


[... 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.

$ 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.

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).

Here is my system in any case:

Software.
Kernel 2.4.0-test5
RedHat 6.1 plus relevant upgrades.
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

Hardware:
Athlon 700mhz. (UP obviously). Adaptec 2940U2W. EEpro100. 256MB ram

Relevant bootup messages:

apm: BIOS version 1.2 Flags 0x07 (Driver version 1.13)
ACPI: "AWARD" found at 0x000f6340
ACPI: unreserved table memory @ 0x0fff30c0!
acpi: APM is already active.

Relevant .config:

CONFIG_ACPI=y
# CONFIG_ACPI_INTERPRETER is not set
CONFIG_ACPI_S1_SLEEP=y
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
CONFIG_APM_DO_ENABLE=y
CONFIG_APM_CPU_IDLE=y
CONFIG_APM_DISPLAY_BLANK=y
CONFIG_APM_RTC_IS_GMT=y
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set

-
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:27 EST