> Currently, there is no way to force a processor to a lower frequency. A
> feature we'll be adding to Solaris soon.
>
> As for what determining what frequencies your processors are running at,
> you can find that out from the cpu_info kstat.
>
isnt there any mdb hack we could use? from the code i read not long
ago it seeems like everything is automatically done for us, we have no
way of setting the threshold in which it should scale down but i'm no
expert in kernel hacking so i might be wrong, according to the code
also there was an algorithm that prevented the processor to scale up
fast but that doesnt seem to be working here
from dmesg

Nov 25 20:09:37 saturn cpudrv: [ID 495817 kern.info] NOTICE:
cpudrv_pm_set_topspeed: instance 0: has new max power of 1000 MHz
Nov 25 20:09:37 saturn cpudrv: [ID 495817 kern.info] NOTICE:
cpudrv_pm_set_topspeed: instance 1: has new max power of 1000 MHz
Nov 25 20:09:37 saturn cpudrv: [ID 495817 kern.info] NOTICE:
cpudrv_pm_set_topspeed: instance 0: has new max power of 1000 MHz
Nov 25 20:09:37 saturn cpudrv: [ID 495817 kern.info] NOTICE:
cpudrv_pm_set_topspeed: instance 1: has new max power of 1000 MHz
Nov 25 20:09:53 saturn cpudrv: [ID 495817 kern.info] NOTICE:
cpudrv_pm_set_topspeed: instance 0: has new max power of 1833 MHz
Nov 25 20:09:53 saturn cpudrv: [ID 495817 kern.info] NOTICE:
cpudrv_pm_set_topspeed: instance 1: has new max power of 1833 MHz
Nov 25 20:09:53 saturn cpudrv: [ID 495817 kern.info] NOTICE:
cpudrv_pm_set_topspeed: instance 0: has new max power of 1833 MHz
Nov 25 20:09:53 saturn cpudrv: [ID 495817 kern.info] NOTICE:
cpudrv_pm_set_topspeed: instance 1: has new max power of 1833 MHz

it also seems a bit biased into using only either the highest or the
lowest available frequency

[EMAIL PROTECTED]:~$ kstat -m cpu_info -s supported_frequencies_Hz
module: cpu_info                        instance: 0
name:   cpu_info0                       class:    misc
        supported_frequencies_Hz        1000000000:1333000000:1833000000

module: cpu_info                        instance: 1
name:   cpu_info1                       class:    misc
        supported_frequencies_Hz        1000000000:1333000000:1833000000


nacho
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to