Another look at HPET High Precision Event Timer

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

  1. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,604
    Likes Received:
    13,611
    GPU:
    GF RTX 4070
    kelzthetraxer likes this.
  2. Hook

    Hook Active Member

    Messages:
    57
    Likes Received:
    0
    GPU:
    GTX 1060 6GB
    hello, I have got hpet disabled in bios but it still remains in device manager, is this expected behaviour? I tried uninstalling it and it reappeared again. I have seen a picture here previously of users computer without hpet on IRQ(0) only system timer, how did he achieved that?
     
  3. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,604
    Likes Received:
    13,611
    GPU:
    GF RTX 4070
    I have no idea. I have never tried to disable it in Device Manager.
     
  4. Terepin

    Terepin Guest

    Messages:
    873
    Likes Received:
    129
    GPU:
    ASUS RTX 4070 Ti
    I have a small issue. After I delete useplatformclock, it tends to come come back for some reason. Anyone have idea why is that?
     

  5. Cyberdyne

    Cyberdyne Guest

    Messages:
    3,580
    Likes Received:
    308
    GPU:
    2080 Ti FTW3 Ultra
    Deleting the value should make windows repopulate the setting with the default setting. Not totally get rid of it.
     
  6. Terepin

    Terepin Guest

    Messages:
    873
    Likes Received:
    129
    GPU:
    ASUS RTX 4070 Ti
    So how can I disable it permanently?
     
  7. Astyanax

    Astyanax Ancient Guru

    Messages:
    17,035
    Likes Received:
    7,378
    GPU:
    GTX 1080ti
    no, its totally gotten rid of. the bootloader's defaults are hard coded.
     
  8. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,604
    Likes Received:
    13,611
    GPU:
    GF RTX 4070
    Just delete with bcdedit.exe until it disappears...
     
  9. Guru3Dmember

    Guru3Dmember Active Member

    Messages:
    89
    Likes Received:
    15
    GPU:
    6900XT
    What's the difference between TSC Legacy, Default, and Enhanced?
     
  10. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,604
    Likes Received:
    13,611
    GPU:
    GF RTX 4070
    We only know the context - the synchronization of TSCs across CPU cores.
     
    Guru3Dmember likes this.

  11. Smough

    Smough Master Guru

    Messages:
    984
    Likes Received:
    303
    GPU:
    GTX 1660
    bcdedit /deletevalue useplatformclock
     
  12. Terepin

    Terepin Guest

    Messages:
    873
    Likes Received:
    129
    GPU:
    ASUS RTX 4070 Ti
    It keeps coming back, so the only way is to disable instead of removing it.
     
  13. PowerK

    PowerK Master Guru

    Messages:
    665
    Likes Received:
    252
    GPU:
    RTX 4090 FE
    No, it does not. I disabled HPET in BIOS and bcdedit /deletevalue useplatformclock gives 'no element found' which means HPET is disabled for good.
     
  14. Terepin

    Terepin Guest

    Messages:
    873
    Likes Received:
    129
    GPU:
    ASUS RTX 4070 Ti
    It does for me. It simply reappears on its own after few days.
     
  15. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,604
    Likes Received:
    13,611
    GPU:
    GF RTX 4070
    "no element found" means that you removed the manually turned on/off setting from BCD configuration. It does not mean that HPET is disabled.
     

  16. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,604
    Likes Received:
    13,611
    GPU:
    GF RTX 4070
    Maybe some software does that on your rig.
     
  17. Terepin

    Terepin Guest

    Messages:
    873
    Likes Received:
    129
    GPU:
    ASUS RTX 4070 Ti
    Maybe. But as I said, setting it to disabled keeps it off permanently.
     
  18. Smough

    Smough Master Guru

    Messages:
    984
    Likes Received:
    303
    GPU:
    GTX 1660
    Disabling in BIOS is a terrible idea, bcdedit /deletevalue useplatformclock is to set platformclock to factory settings, which means Windows will only use it if some programs need it or for stability in those programs, if not, Windows will not use it since it probably knows it's too slow for certain apps. But just forbidding Windows from using it out of pure paranoia or believeing you will get some latency benefits makes no sense at all.

    Either way, when you install Windows, without any changes, bcdedit /deletevalue useplatformclock is the default value. Or automatic, which as I said, Windows will only use it on needed programs and it will "summon" it from your motherboard.
     
  19. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,604
    Likes Received:
    13,611
    GPU:
    GF RTX 4070
    Your explanation is awkward a bit. "useplatformclock" is not about using HPET everywhere in Windows. It is about using any platform clock (timer, counter) as an implementation of two Win API functions - QueryPerformanceFrequency and QueryPerformaceCounter. When you force "useplatformclock yes" Windows looks for all available platform timers - timers outside the CPU (cores) - and chooses most appropriate for these two functions.
    Any (enabled) platform clock can be used directly from OS kernel by any code.

    PS When you force "useplatformclock no" only TSC - timer inside the CPU (cores) - will be used for QPF/QPC functions, but all (enabled) platform timers are still available to any OS kernel code.
     
    Guru3Dmember likes this.
  20. PowerK

    PowerK Master Guru

    Messages:
    665
    Likes Received:
    252
    GPU:
    RTX 4090 FE
    I think it does. Because I've never removed it manually.
     

Share This Page