Surprising Observation! HPET On vs. Off

Everything about latency. This section is mainly user/consumer discussion. (Peer-reviewed scientific discussion should go in Laboratory section). Tips, mouse lag, display lag, game engine lag, network lag, whole input lag chain, VSYNC OFF vs VSYNC ON, and more! Input Lag Articles on Blur Busters.
akylen
Posts: 165
Joined: 02 Jan 2021, 11:59

Re: Surprising Observation! HPET On vs. Off

Post by akylen » 24 Apr 2023, 20:53

For me with HPET On , my whole computer is lagging even on windows , its like my computer is slow can't even open a TAB

CPU = I7 10700K

Any idea why ?

Thanks.

User avatar
Slender
Posts: 1848
Joined: 25 Jan 2020, 17:55

Re: Surprising Observation! HPET On vs. Off

Post by Slender » 24 Apr 2023, 22:07

akylen wrote: ↑
24 Apr 2023, 20:53
For me with HPET On , my whole computer is lagging even on windows , its like my computer is slow can't even open a TAB

CPU = I7 10700K

Any idea why ?

Thanks.
because useplatformclock yes

User avatar
Tiberiusmoon
Posts: 154
Joined: 10 Feb 2023, 05:05

Re: Surprising Observation! HPET On vs. Off

Post by Tiberiusmoon » 25 Apr 2023, 05:06

Looking at the subject matter, you don't need to use a game to determine if there is an improvement if your have LatencyMon.

If these two commands are enabled it can cause significant Latency, so input these in the Command prompt and restart your system:

bcdedit /set useplatformclock No
bcdedit /set disabledynamictick Yes

Before:
Image

After:
Image

Disable HPET:
Image

When you remove the timer restrictions it becomes a matter of removing Power saving functions.

This is after my GPU is locked in P0 state: (the DPC latency report is significantly delayed on the GPU which means less latency spikes)
Image

Power saving functions reduce clocks or limit usage in some way, there is latency between moving from a P5 state to P0 which is why disabling power saving functions are important.
If possible, its better to have such power saving functions disable only when playing games as your idle wattage can double.

FPSMaster
Posts: 189
Joined: 04 Jun 2021, 20:39

Re: Surprising Observation! HPET On vs. Off

Post by FPSMaster » 25 Apr 2023, 05:14

akylen wrote: ↑
24 Apr 2023, 20:53
For me with HPET On , my whole computer is lagging even on windows , its like my computer is slow can't even open a TAB

CPU = I7 10700K

Any idea why ?

Thanks.
I had the exact same problem, when I had HPET On. Windows felt really unresponsive. Opening Programs was really slow. Tabbing out of Games was slow. Disabling HPET fixed all of these Problems.

FPSMaster
Posts: 189
Joined: 04 Jun 2021, 20:39

Re: Surprising Observation! HPET On vs. Off

Post by FPSMaster » 25 Apr 2023, 05:22

Tiberiusmoon wrote: ↑
25 Apr 2023, 05:06
Looking at the subject matter, you don't need to use a game to determine if there is an improvement if your have LatencyMon.

If these two commands are enabled it can cause significant Latency, so input these in the Command prompt and restart your system:

bcdedit /set useplatformclock No
bcdedit /set disabledynamictick Yes

Before:
Image

After:
Image

Disable HPET:
Image

When you remove the timer restrictions it becomes a matter of removing Power saving functions.

This is after my GPU is locked in P0 state: (the DPC latency report is significantly delayed on the GPU which means less latency spikes)
Image

Power saving functions reduce clocks or limit usage in some way, there is latency between moving from a P5 state to P0 which is why disabling power saving functions are important.
If possible, its better to have such power saving functions disable only when playing games as your idle wattage can double.
Thats crazy! I had similar Latencymon Results, but not as big of a difference as you had...
Can you tell me, how do I put my GPU in P0 State?
Last edited by FPSMaster on 25 Apr 2023, 05:23, edited 1 time in total.

eropsy
Posts: 57
Joined: 03 Jan 2023, 09:09
Location: Earth

Re: Surprising Observation! HPET On vs. Off

Post by eropsy » 25 Apr 2023, 05:22

what if i dont have hpet setting in my bios (asus prime z270k) is that means that i cant disable it? https://imgur.com/jxnyA3j no platformclock on my system

FPSMaster
Posts: 189
Joined: 04 Jun 2021, 20:39

Re: Surprising Observation! HPET On vs. Off

Post by FPSMaster » 25 Apr 2023, 05:40

eropsy wrote: ↑
25 Apr 2023, 05:22
what if i dont have hpet setting in my bios (asus prime z270k) is that means that i cant disable it?
It's recommended to disable HPET only trough Windows CMD and Device Manager.
It's important to use the correct Command Prompts. Also, it's important to NOT use Timer Resolution Programs, because that doesn't work anymore for Windows after Version 1905.


