Login to Account Create an Account
Disable Dynamic Frequency Scaling
Posted 07 March 2013 - 09:17 PM
Posted 08 March 2013 - 01:00 AM
Perhaps the resource kit or dev kit offered by Amd and Intel might provide steps or not.
But if you are trying on linux, there is c++ source code included in recent kernel and instructions to use those features. The source code of the described kernel modules in the link, might help you to port it to another OS.
Posted 08 March 2013 - 02:53 AM
function CallNtPowerInformation(InformationLeveL: POWER_INFORMATION_LEVEL; lpInputBuffer: PVOID; nInputBufferSize: ULONG; lpOutputBuffer: PVOID; nOutputBufferSize: ULONG): NTSTATUS; stdcall; external powrproflib name 'CallNtPowerInformation';
I have code calling this which seems to work in that it identifies that all the stuff I have as not supporting the feature (which is true). The problem for me is in having known good code which will do the job. Calling this using SystemPowerCapabilities brings back or sends a structure, which seems to have the following interesting parts:
BOOLEAN ProcessorThrottle; BYTE ProcessorMinThrottle; BYTE ProcessorMaxThrottle;
From the documentation:
If this member is TRUE, the system supports processor throttling.
The minimum level of system processor throttling supported, expressed as a percentage.
The maximum level of system processor throttling supported, expressed as a percentage.
Of course it looks promising (set some number to the later two where they are equal would effectively "disable" the feature), but really no way to be sure. What I thought was it would be nice to find some code sample on the Internet where someone has done this already and use that, but I really haven't found any code samples either that claim to do the task. Odd thing being that I see it mentioned enough that it would be a useful enough task to more than just a few.
Hope that helps explain where I'm at with the research on things (since I have a little more time now than when I first posted that).
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users