Another look at HPET High Precision Event Timer

Discussion in 'Videocards - NVIDIA GeForce Drivers Section' started by Bukkake, Sep 18, 2012.

  1. aufkrawall2

    aufkrawall2 Ancient Guru

    Messages:
    4,500
    Likes Received:
    1,875
    GPU:
    7800 XT Hellhound
    I did that and there really is no mentioning in the report of any process requesting a certain timer resolution (I started Crysis 3 without starting Origin first via some way). So it must indeed be Windows (or the video driver?) itself that sets it.
    Though the report is not correct regarding what allegedly is the timer resolution in use after running the command, or it measures it only once before Crysis 3 gets started. It reports 15.6ms, which contradicts other tools and the actual performance.
     
  2. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,604
    Likes Received:
    13,613
    GPU:
    GF RTX 4070
    Which means that at the time of report there was no request for timer resolution.
     
  3. Groot

    Groot Guest

    Messages:
    26
    Likes Received:
    4
    GPU:
    GTX 1080
    FWIW for me, TSC divided by 1024.

    0.1ms works for me but not seeing any real world advantages.

    For me using "useplatformclock no" means not using the HPET counter for QPC but still see's HPET being used for timer and / or interrupt redirection so BIOS setting is still influential. Maybe it works differently for other hardware.
     
  4. Krzyslaw

    Krzyslaw Master Guru

    Messages:
    317
    Likes Received:
    151
    GPU:
    RTX2080S SHUNT MOD
    How are you setting 0.1ms timer resolution ? If I can ask?

    I have set it for 1ms for long time in throttlestop and Everything is great. Recently I tried 0.5ms and in games and there are no harm from it, while my graphics score in FS went up by around 50-100points on my laptop, you say margin of error but when I switched back to 1ms I lost these few points. And I can reproduce that any time. So for now I set it to 0.5ms via islc.

    If it is possible to set it lower like 0.1 I just want to know how to set it as islc lowest is 0.5.
    Just for sake of making few tests.

    Thank you
     

  5. Groot

    Groot Guest

    Messages:
    26
    Likes Received:
    4
    GPU:
    GTX 1080
    By changing the hard coded value in ntoskrnl, saving it under a different name in system32 folder and using a bcdedit /copy with kernel option set. Note however even with self signing and test mode I still need to use windows boot start-up settings to disable driver signatures in order to boot. That's fine though for testing purposes.
     
  6. Krzyslaw

    Krzyslaw Master Guru

    Messages:
    317
    Likes Received:
    151
    GPU:
    RTX2080S SHUNT MOD
    I am not so good at making this just on my own.
    But If you could write me detailed guide I could repeat it on my side with spare ssd with w10 20h1 on it which I
    made for testings with different tweaks first so I am safe with not breaking my main w10 instalation
     
  7. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,604
    Likes Received:
    13,613
    GPU:
    GF RTX 4070
    Do not do that.
     
  8. aufkrawall2

    aufkrawall2 Ancient Guru

    Messages:
    4,500
    Likes Received:
    1,875
    GPU:
    7800 XT Hellhound
    So I finally wasted my time and watched the video by that FR33THY guy, of whom Smough seems to be some kind of advocate (at least this is my conclusion, given he seems to uncritically believe and repeat everything he states).

    He claims that setting tick rate to 0.5ms would be largely beneficial over 1ms, which is totally ridiculous. Of course he doesn't provide any actual examples or numbers (btw. this too reminds me an awful lot of Smough). FFS, just benchmark any actual game in CPU bound scenarios or such which are close to it - zero difference vs. 1ms.

    Then that mouse responsiveness/precision claim regarding system timers: Just another stupid joke. Try some online input lag tester and you will see that none of any of the proclaimed tweaking parameters will improve either reaction time, nor precision at all. To see if there are other issues with mouse input, you can also just drag some windows with mouse acceleration turned off - it should never stutter or jump without any tweaks (best choose any ModernUI window like new system settings, as lots of other windows show minor stuttering when dragging them across screen borders). The conclusion is that there are plenty of input events events available to sufficiently feed your display. I really wonder what kind of crap hardware one needs to get to non-properly working USB input devices (or is it the incompetence when configuring a PC?).

    Well, the best of course is that I need to completely turn off cstates when setting useplatformtick yes, else I get stutter at vsynctester.com in Firefox and also quite worse graphs in Chrome (just in case: HPET enabled in bios only). Of course no game runs any better either.
    10W more idle consumption for 0 benefit vs. perfect result without any retarded Windows "tweaks" to get "even" timer numbers. Amazing!
     
  9. HeavyHemi

    HeavyHemi Guest

    Messages:
    6,952
    Likes Received:
    960
    GPU:
    GTX1080Ti
    This thread is more like a running gag. I've tried out all these different tweaks. Some do cause some performance differences, whether good or bad depends upon your own system and apps/games you are running.
    I've come to the conclusion from personal experience and reading literally thousands of conflicting claims from everyone who claims to be right: the default OS and motherboard settings are the best for 99% of users unless you have a specific use case otherwise.
     
    Smough and Xtreme512 like this.
  10. janos666

    janos666 Ancient Guru

    Messages:
    1,653
    Likes Received:
    407
    GPU:
    MSI RTX3080 10Gb
    How about VT-d ? It's usually disabled by default, even for workstation chipsets and I couldn't figure it out if it has any effect while not using any hypervisors/virtualmachines. I read somewhere that Linux uses it (while running natively and not running VMs) and it is faster than the software alternative (tied to some default security functions) but I am not sure about Windows 10.
     

  11. aufkrawall2

    aufkrawall2 Ancient Guru

    Messages:
    4,500
    Likes Received:
    1,875
    GPU:
    7800 XT Hellhound
    Run benchmarks and see that it's not any beneficial, apart from its dedicated use case.
     
  12. HeavyHemi

    HeavyHemi Guest

    Messages:
    6,952
    Likes Received:
    960
    GPU:
    GTX1080Ti
    How about I'm talking about specifically the topic of this thread and not other settings? Of course there may be settings you need to make in your BIOS specific to your use. You know, like from IDE to AHCI for example. We are not discussing that nor would I be so absurd as to claim the GLOBAL default BIOS settings are the best. Wow...
     
  13. AlexOptimal

    AlexOptimal Guest

    Messages:
    11
    Likes Received:
    0
    GPU:
    GTX 980
    Ok you guys seem like you're the most on top of latency and how to optimize it (even more than FR33THY). I'll get right to the point, what are the most significant tweaks I can do in Windows 10 1909 to lower my latency and do I have to revert to an older version like 1709 to get an even better response time than the one I have today?
     
  14. Cyberdyne

    Cyberdyne Guest

    Messages:
    3,580
    Likes Received:
    308
    GPU:
    2080 Ti FTW3 Ultra
    Nothing specific to any Windows version. The one-size-fits-all answer is things you likely already know about, tried and true methods.
    Higher more consistent FPS, fast monitor refresh rate and response time. Not using Vsync (competitive games), or ideally using Gsync/Freesync with a FPS limit of 3~ FPS below your refresh rate. Try using NULL or Anti-lag. And a good mouse with 1000hz polling to top it off. That's pretty much in order of importance.

    I'm sure I'm missing something there, but if you're on this thread and know who "FR33THY" is, then you're already deep in the rabbit hole. You know these things. If you still have issues, it's probably more appropriate to blame the specific scenario, blame the game and Google around for fixes. It's easy to look in the wrong place on this stuff. There's someone just like you who probably blames their latency issue on the graphics driver version, instead of windows version.

    Now, that's the one-size-fits-all answer. Sometimes there are issues with Windows that require a fix for stutter or latency, like ISLC.
    But when that's the case, it's pretty easy to find consensus on what works and what doesn't. Point is, you won't find your salvation from some random soul on YouTube. Same goes for a single voice on a tech forum.
     
    BetA likes this.
  15. BetA

    BetA Ancient Guru

    Messages:
    4,537
    Likes Received:
    518
    GPU:
    G1-GTX980@1400Mhz
    well, if you wanna go really deep make shure you also did read this here....
    https://www.overclockers.at/number-...-it-is-and-what-it-isnt_251222?postid=3998163

    Article:
    https://www.overclockers.at/articles/the-hpet-bug-what-it-is-and-what-it-isnt

    also, @mbk1969
    what you guys think of this tool?
    TimerBench 1.5

    you can get it on that site, but im pretty shure this tool was allready mentioned here..
    I do find that tool informative, it also has a graph now, for better comparing, wich is really nice...
    screen:
    [​IMG]



    Best Regards
     
    Last edited: Mar 20, 2020

  16. Cyberdyne

    Cyberdyne Guest

    Messages:
    3,580
    Likes Received:
    308
    GPU:
    2080 Ti FTW3 Ultra
    It's a cool tool, but ultimately it was made to help with a question we now already know the answer to, leave HPET off (default).
     
  17. Groot

    Groot Guest

    Messages:
    26
    Likes Received:
    4
    GPU:
    GTX 1080
    Well AFAIK HPET was Microsofts baby and when Vista was launched it was the default for QPC, well it didn't even have a useplatformclock option to turn it off. Then W7 switched to TSC but at the time quite a few people were overclocking bclk through software with programs such as setFSB. That didn't play nice since Windows only did an initial frequency check so many of those guys went back to HPET. FWIW since I'm not an avid gamer then HPET works just fine for me even today.

    When I tried it only appears to check timer resolution once when the program itself is started so not very suitable. W7 and W10 seem to be quite different in how they handle timer resolution. When running unigene Heaven bench W7 appears to switch back and forth from 1ms to 10ms and has a much coarser granularity while W10 switches all over the place and will go down to 0.5ms without intervention or even lower if allowed but we wont talk about that ;)

    Here's sampling 10x a second on W10 with useplatformtick yes/no. Might have to slow it down to see some of the changes.

    [​IMG]

    [​IMG]
     
  18. Astyanax

    Astyanax Ancient Guru

    Messages:
    17,038
    Likes Received:
    7,379
    GPU:
    GTX 1080ti
    no it wasn't and no it wasn't lol.
     
  19. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,604
    Likes Received:
    13,613
    GPU:
    GF RTX 4070
    If it helps then it is nice.
     
  20. Smough

    Smough Master Guru

    Messages:
    984
    Likes Received:
    303
    GPU:
    GTX 1660
    1709 doesn't have anything special, also fr33thy didn't even explain why he picks that version over others, since according to him and his crew the rest are "unstable", even if they are uncapable of giving a reason why whatsoever, they are just dumb. Fr33thy gives some great tweaks on his videos and some helped me a lot, but his behavior is just nonsense at times. If you want to get an older version, get 1803, latest update as it does't have the Standby memory bug anymore and games run fine even with it full and also because Spectre&Meltdown can be removed as an update (you unistall it). All newer version past 1803 have Spectre&Meltdown embeded into the O.S, you can still change the microcode, but the mitigations are still O.S level.
     
    Last edited: Mar 21, 2020

Share This Page