How to disable HPET:

1. Open Command Prompt as Admin

2. Insert these Commands:
bcdedit /deletevalue useplatformclock
bcdedit /set useplatformtick yes
bcdedit /set disabledynamictick yes
bcdedit /set tscsyncpolicy enhanced

3. Exit out of Command Prompt

4. Open Device Manager and disable "High Precision Event Timer"

5. Restart PC

eropsy
Posts: 57
Joined: 03 Jan 2023, 09:09
Location: Earth

Re: Surprising Observation! HPET On vs. Off

Post by eropsy » 25 Apr 2023, 05:47

FPSMaster wrote: ↑
25 Apr 2023, 05:40
eropsy wrote: ↑
25 Apr 2023, 05:22
what if i dont have hpet setting in my bios (asus prime z270k) is that means that i cant disable it?
It's recommended to disable HPET only trough Windows CMD and Device Manager.
It's important to use the correct Command Prompts. Also, it's important to NOT use Timer Resolution Programs, because that doesn't work anymore for Windows after Version 1905.


How to disable HPET:

1. Open Command Prompt as Admin

2. Insert these Commands:
bcdedit /deletevalue useplatformclock
bcdedit /set useplatformtick yes
bcdedit /set disabledynamictick yes
bcdedit /set tscsyncpolicy enhanced

3. Exit out of Command Prompt

4. Open Device Manager and disable "High Precision Event Timer"

5. Restart PC
C:\Windows\system32>bcdedit /deletevalue useplatformclock
An error occurred while attempting to delete the specified data element.
Element not found.
Interesting thing when i disable hpet only thru device manager my mouse movements so smooth like it should be no floaty but game itself get fps drops
Last edited by eropsy on 25 Apr 2023, 05:49, edited 1 time in total.

FPSMaster
Posts: 189
Joined: 04 Jun 2021, 20:39

Re: Surprising Observation! HPET On vs. Off

Post by FPSMaster » 25 Apr 2023, 05:49

eropsy wrote: ↑
25 Apr 2023, 05:47
FPSMaster wrote: ↑
25 Apr 2023, 05:40
eropsy wrote: ↑
25 Apr 2023, 05:22
what if i dont have hpet setting in my bios (asus prime z270k) is that means that i cant disable it?
It's recommended to disable HPET only trough Windows CMD and Device Manager.
It's important to use the correct Command Prompts. Also, it's important to NOT use Timer Resolution Programs, because that doesn't work anymore for Windows after Version 1905.


How to disable HPET:

1. Open Command Prompt as Admin

2. Insert these Commands:
bcdedit /deletevalue useplatformclock
bcdedit /set useplatformtick yes
bcdedit /set disabledynamictick yes
bcdedit /set tscsyncpolicy enhanced

3. Exit out of Command Prompt

4. Open Device Manager and disable "High Precision Event Timer"

5. Restart PC
C:\Windows\system32>bcdedit /deletevalue useplatformclock
An error occurred while attempting to delete the specified data element.
Element not found.
That's normal and everyone gets that error. As long as you don't get an error with the other Command Lines, its ok. You can ignore it :)

eropsy
Posts: 57
Joined: 03 Jan 2023, 09:09
Location: Earth

Re: Surprising Observation! HPET On vs. Off

Post by eropsy » 25 Apr 2023, 06:03

FPSMaster wrote: ↑
25 Apr 2023, 05:49
eropsy wrote: ↑
25 Apr 2023, 05:47
FPSMaster wrote: ↑
25 Apr 2023, 05:40
eropsy wrote: ↑
25 Apr 2023, 05:22
what if i dont have hpet setting in my bios (asus prime z270k) is that means that i cant disable it?
It's recommended to disable HPET only trough Windows CMD and Device Manager.
It's important to use the correct Command Prompts. Also, it's important to NOT use Timer Resolution Programs, because that doesn't work anymore for Windows after Version 1905.


How to disable HPET:

1. Open Command Prompt as Admin

2. Insert these Commands:
bcdedit /deletevalue useplatformclock
bcdedit /set useplatformtick yes
bcdedit /set disabledynamictick yes
bcdedit /set tscsyncpolicy enhanced

3. Exit out of Command Prompt

4. Open Device Manager and disable "High Precision Event Timer"

5. Restart PC
C:\Windows\system32>bcdedit /deletevalue useplatformclock
An error occurred while attempting to delete the specified data element.
Element not found.
That's normal and everyone gets that error. As long as you don't get an error with the other Command Lines, its ok. You can ignore it :)
ok i applied this settings restarted pc went to csgo dm and the difference is that my mouse is more responsive no floaty effect (which i had before) but my fps dropped, i get like 30fps less than usual (i7 7700k cpu)

Post Reply