Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › Windows 10 - disable HPET before install and enjoy low latencies!
New Posts  All Forums:Forum Nav:

Windows 10 - disable HPET before install and enjoy low latencies!

post #1 of 21
Thread Starter 
When HPET (High Precision Event Timer) was enabled in BIOS, Windows 8.1 would automatically use it and install system device driver for it. Now I advice to disable HPET because even if you have it enabled in BIOS, Windows 10 won't use it by default, but it will install the system device driver for it. That is GOOD news because Windows 10 finally switched to some other (new?) method of handling latencies and it works much better than HPET!

How do I know? I compared my driver and process latencies between Windows 8.1 and Windows 10 using LatencyMon! The difference is HUGE! Aside from crappy Atheros Qualcom Wi-Fi drivers, my latencies hover between 8-16, at times as high as 20 when Wi-Fi is not in use. In Windows 8.1, my latencies hovered around 30-80ms!
post #2 of 21
Thread Starter 
"Thank you MonarchX", "Its good to know, fellow member", "I'll try it out, dude!", "Another reason to upgrade to Windows 10!"

- You're welcome guys!
post #3 of 21
Well, what does low latency mean to real-world performance?

Kinda uninformed when it comes to these things... tongue.gif
Compact compact
(13 items)
 
HTPC
(11 items)
 
 
CPUMotherboardGraphicsRAM
i5 3570K ASRock Z77 Pro4-M HD 7950 Vapor-X 8GB 1600 
Hard DriveCoolingOSOS
Caviar Blue 1TB Hyper 212 Evo Windows 7 Ultimate Windows 10 Pro 
MonitorKeyboardPowerCase
Cheap Sammy Cheapy Seasonic G550 TJ08-E 
Mouse
Logitech G502  
CPUMotherboardGraphicsRAM
Pentium E5200 DG41WV Integrated 4GB DDR3 
Hard DriveCoolingOSMonitor
WD Blue 500GB Stock Windows 10 Pro Plasma  
PowerCaseAudio
Generic Cheapy Panasonic  
  hide details  
Reply
Compact compact
(13 items)
 
HTPC
(11 items)
 
 
CPUMotherboardGraphicsRAM
i5 3570K ASRock Z77 Pro4-M HD 7950 Vapor-X 8GB 1600 
Hard DriveCoolingOSOS
Caviar Blue 1TB Hyper 212 Evo Windows 7 Ultimate Windows 10 Pro 
MonitorKeyboardPowerCase
Cheap Sammy Cheapy Seasonic G550 TJ08-E 
Mouse
Logitech G502  
CPUMotherboardGraphicsRAM
Pentium E5200 DG41WV Integrated 4GB DDR3 
Hard DriveCoolingOSMonitor
WD Blue 500GB Stock Windows 10 Pro Plasma  
PowerCaseAudio
Generic Cheapy Panasonic  
  hide details  
Reply
post #4 of 21
Thread Starter 
Yes, it lowers chances of any kind of sound & video de-synchronization, lowers frame time (which is good) in games somewhat, improves, overall system responsiveness, reduced CPU overhead. Overall, it means better optimization and driver-OS integration.
post #5 of 21
HPET issues are often isolated, not global. Only a minority of systems have HPET enabled associated latency. Windows 7 (and higher) only utilizes HPET for specific applications designed for that timer (when such applications are running). During normal use, Windows will not use HPET, regardless of it's BIOS setting. For many motherboards, disabling HPET does nothing at all. That's why most X99 motherboards don't come with a HPET setting. The OS and the application determine if and when HPET is active.
X79-GCN
(22 items)
 
  
CPUMotherboardGraphicsRAM
Intel 3930K 4.5GHz HT GIGABYTE GA-X79-UP4 AMD R9-290X GEil Evo Potenza DDR3 2400MHz CL10 (4x4GB) 
Hard DriveCoolingCoolingCooling
Samsung 840 Pro 120GB EK Supremacy (CPU) NF F12's P/P (360 Rad)  NF A14's (420 Rad)  
CoolingCoolingCoolingCooling
XSPC Chrome Compression Fittings EK RES X3 150 Primochill PremoFlex Advanced LRT Clear 1/2 ID EK-FC (R9 290X) 
CoolingCoolingCoolingOS
EK D5 Vario Top-X  Phobya G-Changer V2 360mm Phobya G-Changer V2 420mm Win 10 x64 Pro 
MonitorKeyboardPowerCase
BenQ XR3501 35" Curved Corsair Vengeance K90 Seasonic X-1250 Gold (v2) Corsair 900D 
MouseAudio
Logitech G400s Senn HD 598 
  hide details  
