Skip to contentSkip to conversation

Tunables: Ondemand Governor and intel_pstate

Powertop Christian Krause 3 participants 3 messages Sep 20, 2013 – Sep 23, 2013

lore
Share & tools
lore

Christian Krause

author
#0 lore raw

Dear PowerTop Developers,

I have been wondering for a while and just found out:

tunables show:

Bad Using 'ondemand' cpufreq governor

but: I don't have a ondemand cpufreq governor -- that is what I just found out: since some kernel versions ago the intel_pstate driver is the default for my cpu:

    # zgrep PSTATE /proc/config.gz
    CONFIG_X86_INTEL_PSTATE=y
    # cat /sys/devices/system/cpu/cpu[0-9]*/cpufreq/scaling_driver
    intel_pstate
    intel_pstate
    intel_pstate
    intel_pstate

intel_pstate does not provide ondemand governor, just powersave and performance. It saves power by putting the cpu in sleep mode instead of decreasing the frequency, see idle stats: C7-SNB 98.7% ...

Please include a check in PowerTop so ondemand governor does not get suggested for intel_pstate. That was really confusing at first to have powertop suggest that but me not having ondemand governor.

Signature · 33 lines
Mit freundlichen Grüßen /  
With kind regards

-------------------------------------------

Christian Krause

Wissenschaftliche und Kaufmännische Datenverarbeitung /  
Scientific and Commercial Data Processing (WKDV)

Wissenschaftliches Rechnen und Wissenschaftliches Datenmanagement /  
Scientific Computing and Scientific Data Management (WRWD)

-------------------------------------------

Helmholtz-Zentrum für Umweltforschung GmbH - UFZ /  
Helmholtz Centre for Environmental Research - UFZ  
Permoserstr. 15 / 04318 Leipzig / Germany  
phone +49 341 235 1001 / fax +49 341 235 1468  
<christian.krause(a)ufz.de> / <http://www.ufz.de>

Sitz der Gesellschaft: Leipzig  
Registergericht: Amtsgericht Leipzig, Handelsregister Nr. B 4703  
Vorsitzender des Aufsichtsrats: MinDirig Wilfried Kraus  
Wissenschaftlicher Geschäftsführer: Prof. Dr. Georg Teutsch  
Administrative Geschäftsführerin: Dr. Heike Graßmann

-------------------------------------------

Bitte denken Sie an die Umwelt bevor Sie diese E-Mail ausdrucken. /  
Please consider the environment before printing this e-mail.

-------------------------------------------
#1 lore raw
Quoted 11 lines · Christian Krause

Dear PowerTop Developers,

I have been wondering for a while and just found out:

tunables show:

Bad Using 'ondemand' cpufreq governor

but: I don't have a ondemand cpufreq governor -- that is what I just found out: since some kernel versions ago the intel_pstate driver is the default for my cpu:

Hello,
I'll take a look, thanks.

	-ss
Quoted 57 lines
    # zgrep PSTATE /proc/config.gz
    CONFIG_X86_INTEL_PSTATE=y
    # cat /sys/devices/system/cpu/cpu[0-9]*/cpufreq/scaling_driver
    intel_pstate
    intel_pstate
    intel_pstate
    intel_pstate

intel_pstate does not provide ondemand governor, just powersave and performance. It saves power by putting the cpu in sleep mode instead of decreasing the frequency, see idle stats: C7-SNB 98.7% ...

Please include a check in PowerTop so ondemand governor does not get suggested for intel_pstate. That was really confusing at first to have powertop suggest that but me not having ondemand governor.

Signature · 38 lines
Mit freundlichen Grüßen /  
With kind regards

-------------------------------------------

Christian Krause

Wissenschaftliche und Kaufmännische Datenverarbeitung /  
Scientific and Commercial Data Processing (WKDV)

Wissenschaftliches Rechnen und Wissenschaftliches Datenmanagement /  
Scientific Computing and Scientific Data Management (WRWD)

-------------------------------------------

Helmholtz-Zentrum für Umweltforschung GmbH - UFZ /  
Helmholtz Centre for Environmental Research - UFZ  
Permoserstr. 15 / 04318 Leipzig / Germany  
phone +49 341 235 1001 / fax +49 341 235 1468  
<christian.krause(a)ufz.de> / <http://www.ufz.de>

Sitz der Gesellschaft: Leipzig  
Registergericht: Amtsgericht Leipzig, Handelsregister Nr. B 4703  
Vorsitzender des Aufsichtsrats: MinDirig Wilfried Kraus  
Wissenschaftlicher Geschäftsführer: Prof. Dr. Georg Teutsch  
Administrative Geschäftsführerin: Dr. Heike Graßmann

-------------------------------------------

Bitte denken Sie an die Umwelt bevor Sie diese E-Mail ausdrucken. /  
Please consider the environment before printing this e-mail.

-------------------------------------------

_______________________________________________
PowerTop mailing list
PowerTop(a)lists.01.org
https://lists.01.org/mailman/listinfo/powertop
#2 lore raw
In reply to Christian Krause
Quoted 20 lines · On Fri, 20 Sep 2013 09:52:59 +0200 Christian Krause…

Dear PowerTop Developers,

I have been wondering for a while and just found out:

tunables show:

Bad Using 'ondemand' cpufreq governor

but: I don't have a ondemand cpufreq governor -- that is what I just found out: since some kernel versions ago the intel_pstate driver is the default for my cpu:

    # zgrep PSTATE /proc/config.gz
    CONFIG_X86_INTEL_PSTATE=y
    # cat /sys/devices/system/cpu/cpu[0-9]*/cpufreq/scaling_driver
    intel_pstate
    intel_pstate
    intel_pstate
    intel_pstate
Quoted 8 lines

intel_pstate does not provide ondemand governor, just powersave and performance. It saves power by putting the cpu in sleep mode instead of decreasing the frequency, see idle stats: C7-SNB 98.7% ...

Please include a check in PowerTop so ondemand governor does not get suggested for intel_pstate. That was really confusing at first to have powertop suggest that but me not having ondemand governor.

yes, I've been meaning to take that suggestion out of the tunables all together for a while, as the value of using ondemand is pretty questionable.