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:
    11,118
    Likes Received:
    8,612
    GPU:
    GF RTX 2070 Super
    kelzthetraxer likes this.
  2. mbk1969

    mbk1969 Ancient Guru

    Messages:
    11,118
    Likes Received:
    8,612
    GPU:
    GF RTX 2070 Super
    kelzthetraxer likes this.
  3. 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?
     
  4. mbk1969

    mbk1969 Ancient Guru

    Messages:
    11,118
    Likes Received:
    8,612
    GPU:
    GF RTX 2070 Super
    I have no idea. I have never tried to disable it in Device Manager.
     

  5. Terepin

    Terepin Master Guru

    Messages:
    792
    Likes Received:
    71
    GPU:
    ASUS RTX 3070 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?
     
  6. Cyberdyne

    Cyberdyne Ancient Guru

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

    Terepin Master Guru

    Messages:
    792
    Likes Received:
    71
    GPU:
    ASUS RTX 3070 Ti
    So how can I disable it permanently?
     
  8. Astyanax

    Astyanax Ancient Guru

    Messages:
    11,305
    Likes Received:
    4,242
    GPU:
    GTX 1080ti
    no, its totally gotten rid of. the bootloader's defaults are hard coded.
     
  9. mbk1969

    mbk1969 Ancient Guru

    Messages:
    11,118
    Likes Received:
    8,612
    GPU:
    GF RTX 2070 Super
    Just delete with bcdedit.exe until it disappears...
     
  10. Guru3Dmember

    Guru3Dmember Member

    Messages:
    49
    Likes Received:
    4
    GPU:
    6Gb
    What's the difference between TSC Legacy, Default, and Enhanced?
     

  11. mbk1969

    mbk1969 Ancient Guru

    Messages:
    11,118
    Likes Received:
    8,612
    GPU:
    GF RTX 2070 Super
    We only know the context - the synchronization of TSCs across CPU cores.
     
    Guru3Dmember likes this.
  12. Smough

    Smough Master Guru

    Messages:
    639
    Likes Received:
    112
    GPU:
    GTX 1060 3GB
    bcdedit /deletevalue useplatformclock
     
  13. Terepin

    Terepin Master Guru

    Messages:
    792
    Likes Received:
    71
    GPU:
    ASUS RTX 3070 Ti
    It keeps coming back, so the only way is to disable instead of removing it.
     
  14. PowerK

    PowerK Master Guru

    Messages:
    487
    Likes Received:
    78
    GPU:
    RTX 3090 HOF
    No, it does not. I disabled HPET in BIOS and bcdedit /deletevalue useplatformclock gives 'no element found' which means HPET is disabled for good.
     
  15. Terepin

    Terepin Master Guru

    Messages:
    792
    Likes Received:
    71
    GPU:
    ASUS RTX 3070 Ti
    It does for me. It simply reappears on its own after few days.
     

  16. mbk1969

    mbk1969 Ancient Guru

    Messages:
    11,118
    Likes Received:
    8,612
    GPU:
    GF RTX 2070 Super
    "no element found" means that you removed the manually turned on/off setting from BCD configuration. It does not mean that HPET is disabled.
     
  17. mbk1969

    mbk1969 Ancient Guru

    Messages:
    11,118
    Likes Received:
    8,612
    GPU:
    GF RTX 2070 Super
    Maybe some software does that on your rig.
     
  18. Terepin

    Terepin Master Guru

    Messages:
    792
    Likes Received:
    71
    GPU:
    ASUS RTX 3070 Ti
    Maybe. But as I said, setting it to disabled keeps it off permanently.
     
  19. Smough

    Smough Master Guru

    Messages:
    639
    Likes Received:
    112
    GPU:
    GTX 1060 3GB
    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.
     
  20. mbk1969

    mbk1969 Ancient Guru

    Messages:
    11,118
    Likes Received:
    8,612
    GPU:
    GF RTX 2070 Super
    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.

Share This Page