Reply
X79-GCN
(22 items)
 
  
CPUMotherboardGraphicsRAM
Intel 3930K 4.5GHz HT GIGABYTE GA-X79-UP4 AMD R9-290X GEil Evo Potenza DDR3 2400MHz CL10 (4x4GB) 
Hard DriveCoolingCoolingCooling
Samsung 840 Pro 120GB EK Supremacy (CPU) NF F12's P/P (360 Rad)  NF A14's (420 Rad)  
CoolingCoolingCoolingCooling
XSPC Chrome Compression Fittings EK RES X3 150 Primochill PremoFlex Advanced LRT Clear 1/2 ID EK-FC (R9 290X) 
CoolingCoolingCoolingOS
EK D5 Vario Top-X  Phobya G-Changer V2 360mm Phobya G-Changer V2 420mm Win 10 x64 Pro 
MonitorKeyboardPowerCase
BenQ XR3501 35" Curved Corsair Vengeance K90 Seasonic X-1250 Gold (v2) Corsair 900D 
MouseAudio
Logitech G400s Senn HD 598 
  hide details  
Reply
post #6 of 21
Thread Starter 
Quote:
Originally Posted by BradleyW View Post

HPET issues are often isolated, not global. Only a minority of systems have HPET enabled associated latency. Windows 7 (and higher) only utilizes HPET for specific applications designed for that timer (when such applications are running). During normal use, Windows will not use HPET, regardless of it's BIOS setting. For many motherboards, disabling HPET does nothing at all. That's why most X99 motherboards don't come with a HPET setting. The OS and the application determine if and when HPET is active.

Well, I figured it was relevant because when HPET is enabled in BIOS, Windows 7 and Windows 8.1 enable it in themselves during clean install. Windows 10, however, does not enable it even when HPET is turned on in BIOS. Then I noticed latencies are much lower in Windows 10 than in Windows 8.1., using the same exact drivers. I thought that could be due to Windows 10 NOT using HPET. Since HPET is not used and latencies are so much better, it probably makes sense to disable HPET completely in BIOS, but makes way more sense not to also force it in Windows 10 itself because it is possible to do so with the same platform clock command as in Windows 7/8.1.

AFAIK, Windows 8.1 and now Windows 10 use CPU's TSC instead of HPET, which is a more modern and optimized method of controlling timings.
post #7 of 21
Quote:
Originally Posted by MonarchX View Post

Well, I figured it was relevant because when HPET is enabled in BIOS, Windows 7 and Windows 8.1 enable it in themselves during clean install. Windows 10, however, does not enable it even when HPET is turned on in BIOS. Then I noticed latencies are much lower in Windows 10 than in Windows 8.1., using the same exact drivers. I thought that could be due to Windows 10 NOT using HPET. Since HPET is not used and latencies are so much better, it probably makes sense to disable HPET completely in BIOS, but makes way more sense not to also force it in Windows 10 itself because it is possible to do so with the same platform clock command as in Windows 7/8.1.

AFAIK, Windows 8.1 and now Windows 10 use CPU's TSC instead of HPET, which is a more modern and optimized method of controlling timings.

Yes, the OS uses TSC on most modern systems, but it WILL enable HPET if a specific program is written to use it, regardless of the HPET BIOS setting. That's why most X99 boards got rid of the HPET settings option.

