Byron Servies wrote:
On 02/21/11 02:20 PM, Nikolay Molchanov wrote:
No, we need all CPUs to run at the same frequency.
You might try disabling cpupm (cpu power management) in
/etc/power.conf and see if this does what you want. Turbo mode may
still be enabled, but at least P and C-state transitions will be
turned off.
I'll try. Is it a service? I mean, can I use svcadm to enable/disable it?
Do I need a reboot if I change the setting in the /etc/power.conf file?
Currently I see these settings:
% cat /etc/power.conf
...
autopm default
cpupm enable
cpu-threshold 1s
So, your suggestion is to change "cpupm" state to "disable", correct?
Correct. Then run the pmconfig command to make the change in the
running kernel. You can use the powertop command to monitor what is
happening with cpu P and C states before and after to see if that is
doing what you expect (powertop should work on linux, too).
I cannot find the powertop command on this system. Do I need Solaris 11
to have this utility? Currently this system runs Solaris 10.
I changed the state of cpupm to disable, and invoked /usr/sbin/pmconfig,
but it looks like you are right about the Turbo Mode, at least our tests
show the same 13% overcounting, which means our calculation uses a CPU
frequency that is 13% below the real maximum CPU frequency. I see that
our calculation uses 2933 MHz, which is the maximum reported by "kstat
cpu_info", so it must be the Turbo Mode tat causes the difference.
Thanks.
Nik
_______________________________________________
pm-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pm-discuss