TWEAK: Enable HPET (in BIOS and OS) for better performance and FPS


Recommended Posts

Hi guys, I could not resist joining this forum to add my two cents. HPET made me go nutz, too.

 

 

HPET on/off making a significant difference is definitely NOT snake oil.

 

 

On my previous Win 7 build (DAW only), disabling HPET in BIOS & OS resulted in a DPC latency of comfortable 2 - 4 micro seconds. Before that, the latency rarely ever dropped below 130 micro seconds, which already has been quite good regarding the 270 which I?ve had before I got rid of my nvidia card and its crappy drivers.

 

Not only there were no more drop outs (at reasonable buffer sizes), the whole system was much more responsive. The negative result was that my ASIO load meter got more "nervous/sensitive". Means that the meter in Cubase jumped up and down more than before when it was slightly higher but also more stable.

 

I?ve dealt quite a while with the HPET thing and have come to the conclusion, that HPET is neither the "best timer" nor the worst. Computers are not interested in having the timer "ring" every 1000 or 976 or whatever when. They have no personal preference and don?t care about the output. Just about the processing itself. So the important thing is to have as many timers as possible as this means more potential moments to generate interrupts.

 

["...interrupts can be missed if the target time has already passed"]  the wiki link

 

Enabling HPET & using "bcdedit..... true" to force Windows to use only one timer seems absurd. More

 

Just think of it as drinking in a bar where two out of three waitresses have been fired and the one who?s left may be extremely punctual at appearing only once per hour. One of the former waitresses (which meanwhile are unemployed and hungry) could have come your way already 45 minutes after your last beer order. That?s when you were supposed to generate that one interrupt to quench your thirst.

 

I am aware that there has to be some kind of down side to it. Otherwise, nVidia would not set their drivers to strictly induce a latency of 255 micro seconds instead of matching it with the PCI Latency Setting found in BIOS. Maybe this allows a more stable framerate (not a faster one!), like slaves on a galley working their paddles to the decent but steady beat of the drummer. Less strokes, but more load per stroke.

 

While its benefits/disadvantages depend on each single person?s needs, its influence on the computer at the bare system level has to be clearly explainable. There is no place for "every setup is different, so this function does whatever its wants to do", computers don?t work this way.

 

For me, disabling it much more serves my needs as constantly keeps my snake oiled.

 

 

Cheers from Germany

 

'Nuff said.

thread is 2 years old, still not a single proof or evidence that this works.

 

on the contrary, all the claims that this works makes me wonder what's the purpose of deceiving people into this?

thread is 2 years old, still not a single proof or evidence that this works.

 

on the contrary, all the claims that this works makes me wonder what's the purpose of deceiving people into this?

Personally, I think it is just the placebo effect instead of subterfuge in many cases. The wintimertest results are enough to convince folks that it must improve speed objectively everywhere. We aren't immune to such things by any means either. We might defrag an HDD and perceive the same thing to be honest. Tricks of the mind. It's similar to people who listen to uncompressed audio (versus XYZ compressed audio) and claim they can hear a difference, yet double blind studies show otherwise. Expectations are everything, huh?

It's similar to people who listen to uncompressed audio (versus XYZ compressed audio) and claim they can hear a difference, yet double blind studies show otherwise. Expectations are everything, huh?

 

well, i can listen to 128kbps audio file and find differences from the same uncompressed format; 320kbps, not so well. Buy i agree with you, even a defrag can make a subtle difference so this is more a placebo effect then anything.

  • Like 1

well, i can listen to 128kbps audio file and find differences from the same uncompressed format; 320kbps, not so well. Buy i agree with you, even a defrag can make a subtle difference so this is more a placebo effect then anything.

Well 128kbps is the questionable line afaik (or 192kbps -- depending on the compression algorithm). It's the higher bit rates where you can't perceive in double blind tests, yet, people claim otherwise.

Well 128kbps is the questionable line afaik (or 192kbps -- depending on the compression algorithm). It's the higher bit rates where you can't perceive in double blind tests, yet, people claim otherwise.

 

well, considering that when i was learning Java i made a small audio program that i could insert two filters:a low-pass and a high-pass; learned pretty quickly i was going to become deaf more faster then i expected lol

How do I disable it?

Can't find it in my bios....

I have a hp laptop.

Help!

 

You don't, If your computer came with Windows, it's already optimized for the hardware.

But it should be in bios!

Why is it not?

