Trying to reproduce 0.4966ms timer resolution when requesting 0.5ms
Posted: 29 Nov 2026, 18:16
I previously had my system returning a timer resolution of 0.4966ms when requesting 0.5ms, but haven't been able to recreate this since.
Specs:
Between when I was getting 0.4966 and when I started getting 0.5000, the following happened:
I've since tried various BCD configurations, multiple restarts, System Restore, toggling HPET again, etc. with no luck.
Something interesting I found while testing through PowerShell:
Does anyone have any idea what determines whether Windows returns 0.4966 or 0.5000 when requesting 0.5? Could disabling/re-enabling HPET or completely cutting power to the system have affected something?
My goal is to consistently reproduce the behavior where requesting 0.5000ms results in an actual, sustained timer resolution of 0.4966ms.
I know there are mixed opinions on whether 0.4966 is actually beneficial, and that's completely fair. I'm just more interested in understanding why this happens and how to reproduce it.
Would appreciate any ideas or suggestions on what else I could test. Thanks!
Specs:
- Intel Core Ultra 7 270K Plus
- MSI MAG Z890 Tomahawk WiFi
- BIOS 1.AE0
- Windows 11 LTSC 24H2 (26100.9974)
- VBS/Hypervisor disabled
- QPC frequency: 10 MHz
Between when I was getting 0.4966 and when I started getting 0.5000, the following happened:
- Disabled and subsequently re-enabled HPET in Device Manager using PowerShell.
- PC unexpectedly shut off due to a power outage. I then turned off the PSU switch, waited a bit, and turned it back on.
I've since tried various BCD configurations, multiple restarts, System Restore, toggling HPET again, etc. with no luck.
Something interesting I found while testing through PowerShell:
- Requested: 0.5000ms
- NtSetTimerResolution returned: 0.4966ms
- NtQueryTimerResolution shortly afterward: 0.5000ms
- Finest supported resolution: 0.5000ms
Does anyone have any idea what determines whether Windows returns 0.4966 or 0.5000 when requesting 0.5? Could disabling/re-enabling HPET or completely cutting power to the system have affected something?
My goal is to consistently reproduce the behavior where requesting 0.5000ms results in an actual, sustained timer resolution of 0.4966ms.
I know there are mixed opinions on whether 0.4966 is actually beneficial, and that's completely fair. I'm just more interested in understanding why this happens and how to reproduce it.
Would appreciate any ideas or suggestions on what else I could test. Thanks!