Re: [PATCH 7/7] ondemand: Solve the big performance issue with ondemand during disk IO

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arjan van de Ven
Date: Saturday, May 1, 2010 - 4:29 pm

On Sat, 24 Apr 2010 06:56:26 +0200
Pavel Machek <pavel@ucw.cz> wrote:



so I finally found a machine based on a Pentium M (similar to this
Thinkpad, at least according to google) and spend half a day getting its
Fedora 8 installation to compile a modern kernel (these guys don't
compile very fast....).

Turns out that things are not as simple as your data suggest.
The complexity is in USB autosuspend.
Without USB devices, I see:

"powersave"	9.7 / 9.8  Watts (alternating between these readings)
"ondemand"      9.7 / 9.8  Watts
"performance"   9.8 Watts (solid on 9.8, not alternating)

if all USB devices are in autosuspend, it's pretty much the same
picture.

But if there is an active USB device, the CPU will no longer go to C4,
but will be stuck in C2 (this is the last generation of Intel chipsets
that suffer from this behavior; "c2 popup" is what the ich4m is
missing). And the C2 power behavior does show sensitivity to the CPU
frequency... roughly 3 1/2 Watts for my machine.

Doing the 'cat' from a usb mount as you suggested, which implies active
USB DMA, shows this 3 1/2 Watts increase between the old and new
ondemand. At the same time, the performance went up a little as well (a
3.7Gb took 3m32.5s before, and now takes 3m20.5s, so that saves a
little of the energy back).

 


-- 
Arjan van de Ven 	Intel Open Source Technology Centre
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/7] Fix performance issue with ondemand governor, Arjan van de Ven, (Sun Apr 18, 11:59 am)
[PATCH 1/7] sched: add a comment to get_cpu_idle_time_us(), Arjan van de Ven, (Sun Apr 18, 12:00 pm)
[PATCH 2/7] sched: introduce a function to update the idle ..., Arjan van de Ven, (Sun Apr 18, 12:01 pm)
[PATCH 3/7] sched: update the idle statistics in get_cpu_i ..., Arjan van de Ven, (Sun Apr 18, 12:01 pm)
[PATCH 4/7] sched: fold updating of the last update time i ..., Arjan van de Ven, (Sun Apr 18, 12:02 pm)
[PATCH 5/7] sched: eliminate the ts-&gt;idle_lastupdate field, Arjan van de Ven, (Sun Apr 18, 12:02 pm)
[PATCH 6/7] sched: introduce get_cpu_iowait_time_us(), Arjan van de Ven, (Sun Apr 18, 12:03 pm)
[PATCH 7/7] ondemand: Solve the big performance issue with ..., Arjan van de Ven, (Sun Apr 18, 12:03 pm)
Re: [PATCH 7/7] ondemand: Solve the big performance issue ..., Arjan van de Ven, (Mon Apr 19, 6:43 am)
Re: [PATCH 7/7] ondemand: Solve the big performance issue ..., Arjan van de Ven, (Mon Apr 19, 6:46 am)
Re: [PATCH 7/7] ondemand: Solve the big performance issue ..., Arjan van de Ven, (Mon Apr 19, 7:47 am)
Re: [PATCH 7/7] ondemand: Solve the big performance issue ..., Arjan van de Ven, (Mon Apr 19, 5:47 pm)
Re: [PATCH 7/7] ondemand: Solve the big performance issue ..., Thomas Renninger, (Tue Apr 20, 2:24 am)
Re: [PATCH 7/7] ondemand: Solve the big performance issue ..., Thomas Renninger, (Tue Apr 20, 2:29 am)
Re: [PATCH 7/7] ondemand: Solve the big performance issue ..., Arjan van de Ven, (Tue Apr 20, 4:02 am)
Re: [PATCH 7/7] ondemand: Solve the big performance issue ..., Arjan van de Ven, (Tue Apr 20, 4:07 am)
Re: [PATCH 7/7] ondemand: Solve the big performance issue ..., Thomas Renninger, (Fri Apr 23, 1:50 am)
Re: [PATCH 7/7] ondemand: Solve the big performance issue ..., Arjan van de Ven, (Fri Apr 23, 6:52 am)
Re: [PATCH 7/7] ondemand: Solve the big performance issue ..., Arjan van de Ven, (Fri Apr 23, 7:10 am)
Re: [PATCH 7/7] ondemand: Solve the big performance issue ..., Arjan van de Ven, (Fri Apr 23, 9:06 am)
Re: [PATCH 7/7] ondemand: Solve the big performance issue ..., Arjan van de Ven, (Fri Apr 23, 9:08 am)
Re: [PATCH 0/7] Fix performance issue with ondemand governor, Dominik Brodowski, (Mon Apr 26, 2:45 pm)
Re: [PATCH 0/7] Fix performance issue with ondemand governor, Dominik Brodowski, (Mon Apr 26, 3:05 pm)
Re: [PATCH 7/7] ondemand: Solve the big performance issue ..., Thomas Renninger, (Tue Apr 27, 4:39 am)
Re: [PATCH 7/7] ondemand: Solve the big performance issue ..., Arjan van de Ven, (Sat May 1, 4:29 pm)