As for the "software driver", eventually the OS WILL install the HPET driver when a piece of software activates the timer. (Again, regardless of your BIOS setting).

Not everyone will see higher latency when HPET in enabled in the BIOS initially. It's system hardware and software configuration dependant.



Also, the OP seems to contradict itself in various ways.

Point
Quote:
Windows 10 - disable HPET before install and enjoy low latencies

Contradiction
Quote:
advice to disable HPET because even if you have it enabled in BIOS, Windows 10 won't use it by default




Point
Quote:
it will install the system device driver for it

Contradiction
Quote:
That is GOOD news




Also, just to point out another point you made:
Quote:
Windows 10 finally switched to some other (new?) method of handling latencies

It uses the TSC and/or TSC + LAPICs combo depending on your hardware and software configuration. Just as Win 7 / 8 / 8.1 did.

The issue is that you are forming a global view based on your isolated case, and have concluded this to be the truth behind OS and timers. Just to back up this point, here is another guy proclaiming absolute truth, but his point in the exact opposite to yours!
Quote:
By default Windows 7 uses different timers in the CPU to calculate stuff. HPET is the newest and best of these timers, but because of default combination of timers it takes longer time for CPU to keep up all the timers and sync between them. Forcing Windows to use HPET only improves performance and leads to greater FPS.

Steps to enable this tweak:

1. Enable HPET in BIOS. If you have HPET option in BIOS then your hardware can support HPET.

2. Enable HPET in Windows by giving this command in admin credential CMD:
bcdedit /set useplatformclock true

3. Reboot

Source: http://www.neowin.net/forum/topic/1075781-tweak-enable-hpet-in-bios-and-os-for-better-performance-and-fps/

Sure, he's talking about Win 7, but I've clearly made the point that OS has less to do with the timer and more to do with hardware and the executed applications.
Edited by BradleyW - 8/3/15 at 8:28am
X79-GCN
(22 items)
 
  
CPUMotherboardGraphicsRAM
Intel 3930K 4.5GHz HT GIGABYTE GA-X79-UP4 AMD R9-290X GEil Evo Potenza DDR3 2400MHz CL10 (4x4GB) 
Hard DriveCoolingCoolingCooling
Samsung 840 Pro 120GB EK Supremacy (CPU) NF F12's P/P (360 Rad)  NF A14's (420 Rad)  
CoolingCoolingCoolingCooling
XSPC Chrome Compression Fittings EK RES X3 150 Primochill PremoFlex Advanced LRT Clear 1/2 ID EK-FC (R9 290X) 
CoolingCoolingCoolingOS
EK D5 Vario Top-X  Phobya G-Changer V2 360mm Phobya G-Changer V2 420mm Win 10 x64 Pro 
MonitorKeyboardPowerCase
BenQ XR3501 35" Curved Corsair Vengeance K90 Seasonic X-1250 Gold (v2) Corsair 900D 
MouseAudio
Logitech G400s Senn HD 598 
  hide details  
Reply
X79-GCN
(22 items)
 
  
CPUMotherboardGraphicsRAM
Intel 3930K 4.5GHz HT GIGABYTE GA-X79-UP4 AMD R9-290X GEil Evo Potenza DDR3 2400MHz CL10 (4x4GB) 
Hard DriveCoolingCoolingCooling
Samsung 840 Pro 120GB EK Supremacy (CPU) NF F12's P/P (360 Rad)  NF A14's (420 Rad)  
CoolingCoolingCoolingCooling
XSPC Chrome Compression Fittings EK RES X3 150 Primochill PremoFlex Advanced LRT Clear 1/2 ID EK-FC (R9 290X) 
CoolingCoolingCoolingOS
EK D5 Vario Top-X  Phobya G-Changer V2 360mm Phobya G-Changer V2 420mm Win 10 x64 Pro 
MonitorKeyboardPowerCase
BenQ XR3501 35" Curved Corsair Vengeance K90 Seasonic X-1250 Gold (v2) Corsair 900D 
MouseAudio
Logitech G400s Senn HD 598 
  hide details  
Reply
post #8 of 21
My program Harmonic can verify if you are using HPET or not. It also allows you to disable/enable it on the OS side.

Latency can be caused by HPET or can be cured by HPET. I feel this post is a little misinformed as Bradley has stated, but I know you meant well. Perhaps consider updating your main post and thread title, less you leave users with extra latency.

The real message should be: Try HPET Enabled in BIOS and OS to see if latencies are improved or worsened. Some HPETs cause microstutter in SLI or CFX, while other HPETs cure it.

There are no universals with HPET.

Link to Harmonic: http://www.bytemedev.com/programs/harmonic-help/



Windows 10 uses a combination of hardware and software, just like Windows 8 /8.1 did, for its clock. It's prone to manipulation and slight inaccuracy but it's also good enough for generic applications.

To use HPET: You have to have both the HPET clock physically enabled in BIOS and actually enabled in the OS and a program to test it is in use. It is not enabled by default.

Harmonic is one such program, it also provides you a quick ability to set the OS to use HPET. You have to perform a reboot to fully enable or disable it.
Edited by RagingCain - 8/3/15 at 8:22am
Snowdevil
(16 items)
 
ASUS G750JM
(9 items)
 
 
CPUMotherboardGraphicsGraphics
[i7 4790K @ 4.4 GHz (1.186v)] [Asus Sabertooth Z97 Mark S] [nVidia Geforce GTX 1080] [nVidia Geforce GTX 1080] 
RAMHard DriveCoolingOS
[G.Skill 32GB DDR3 2133 MHz] [Crucial MX100 256GB] [Phanteks PH-TC12DX] [Win 10.1 Pro] 
MonitorMonitorKeyboardPower
[LG 29UM65 (2560x1080)] [QNIX Evo II LED (2560x1440)] [WASD v2 Tenkeyless] [NZXT Hale90 v2 ] 
CaseMouseMouse PadAudio
[ThermalTake GT10 Snow Edition] [Razer Mamba - Chroma] [Razer Kabuto] [Razer Man O' War] 
CPUMotherboardGraphicsRAM
i7 4770HQ Intel HM87 Express Chipset Geforce GTX 860M 8GB DDR3L 1600 MHz 
Hard DriveOptical DriveCoolingOS
Samsung SSD EVO DVD-RW Stock Windows 8.1 
Monitor
1920x1080 TN 
  hide details  
Reply
Snowdevil
(16 items)
 
ASUS G750JM
(9 items)
 
 
CPUMotherboardGraphicsGraphics
[i7 4790K @ 4.4 GHz (1.186v)] [Asus Sabertooth Z97 Mark S] [nVidia Geforce GTX 1080] [nVidia Geforce GTX 1080] 
RAMHard DriveCoolingOS
[G.Skill 32GB DDR3 2133 MHz] [Crucial MX100 256GB] [Phanteks PH-TC12DX] [Win 10.1 Pro] 
MonitorMonitorKeyboardPower
[LG 29UM65 (2560x1080)] [QNIX Evo II LED (2560x1440)] [WASD v2 Tenkeyless] [NZXT Hale90 v2 ] 
CaseMouseMouse PadAudio
[ThermalTake GT10 Snow Edition] [Razer Mamba - Chroma] [Razer Kabuto] [Razer Man O' War] 
CPUMotherboardGraphicsRAM
i7 4770HQ Intel HM87 Express Chipset Geforce GTX 860M 8GB DDR3L 1600 MHz 
Hard DriveOptical DriveCoolingOS
Samsung SSD EVO DVD-RW Stock Windows 8.1 
Monitor
1920x1080 TN 
  hide details  
Reply
post #9 of 21
Thread Starter 
Quote:
Point
Quote:
Windows 10 - disable HPET before install and enjoy low latencies

Contradiction
Quote:
advice to disable HPET because even if you have it enabled in BIOS, Windows 10 won't use it by default

Yet it will install another needless driver, something that should be prevented since Windows 10 won't be using it anyway.
Quote:
Point
Quote:
it will install the system device driver for it

Contradiction
Quote:
That is GOOD news

Good news is that Windows 10 now using something other than ancient HPET because even if HPET is enabled in BIOS and Windows 10 installs the driver for it, it still won't enable it / use it.

It all makes sense if you read and use deduction to figure out what I am saying.

Quote:
Sure, he's talking about Win 7, but I've clearly made the point that OS has less to do with the timer and more to do with hardware and the executed applications.

Windows 10 is different because it provides much lower latencies with identical drivers even though it doesn't enable HPET in itself, even if HPET is enabled in BIOS and even though Windows 10 installs driver for it anyway.

There! Sure, my lower latencies experience can be my own, but something tells me most people would see my lower latencies in Windows 10 if they compared their rigs running Windows 8 vs. Windows 10.
post #10 of 21
Quote:
Originally Posted by MonarchX View Post

Yet it will install another needless driver, something that should be prevented since Windows 10 won't be using it anyway.
Good news is that Windows 10 now using something other than ancient HPET because even if HPET is enabled in BIOS and Windows 10 installs the driver for it, it still won't enable it / use it.

It all makes sense if you read and use deduction to figure out what I am saying.
Windows 10 is different because it provides much lower latencies with identical drivers even though it doesn't enable HPET in itself, even if HPET is enabled in BIOS and even though Windows 10 installs driver for it anyway.

There! Sure, my lower latencies experience can be my own, but something tells me most people would see my lower latencies in Windows 10 if they compared their rigs running Windows 8 vs. Windows 10.

I'm not debating that. I am purely talking about how timers work and how each case is specific, as appose to your global view of timer optimization.
X79-GCN
(22 items)
 
  
CPUMotherboardGraphicsRAM
Intel 3930K 4.5GHz HT GIGABYTE GA-X79-UP4 AMD R9-290X GEil Evo Potenza DDR3 2400MHz CL10 (4x4GB) 
Hard DriveCoolingCoolingCooling
Samsung 840 Pro 120GB EK Supremacy (CPU) NF F12's P/P (360 Rad)  NF A14's (420 Rad)  
CoolingCoolingCoolingCooling
XSPC Chrome Compression Fittings EK RES X3 150 Primochill PremoFlex Advanced LRT Clear 1/2 ID EK-FC (R9 290X) 
CoolingCoolingCoolingOS
EK D5 Vario Top-X  Phobya G-Changer V2 360mm Phobya G-Changer V2 420mm Win 10 x64 Pro 
MonitorKeyboardPowerCase
BenQ XR3501 35" Curved Corsair Vengeance K90 Seasonic X-1250 Gold (v2) Corsair 900D 
MouseAudio
Logitech G400s Senn HD 598 
  hide details  
Reply
X79-GCN
(22 items)
 
  
CPUMotherboardGraphicsRAM
Intel 3930K 4.5GHz HT GIGABYTE GA-X79-UP4 AMD R9-290X GEil Evo Potenza DDR3 2400MHz CL10 (4x4GB) 
Hard DriveCoolingCoolingCooling
Samsung 840 Pro 120GB EK Supremacy (CPU) NF F12's P/P (360 Rad)  NF A14's (420 Rad)  
CoolingCoolingCoolingCooling
XSPC Chrome Compression Fittings EK RES X3 150 Primochill PremoFlex Advanced LRT Clear 1/2 ID EK-FC (R9 290X) 
CoolingCoolingCoolingOS
EK D5 Vario Top-X  Phobya G-Changer V2 360mm Phobya G-Changer V2 420mm Win 10 x64 Pro 
MonitorKeyboardPowerCase
BenQ XR3501 35" Curved Corsair Vengeance K90 Seasonic X-1250 Gold (v2) Corsair 900D 
MouseAudio
Logitech G400s Senn HD 598 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Windows
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › Windows 10 - disable HPET before install and enjoy low latencies!