Bug#384032: powernowd: Only scales down one core on dual-core opteron 285
Package: powernowd
Version: 1.00-2
Followup-For: Bug #384032
Dear Maintainer,
My system has an Intel Atom D525 which has 2 cores and hyperthreading and here powernowd only affect cpu0 and cpu2.
I had a quick look at the source and I think this problem has to do with powernowd assuming cpus in the same scalable unit are consecutive.
I don't think that's the case on my system:
$ cat /sys/devices/system/cpu/cpu[0123]/cpufreq/affected_cpus
0 2
1 3
0 2
1 3
If I append '-c 1' to the powernowd options, i.e. force threads_per_core to be 1 it works ok but then I suspect it decides on and sets speed twice per scalable unit for every poll.
Best regards,
/Henrik
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-3-rt-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages powernowd depends on:
ii libc6 2.13-35
powernowd recommends no packages.
powernowd suggests no packages.
-- no debconf information
Reply to: