Platform Timer Resolution

How, what, where and why - when using the software.
ghostifish
Posts: 1
Joined: 2019.08.03. 17:06

Platform Timer Resolution

Post by ghostifish »

Is it possible to configure HDSentinel to use the default maximum windows platform timer (15ms) resolution rather than its current/default resolution of 1ms? This would be great for power consumption and efficiency as requesting use of the high precision timer when its not needed is wasteful. Other real-time monitoring software use the low precision timer (15ms) without issue, it would be great if HDS did as well.

Selected extracts from Windows Power Efficiency Diagnostics Report (powercfg.exe /energy)
Warnings

Platform Timer Resolution:Platform Timer Resolution
The default platform timer resolution is 15.6 ms (15625000 ns) and should be used whenever the system is idle. If the timer resolution is increased, processor power management technologies may not be effective. The timer resolution may be increased due to multimedia playback or graphical animations.
Current Timer Resolution (100 ns units) 10000
Maximum Timer Period (100 ns units) 156250

Platform Timer Resolution:Outstanding Timer Request
A program or service has requested a timer resolution smaller than the platform maximum timer resolution.
Requested Period 10000
Requesting Process ID 10988
Requesting Process Path \Device\HarddiskVolume4\Program Files (x86)\Hard Disk Sentinel\HDSentinel.exe

Information

Platform Timer Resolution:Timer Request Stack
The stack of modules responsible for the lowest platform timer setting in this process.
Requested Period 10000
Requesting Process ID 10988
Requesting Process Path \Device\HarddiskVolume4\Program Files (x86)\Hard Disk Sentinel\HDSentinel.exe
Calling Module Stack \Device\HarddiskVolume4\Windows\SysWOW64\ntdll.dll
\Device\HarddiskVolume4\Windows\SysWOW64\kernel32.dll
\Device\HarddiskVolume4\Program Files (x86)\Hard Disk Sentinel\HDSentinel.exe
User avatar
hdsentinel
Site Admin
Posts: 3088
Joined: 2008.07.27. 17:00
Location: Hungary
Contact:

Re: Platform Timer Resolution

Post by hdsentinel »

Generally the highes possible precision used to provide accurate real-time performance data and values on the "Performance" page.
For this, yes, Hard Disk Sentinel uses the high precision timer in order to calculate the numbers correctly.

The idea you wrote seems interesting and would need to examine the possibilities, discuss the details, so please contact in info (at) hdsentinel (dot) com
phc900
Posts: 1
Joined: 2024.09.06. 20:46

Re: Platform Timer Resolution

Post by phc900 »

Same issue here

HDSentinel is run as a windows service with no GUI interaction.
The only job here is to periodicaly read S.M.A.R.T. data and alert me on issues. For this use case, it is not necessary to diminish power efficiency of the whole PC (turned on 24/7).

I would like to be able to, at least, choose for myself if windows default timer resolution should be overrriden.


Warnings

Code: Select all

Platform Timer Resolution:Outstanding Timer Request
A program or service has requested a timer resolution smaller than the platform maximum timer resolution.
Requested Period	10000
Requesting Process ID	7072
Requesting Process Path	\Device\HarddiskVolume3\Program Files (x86)\Hard Disk Sentinel\HDSentinel.exe
Information
Platform Timer Resolution:Platform Timer Resolution

Code: Select all

The default platform timer resolution is 15.6ms (15625000ns) and should be used whenever the system is idle. 
If the timer resolution is increased, processor power management technologies may not be effective. 
The timer resolution may be increased due to multimedia playback or graphical animations.
Current Timer Resolution (100ns units)	156250
Platform Timer Resolution:Timer Request Stack

Code: Select all

The stack of modules responsible for the lowest platform timer setting in this process.
Requested Period	10000
Requesting Process ID	7072
Requesting Process Path	\Device\HarddiskVolume3\Program Files (x86)\Hard Disk Sentinel\HDSentinel.exe
Calling Module Stack	\Device\HarddiskVolume3\Windows\SysWOW64\ntdll.dll
\Device\HarddiskVolume3\Windows\SysWOW64\kernel32.dll
\Device\HarddiskVolume3\Program Files (x86)\Hard Disk Sentinel\HDSentinel.exe
Post Reply