Click here to Skip to main content
16,005,339 members
Home / Discussions / Mobile
   

Mobile

 
GeneralVS2005 Smartphone2003 project Pin
Adnan Siddiqi26-Jun-05 4:41
Adnan Siddiqi26-Jun-05 4:41 
GeneralRe: VS2005 Smartphone2003 project Pin
MKlucher5-Jul-05 6:51
MKlucher5-Jul-05 6:51 
GeneralMobile device ID as a client Pin
Utku KAYA25-Jun-05 2:35
Utku KAYA25-Jun-05 2:35 
GeneralRe: Mobile device ID as a client Pin
Utku KAYA25-Jun-05 2:40
Utku KAYA25-Jun-05 2:40 
GeneralAsynchronous Mystery Pin
DiscoJimmy22-Jun-05 8:57
DiscoJimmy22-Jun-05 8:57 
Generalusing ActiveX control Pin
Member 187781622-Jun-05 0:28
Member 187781622-Jun-05 0:28 
GeneralWince Message Queues Opening Error Pin
indianstar21-Jun-05 0:29
indianstar21-Jun-05 0:29 
GeneralProblems controlling CPU frequency on laptops with 533 MHz FSB Pin
Vitaly Kashkarov19-Jun-05 21:34
Vitaly Kashkarov19-Jun-05 21:34 
We use presice timing in our program for timestamping different events. We rely on processor frequency measurements to get high accuracy results. When we ported our program to laptop we had to deal with Power Measurement to guarantee that CPU runs at maximum frequency. We’ve created own power scheme that gets activated by the program and lasts for its lifetime.
This power scheme has the following settings (the same for AC and DC):

POWER_POLICY power_policy;<br />
<br />
// Disable throttling <br />
power_policy.user.ForcedThrottleAc = 100;<br />
power_policy.user.FanThrottleToleranceAc = 100;<br />
<br />
// Disable idle timeout <br />
power_policy.user.IdleTimeoutAc = 0;<br />
<br />
// Set idle sencitivity threshold in % of CPU activity<br />
power_policy.user.IdleSensitivityAc = 1;<br />
<br />
// Set processor dynamic throttling policy <br />
power_policy.user.ThrottlePolicyAc = PO_THROTTLE_NONE;<br />
<br />
// Set preference of using a fan to throttling<br />
power_policy.user.OptimizeForPowerAc = TRUE;<br />
<br />
<br />
MACHINE_PROCESSOR_POWER_POLICY processor_power_policy;<br />
<br />
processor_power_policy.ProcessorPolicyAc.DynamicThrottle = PO_THROTTLE_NONE;<br />


This power scheme when activated keeps CPU at its maximum frequency.

That was the case until we started working with the newest laptops based on Pentium M 760. The settings in the power scheme above do not prevent the processor from throttling.

I’ve got a test that measures time between two external events and counts the number of processor clocks using RDTSC instruction.
If executing on a laptop based on Pentium M 755 (2GHz, 400 MHz FSB), the test shows that with the power scheme (see the settings above) activated the processor runs at top frequency all the time, no matter what CPU load is.
The same test running on a laptop based on Pentium M 760 (2GHz, 533 MHz FSB), or on Pentium M 770 (2.13GHz, 533 MHz FSB) shows that frequency goes up and down depending on CPU load.

Please, give me a hint on what I can do to keep CPU frequency at its maximum.

I’ve also checked BIOS settings, the only two options available are dynamic frequency switching and always low.

All laptops run Windows XP Pro SP2, we write the code in C++.

Any ideas are welcome.


Vitaly Kashkarov
GeneralC#: Modifying existing dialogs (p/invoke) Pin
ben ogle17-Jun-05 12:54
ben ogle17-Jun-05 12:54 
QuestionScaling JPEG in evc4? Pin
rammle16-Jun-05 20:05
rammle16-Jun-05 20:05 
AnswerRe: Scaling JPEG in evc4? Pin
Anonymous22-Jun-05 9:36
Anonymous22-Jun-05 9:36 
GeneralMerge Replication (SqlCe) - Avoid full replication run Pin
Seraphin16-Jun-05 2:37
Seraphin16-Jun-05 2:37 
GeneralCF listview sort &amp; Arrows Pin
aixin15-Jun-05 12:28
aixin15-Jun-05 12:28 
GeneralWCE_INS WCE_DEL &amp; IrDA Pin
D.J.Deky15-Jun-05 3:35
D.J.Deky15-Jun-05 3:35 
GeneralUploading file using Pocket IE Pin
Bill Ferreira14-Jun-05 2:41
Bill Ferreira14-Jun-05 2:41 
GeneralPocket PC 2002 SDK: how to remove Pin
kgeza713-Jun-05 23:04
kgeza713-Jun-05 23:04 
GeneralAdvanced WinINet - Please HELP! Pin
patrick__b13-Jun-05 2:41
patrick__b13-Jun-05 2:41 
QuestionGet raw data in CBitmap?? Pin
splitend1012-Jun-05 14:04
splitend1012-Jun-05 14:04 
Generalaltering storage mem / program mem, programmaticaly Pin
GDavy9-Jun-05 21:50
GDavy9-Jun-05 21:50 
GeneralRe: altering storage mem / program mem, programmaticaly Pin
João Paulo Figueira10-Jun-05 13:17
professionalJoão Paulo Figueira10-Jun-05 13:17 
GeneralRe: altering storage mem / program mem, programmaticaly Pin
GDavy12-Jun-05 20:17
GDavy12-Jun-05 20:17 
Generalstream embeded vc Pin
_tasleem9-Jun-05 20:35
_tasleem9-Jun-05 20:35 
GeneralRe: stream embeded vc Pin
_tasleem10-Jun-05 22:26
_tasleem10-Jun-05 22:26 
QuestionHow to display an assembly in the Add Reference dialog box Pin
RFID Chris8-Jun-05 7:06
RFID Chris8-Jun-05 7:06 
GeneralPrinting Arabic characters Pin
hdaly8-Jun-05 5:26
hdaly8-Jun-05 5:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.