On 10 October 2014 16:11, Robert Schöne robert.schoene@tu-dresden.de wrote:
This patch makes it worse. Even when changing the governors sequentially for all CPUs, it fails. Here is what happens:
- I boot the system. (performance)
- An Ubuntu service enables ondemand sequentially for all cpus (ondemand)
- I enable performance sequentially (performance)
- I enable ondemand sequentially (broken)
In the last step, ondemand can only be enabled at a single CPU. All others return -EBUSY.
More about step 3/4: $ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor performance performance performance performance performance performance performance performance $ echo ondemand | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand $ echo ondemand | sudo tee /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor ondemand tee: /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor: Device or resource busy
Getting -EBUSY here isn't a problem if the governor is currently changing. But I see that I have over-engineered some part of my patches.
Can you please try: cpufreq/governor-fixes-v2 instaed and let me know how does that behave ?
Sorry for the trouble.