Your laptop is probably too new (pretty sure mine doesn't have it either). The only good reason to have the option in the bios was during the early years when the actual hardware implementations weren't well tested or supported.

Your laptop is probably too new (pretty sure mine doesn't have it either). The only good reason to have the option in the bios was during the early years when the actual hardware implementations weren't well tested or supported.

Do you know any other method that reduces lag and improves gaming?

Do you know any other method that reduces lag and improves gaming?

Well you can still force only HPET in Windows (as was outlined here in the first post) using step 2 if your laptop supports it (you just can't turn it off/on in the bios). Note, I am not saying this will improve your performance (I don't believe it will).

Well you can still force only HPET in Windows (as was outlined here in the first post) using step 2 if your laptop supports it (you just can't turn it off/on in the bios). Note, I am not saying this will improve your performance (I don't believe it will).

Can't find that 2nd step... :(

For many years already my HD never scream.  After turn this on:

bcdedit /set useplatformclock true

 

I heard my hard drive screaming.  I mean it has never make any noise before.  So yeah I think I will need to get a new hard drive to back up my data soon and then get back to it's original setting... not turning on the HPET that is.

  • 3 weeks later...

HardBag (or anyone else here),

 

How do I check the BCD on what's the current setting of useplatformclock, before making any changes to the BCD?

 

BTW, I have checked my system to see if Invariant TSC is supported or not. Says it's supported.

So does that mean I don't need to edit my BCD?

 

For those who don't know how to check, here's how:

 

1. Open AIDA64 -> Motherboard -> CPUID
2. Look for the field "Invariant Time Stamp Counter", and check whether it's supported or not.

 

HardBag (or anyone else here),

 

How do I check the BCD on what's the current setting of useplatformclock, before making any changes to the BCD?

 

BTW, I have checked my system to see if Invariant TSC is supported or not. Says it's supported.

So does that mean I don't need to edit my BCD?

 

For those who don't know how to check, here's how:

 

1. Open AIDA64 -> Motherboard -> CPUID
2. Look for the field "Invariant Time Stamp Counter", and check whether it's supported or not.

 

For the first question: type 'bcdedit' on the command line. 'useplatformclock' will appear under the Windows Boot Loader section if it set.

 

For the second question: the TSC is completely separate from the HPET timer. See: http://en.wikipedia.org/wiki/Time_Stamp_Counter. The invariant version of the TSC is an updated version of the TSC on newer processors:

 
17.13.1 Invariant TSC

The time stamp counter in newer processors may support an enhancement, referred to as invariant TSC. 

Processor?s support for invariant TSC is indicated by CPUID.80000007H:EDX[8]. 

 

The invariant TSC will run at a constant rate in all ACPI P-, C-. and T-states. This is the architectural behavior 
moving forward. On processors with invariant TSC support, the OS may use the TSC for wall clock timer services 
(instead of ACPI or HPET timers). TSC reads are much more efficient and do not incur the overhead associated with 

a ring transition or access to a platform resource.

 

--

http://www.intel.com/content/www/us/en/architecture-and-technology/64-ia-32-architectures-software-developer-vol-3b-part-2-manual.html

Look what I found:  useplatformclock [ yes | no ]

Forces the use of the platform clock as the system's performance counter.

Note  This option should only be used for debugging.

http://msdn.microsoft.com/en-us/library/windows/hardware/ff542202(v=vs.85).aspx

  • 1 month later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • It's time to say goodbye to Edge and switch back to Firefox. There's no way to disable the ugly rounded corners that appear everywhere. Not even on the page frame. No one uses screens with rounded corners, you idiots.
    • Being on Github makes it more trustable since I can see the code at any point.
    • Gen Atlas is the next game from Shadow of the Colossus creator, this time with giant robots by Pulasthi Ariyasinghe The mind behind widely well-received games like Ico, Shadow of the Colossus, and The Last Guardian, Fumito Ueda, showed up at Summer Game Fest today, and that was to reveal his latest project. Being developed by genDESIGN, Gen Atlas is incoming with what looks to be plenty of mech and robot action. Watch the reveal trailer, which makes not much sense, above. The game will have players waking up on an abandoned planet where deserted facilities and grand designs from the original creators remain. Soon, they will stumble upon a colossal robot, from which players gain access to the power to change the world. "Across an endless expanse of time, the remnants of those forgotten constructs begin to move once more," adds the studio. The gameplay snippets seen in the trailer show the player character climbing giant robots (as expected from the creator), while also controlling these titans somehow as well. This is a fully single-player open-world adventure. “The team and I are grateful to all the fans who’ve been eager to learn more about our game,” says Fumito Ueda, CEO and creative director of genDESIGN. “Their passion and enthusiasm has always motivated and inspired us. We hope to share an experience that inspires moments of quiet wonder and discovery.” Before gaining the name Gen Atlas, Ueda first announced this project back in 2024 with the codename Project Robot. Interestingly, this will be a project being funded and published by Epic Games, which should mean that a Steam release is out of the question. Gen Atlas will be releasing on Epic Games Store, Xbox Series X|S, and PlayStation 5. A release date has not been announced just yet.
    • How backwards can you have it? Yes, Linux was gaining because of Linux handhelds and the push for gaming compatibility, but that's not desktop users, it barely converts anyone who owns a SteamDeck, though it helps for those who wanted to do it, but anyways, the AI+RAM debacle helped Linux because people can't easily upgrade their PCs easily and many hate AI so they'd be incentivized to try Linux.
    • 🤦🏻‍♂️ No, expected because 10 EOL
  • Recent Achievements

    • Mentor
      grik went up a rank
      Mentor
    • Dedicated
      JKR earned a badge
      Dedicated
    • One Year In
      CHUNWEI earned a badge
      One Year In
    • Conversation Starter
      FBSPL earned a badge
      Conversation Starter
    • Week One Done
      I2D earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      472
    2. 2
      PsYcHoKiLLa
      269
    3. 3
      Skyfrog
      78
    4. 4
      Steven P.
      68
    5. 5
      +Edouard
      61
  • Tell a friend

    Love Neowin? Tell a friend!