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

    • Thanks free chatgpt. The issue is, with most browsers, is you shouldn't need tools to remove anything. It is the whole point of extensions. The only browser so far to man up and be honest that it needs money to function is Brave Origin. Don't like the monetisation and code bloat, have a clean browser for a one off $ charge. Firefox used to be that, but now it is a code bloat browser, hiding AI.
    • Source and more Giles in Buffy! Spooks (MI-5 for the US people)! The Prime Minister in Little Britain!
    • Pick up this lifetime subscription to Babbel Language Learning now at 47% off by Steven Parker Learn all 14 languages and access more than 10,000 hours of high-quality language education online. Today's highlighted deal comes via our Apps + Software section of the Neowin Deals store, where you can pick up a lifetime subscription to Babbel Language Learning at 47% off. Note: Available to U.S. customers & NEW users only. Learn Spanish, French, Italian, German, and many more languages with Babbel, the #1 top-grossing language-learning app in the world. Developed by over 100 expert linguists, Babbel is helping millions of people speak a new language quickly and with confidence. After just one month, you will be able to speak confidently about practical topics, such as transportation, dining, shopping, directions, making friends and socializing and much more! Get lifetime access to learn all 14 languages Practice with 10-15 minute bite-sized lessons that fit conveniently into your schedule Cover a wide range of useful real-life topics, from travel to family, business, food & more Use speech recognition technology to keep your pronunciation on point Learn at a variety of skill levels, from beginner to advanced Get personalized review sessions to reinforce what you learn so it really sticks Study whenever & wherever you want and your progress will be synchronized across your devices Use offline mode to access courses, lessons & review items when not on Wi-Fi—just download them beforehand Languages Available: Spanish (Spain), German, Italian, French, Portuguese, Swedish, Turkish, Dutch, Polish, Indonesian, Norwegian, Danish, Russian, Spanish (Latin America) Good to know Length of access: lifetime Valid for New Users in the USA Only Redemption deadline: redeem your code within 30 days of purchase Please note redemption is required via Web Browser. Access to the mobile app will be available after redemption has been completed via web browser Max number of devices: Unlimited Access options: desktop & mobile Number of languages: 14 (all current languages) Updates included Babbel Language Learning: Lifetime Subscription (All Languages) normally costs $299, but you can pick it up for just $159 for a limited time - that represents a saving of $140. For a full description, specs, and license info, click the link below. Deal Price $159.00 with code LEARN NOTE: For NEW users in the US only. Support queries If you have queries or need support for any of the Neowin Deals, please use the contact form here. Neowin Deals are managed and sold by StackCommerce who represent Neowin on an affiliate basis. Why we post these deals We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. So for those that keep moaning and complaining, be thankful we're still online for you to even do that. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
  • 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
      468
    2. 2
      PsYcHoKiLLa
      256
    3. 3
      Skyfrog
      79
    4. 4
      ATLien_0
      61
    5. 5
      FloatingFatMan
      60
  • Tell a friend

    Love Neowin? Tell a friend!