"Christmas - the time to fix the computers of your loved ones" « Lord Wyrm

The HPET bug: What it is and what it isn't

mat 26.04.2018 - 11:30 210649 59 Thread rating
Posts

wasaki

Bloody Newbie
Registered: Aug 2021
Location: Dubai
Posts: 5
Can you tell me know how upload results ?

mat

Administrator
Legends never die
Avatar
Registered: Aug 2003
Location: nö
Posts: 25430
New Reply here in the forums and upload a screenshot where it says "Attach file".

wasaki

Bloody Newbie
Registered: Aug 2021
Location: Dubai
Posts: 5
I don't know why it's showing half pic.

wasaki

Bloody Newbie
Registered: Aug 2021
Location: Dubai
Posts: 5
Zitat aus einem Post von wasaki
I don't know why it's showing half pic.

mat

Administrator
Legends never die
Avatar
Registered: Aug 2003
Location: nö
Posts: 25430
This score looks normal for iTSC.

wasaki

Bloody Newbie
Registered: Aug 2021
Location: Dubai
Posts: 5
Thanks do you know how to unlock timer call/s under Game test ? because once it was 1,600,000 and my gameplay was very smooth .

mat

Administrator
Legends never die
Avatar
Registered: Aug 2003
Location: nö
Posts: 25430
Depends heavily on the GPU and resolution. Maybe you selected 640x480? More frames/seconds, more timer calls.

The game test is here to see the average frame time and therefor stuttering.

P2FX

Bloody Newbie
Registered: Dec 2021
Location: UTC+8
Posts: 1
I want to share my results with Zen 3:
timerbench_256558.png
Much better synthetic throughput and much less frametime spike with it off.

But honestly I don't notice much difference playing games, except emulators, Xenia(the Xbox 360 emulator)runs much worse with it on:
click to enlarge
VS. off:
click to enlarge

KirkH420

Bloody Newbie
Registered: Sep 2022
Location: none
Posts: 1
Apparently, my HPET was already off.
It's very possible that I disabled it some previous attempt at tuning my PC performance.

Although, device manager did not reflect this "High Precision timer" was enabled here, and I don't believe I disabled it in BIOS simply because my bios on this ASUS machine is absolute garbage. It's got none of the things most gaming BIOS would have. Probably the worst part about the 2021 ROG G15 Zephyrus (labeled a gaming laptop) is it's crappy BIOS.

... but your program's GUI was displaying the "Enable HPET" button the first time that I ran the software. I ran a test, it said my HPET was 10.0 Mhz. Things seemed to work, I could see test results.

Then I pressed the button "Enable HPET" and my PC rebooted.
When I came back to TimerBench, now there is a button "Disable HPET" and the weird part is, the tests cannot be run anymore. There is a greyed-out button that just says "Initializing" and it never changes.

So apparently HPET was previously disabled on my machine and I just enabled it, and it seems when HPET is enabled on my machine, your TimerBench does not run. I'll just turn this back off now, as I'm pretty sure I don't want it enabled.

Machine specs:
ASUS G15 Zephyrus
CPU: Ryzen 9 4900HS
RAM: 16GB DDR4
GPU: RTX2060 Max-Q
vRAM: 6GB GDDR6
Bearbeitet von KirkH420 am 05.09.2022, 04:57 (To include pc specs)

Rogaahl

Super Moderator
interrupt
Avatar
Registered: Feb 2014
Location: K
Posts: 2334
In der neuesten mesa Version gab es anscheinend auch Probleme mit HPET. Schade, dass man es heute im vielen UEFIs nicht mehr einfach deaktivieren kann.

Sarjantd

Bloody Newbie
Registered: Dec 2023
Location: Turkey
Posts: 1
Please help.
Timer calls/s value then bigger, the better?

mat

Administrator
Legends never die
Avatar
Registered: Aug 2003
Location: nö
Posts: 25430
Yes. More calls means less latency per call. Less latency means your CPU and GPU will be less bottlenecked.

iONFURY

Bloody Newbie
Registered: Sep 2024
Location: Germany
Posts: 2
Zitat aus einem Post von mat
Yes. More calls means less latency per call. Less latency means your CPU and GPU will be less bottlenecked.

hello mat. i recently found your app timerbench and i have some questions about it.

how does your app relate to what is defined and listed in bcdedit.

the commands in question are:

tscsyncpolicy
useplatformclock
useplatformtick
disabledynamictick

does your app read or change these settings to determine or define whether hpet is enabled or disabled?

when clicking on the button in the app to disable or enable hpet what does your app exactly do or change, what methods or commands are exactly issued?

from melodys tweaks there are several combos for different timer compositions:

https://sites.google.com/view/melod...rs-hpet-tsc-pmt

TSC + TSC without desync: bcdedit /deletevalue useplatformclock - bcdedit /deletevalue useplatformtick - make sure HPET is enabled in BIOS

TSC + RTC: bcdedit /deletevalue useplatformclock - bcdedit /set useplatformtick Yes

HPET + RTC: bcdedit /set useplatformclock Yes - bcdedit /set useplatformtick Yes - make sure HPET is enabled in BIOS

PMT + RTC: bcdedit /set useplatformclock Yes - bcdedit /set useplatformtick Yes - make sure HPET is disabled in BIOS

so in order to use your app would i have to delete all bcdedits first or can i just run your app and toggle hpet on / off while leaving bcdedit entries untouched?

i imagine it would probably be best to delete the entries first before running your app or making changes with it but in my research i have also found that the same settings that define the hpet status are hidden from and inacessible to the user in another location.

ive also found that making changes manually to the bcdedit it can invoke a change to the system that can not be reverted anymore unless the os is reinstalled.

are there any dangers from using your app or is it safe to use?

thank you and kind regards

mat

Administrator
Legends never die
Avatar
Registered: Aug 2003
Location: nö
Posts: 25430
Only useplatformclock is used to enable/disable HPET. And it's only done when you want to switch between TSC and HPET.

TimerBench is not a tweak software. It provides two benchmarks to determine if your timer settings are bottlenecking your game performance.

So you can try all of the toggles above and check if they have any influence.

iONFURY

Bloody Newbie
Registered: Sep 2024
Location: Germany
Posts: 2
Zitat aus einem Post von mat
Only useplatformclock is used to enable/disable HPET. And it's only done when you want to switch between TSC and HPET.

TimerBench is not a tweak software. It provides two benchmarks to determine if your timer settings are bottlenecking your game performance.

So you can try all of the toggles above and check if they have any influence.

thank you very much thats very useful information.

as was shown in your initial post an unsuitable timer will lead to low utilization of gpu load subsequently resulting in lower fps.

so i assume that as long as the gpu load is high enough (ca. 95-98%) there likely is no issue with the selected timer, is that correct?

these are my results btw, gpu load goes even off the chart / above 100:

https://www.techpowerup.com/forums/...et3-png.361808/

my settings are:

hpet enabled in bios

tscsyncpolicy Enhanced
useplatformclock Yes
useplatformtick Yes
disabledynamictick Yes
Bearbeitet von iONFURY am 25.09.2024, 09:37 (added timerbench result)
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz