All of lore.kernel.org
 help / color / mirror / Atom feed
* ondemand excessive wakeups.
@ 2007-03-12 19:02 Dave Jones
  2007-03-12 19:09 ` Pallipadi, Venkatesh
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Jones @ 2007-03-12 19:02 UTC (permalink / raw)
  To: Pallipadi, Venkatesh; +Cc: cpufreq

A colleague noticed that his laptop in runlevel 3 was doing ~120 context
switches a second whilst completely idle.  Process of elimation worked out
that after disabling acpi-cpufreq & ondemand, the cs drop to around 4 per sec.

cpufreq.debug=7 yields ..

cpufreq-core: target for CPU 0: 1200000 kHz, relation 1
acpi-cpufreq: acpi_cpufreq_target 1200000 (0)
freq-table: request for target 1200000 kHz (relation: 1) for cpu 0
freq-table: target is 0 (1200000 kHz, 0)
acpi-cpufreq: get_cur_val = 100664839
cpufreq-core: notification 0 of frequency transition to 1200000 kHz
userspace: saving cpu_cur_freq of cpu 0 to be 1200000 kHz
cpufreq-core: notification 1 of frequency transition to 1200000 kHz
userspace: saving cpu_cur_freq of cpu 0 to be 1200000 kHz
cpufreq-core: target for CPU 0: 771428 kHz, relation 0
printk: 35 messages suppressed.
cpufreq-core: target for CPU 0: 1200000 kHz, relation 1
printk: 17 messages suppressed.
cpufreq-core: target for CPU 0: 1200000 kHz, relation 1
acpi-cpufreq: acpi_cpufreq_target 1200000 (0)
freq-table: request for target 1200000 kHz (relation: 1) for cpu 0
printk: 15 messages suppressed.
cpufreq-core: target for CPU 0: 1200000 kHz, relation 1
acpi-cpufreq: acpi_cpufreq_target 1200000 (0)
printk: 61 messages suppressed.
cpufreq-core: target for CPU 0: 1200000 kHz, relation 1
printk: 17 messages suppressed.
cpufreq-core: target for CPU 0: 1200000 kHz, relation 1
acpi-cpufreq: acpi_cpufreq_target 1200000 (0)

Any ideas?  With tickless now being default on i386, it's somewhat
nasty that a part of the system responsible for power saving is
causing us to waste power ;-)

	Dave

-- 
http://www.codemonkey.org.uk

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

end of thread, other threads:[~2007-03-12 19:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-12 19:02 ondemand excessive wakeups Dave Jones
2007-03-12 19:09 ` Pallipadi, Venkatesh
2007-03-12 19:12   ` Dave Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.