Skip to contentSkip to conversation

New: cpufreq userspace governor doesn't work on Intel Core 2 Gen 2 CPUs

Bug 42671 [email protected] 1 participant 6 messages Jan 27, 2012 – May 13, 2012

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=42671

Summary: cpufreq userspace governor doesn't work on Intel Core
2 Gen 2 CPUs
Product: Power Management
Version: 2.5
Kernel Version: All known
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: cpufreq
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: No

On my Intel Core i5 2500 CPU with acpi-cpufreq module loaded I do this

# echo 2000000 | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_setspeed

then

# cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq
2000000
2000000
2000000
2000000

so theoretically it should work.

However i7z (http://code.google.com/p/i7z/) shows that CPU frequency is freely floating and turbo boost gets enabled as soon as I have any discernible load, in other words userspace CPU frequency driver doesn't work at all and it doesn't really enforce the specified CPU frequency.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 42671] cpufreq userspace governor doesn't work on Intel Core 2 Gen 2 CPUs

https://bugzilla.kernel.org/show_bug.cgi?id=42671

Len Brown <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |NEEDINFO
                 CC|                            |[email protected]

--- Comment #1 from Len Brown <[email protected]> 2012-01-31 02:58:30 --- are you sure that you are using the userspace governor?
few people do, as it is generally obsolted by ondemand.

When ondemand is running, scaling_setspeed does nothing, and you can "manually" control what ondemand does by setting its maximum and minimum frequencies.

Please show the output from
grep . /sys/devices/system/cpu/cpu0/cpufreq/*

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 42671] cpufreq userspace governor doesn't work on Intel Core 2 Gen 2 CPUs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=42671

--- Comment #2 from Artem S. Tashkinov <[email protected]> 2012-01-31 06:57:41 --- (In reply to comment #1)

Quoted 9 lines

are you sure that you are using the userspace governor? few people do, as it is generally obsolted by ondemand.

When ondemand is running, scaling_setspeed does nothing, and you can "manually" control what ondemand does by setting its maximum and minimum frequencies.

Please show the output from
grep . /sys/devices/system/cpu/cpu0/cpufreq/*

/sys/devices/system/cpu/cpu0/cpufreq/affected_cpus:0 /sys/devices/system/cpu/cpu0/cpufreq/bios_limit:3301000 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq:3301000 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq:3301000 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq:1600000 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency:10000 /sys/devices/system/cpu/cpu0/cpufreq/related_cpus:0 1 2 3 /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies:3301000 3300000 3200000 3100000 3000000 2900000 2800000 2700000 2600000 2500000 2400000 2300000 2200000 2100000 2000000 1600000 /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors:ondemand powersave userspace conservative performance /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq:2000000 /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver:acpi-cpufreq /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor:userspace /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq:3301000 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq:1600000 /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed:2000000

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 42671] cpufreq userspace governor doesn't work on Intel Core 2 Gen 2 CPUs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=42671

Artem S. Tashkinov <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 42671] cpufreq userspace governor doesn't work on Intel Core 2 Gen 2 CPUs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=42671

--- Comment #3 from Artem S. Tashkinov <[email protected]> 2012-02-07 09:14:56 --- Is there any other information I can provide to help resolve this bug, Len?

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 42671] cpufreq userspace governor doesn't work on Intel Core 2 Gen 2 CPUs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=42671

Alan <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
         AssignedTo|[email protected]     |[email protected]
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.