Sorry to those where my AutoGPUAffinity link didn't have the required files. I just updated the link and tested it. Update 4/24/2024: Thanks to @ZedOptimisation you can achieve even lower latency by setting "useplatformtick" to "NO". BCD Edits should be inserted as follows: bcdedit /set useplatformclock no bcdedit /set useplatformtick no bcdedit /set disabledynamictick yes Here are my results after testing using TimerBench: Results: HPET Enabled bcdedit /set useplatformclock no bcdedit /set useplatformtick yes bcdedit /set disabledynamictick yes Timer Calls/s: 462,307.18 AVG Frames/s: 918.26 Max Frametime: 15.18ms 99th%: 1.37ms (In Video) Results: HPET Disabled bcdedit /set useplatformclock no bcdedit /set useplatformtick yes bcdedit /set disabledynamictick yes Timer Calls/s: 2,297,795.57 AVG Frames/s: 924.93 Max Frametime: 20.00 99th%: 1.37ms Results: HPET Disabled bcdedit /set useplatformclock no bcdedit /set useplatformtick no bcdedit /set disabledynamictick yes Timer Calls/s: 2,894,085.69 AVG Frames/s: 928.87 Max Frametime: 14.81ms 99th%: 1.29ms Important!!! - If you changed the Affinity for the USB hub that your mouse is on, and it now feels weird or has issues, then delete the mask, or put your mouse on CORE 0. Some systems are particular about this and I forgot to mention it in the video.
Hey Shredder thanks mate I will keep that in my mind about the Affinity for USB. I'm hoping this will fix the ADS as well I have also noticed since the introduction of the British hit detection for me is an on/off issue as well. Hats off to you Shredder for delving so deep into trying to solve all these issues this must have been a huge task. When they introduced the dive to prone for the first time that was it for me I stopped playing. Now they tweaked the vaulting and broke the ability to stand on walls ECT when jumping it's just never ending. Cheers mate
@@SM-1The hit reg has been awful since U10, and was made much worse with T17's logging attributes in U13.5. While we have seen an increase in reliability of the rifles, there is still an issue at under 10m. A very intelligent person messaged me a while back and stated that if T17 was to drop the server count to 75 players total, then we would see a massive improvement in everything that's wrong with the game. With that said, I do feel that T17 will iron out the bugs, but I personally believe it will take another year or so. As far as this guide, you will definitely notice an improvement in the ADS micro stutter. While jumping on a wall is a bit tougher, I do believe that the jumping has improved. I look at it from how often I want to jump over a wall and die because he can't make it over. The issue for me is they need to quit tweaking things over time.
@@MraVVvzvzvz the USB your mouse is on, should remain on core 0. Which is default. If you assigned your affinity for the USB that your mouse is plugged into, simply unchecking the affinity, will allow Windows to control it. Which will be Core 0. Your mouse should be plugged into a USB 2.0 port. So when you change the affinity for USB 3.0 and USB 3.1. your mouse will remain default. Also, having your mouse on USB 3.0 or 3.1, can conflict with other USB devices being used by the same USB hub (3.0 or 3.1) The average motherboard, might only have 4 USB 3.0 ports and Windows might recognize this as 1 hub. USB conflicts are a separate issue all together, and can be caused by many different devices being plugged into the same USB hub over time. USB conflicts can be resolved, by deleting the conflicting USB driver in device manager, and restarting the PC. If your motherboard requires a specific driver for a particular USB hub, then download that first, then unplug your Ethernet cable before restarting the PC. Once rebooted, install the USB driver, and reconnect the Ethernet cable. Doing this prevents windows from installing a random driver, if you wish to have a motherboard manufacturer driver. I hope this answers your question. If not, let me know.
It's a crazy venture to say the least. I hope the video atleast gave you the tools to know how to fight it. Intel is better than AMD at this, but I found that simply stripping the NVidia driver to it's basics, really helps a ton. Changing the affinity per core works wonders too.
Hell yeah!!! That's what I like to hear! Let me know how it goes, or if you have questions. RUclips chat isn't very good for back and forth communication, so feel free to start a new comment so YT notifies me.
Thanks bud. I know it's not for everyone, which there was no way around it. Even if you did the first step, using power settings explorer. You would reduce latency by a lot.
when ur using "useplatformtick" then "disabledynamictick" does not do anything since RTC is not a dynamic tick counter. "useplatformtick" will force the use of RTC, which is an outdated tick. Not being a dynamic tick and not having smart compute optimizations it will actually decrease your system's performance, even if not massively. So use TSC + TSC if u don't want global desynchronization overtime = input lagggg.
Because everything is on Core 0, so offloading the GPU to a different core, and other items such as the USB hubs to a different core, is what helps lower latency.
What an awesome tutorial Shredder thanks it's going to be weekend sit down and work my way through this. I have never seen anyone make mention of any of these tweaks this is a first do you have a tech background even your other tutorial was a first never heard of many setting in that as well. Well shown and explained looking forward to seeing if this improves HLL. Thanks
Thanks for the kind works bud. No, I'm just a true nerd, who gets motivated by fixing problems. This one just happened to be a never ending bottomless pit of irritation and frustration. I just knew that if I could remedy my issues, that I needed to try and help others. I want people to enjoy HLL as much as I have over the years, and even though this video is complex, it will help a ton in HLL, with it's terrible coding and what not, but also the overall health of your PC and applications. This got rid of my ADS micro stutters. Which I have had since U9. Let me know how it goes, I'm interested to hear about how it feels. Just as a note, which I realize I forgot to mention: If you change the affinity of your mouse and it feels strange, then keep your mouse on CORE 0, or just delete the mask.
@@TwinCityShredder its not gonna make a HUGE difference, but it does help because then it syncs up with your displays. Just makes the interrupt path smoother
@@TwinCityShredder Well unless I'm misunderstanding, the original comment is suggesting that my gc's (gpu?) pci bridge is set to the same core as the gpu for optimal latency. That is why I asked. I did find it, but it doesn't matter because my main issue is a plain error saying "access is denied" whenever I attempt to set a core to anything. I've gone through the countless generic solutions online and have already made sure I have full access and administrator rights on my user account. I've even tried opening the program as an administrator.
@@Tsu1. This would point me towards a PSU issue. I need some specs, make and model: PSU GPU And how it's wired. For instance, 1 cable from the PSU to the GPU using "both" pcie 8pin. Or 2 cables from PSU to GPU using 2 8pin on 1 cable and 1 8pin on the other cable.
when i set my mask for the graphic card nvidia and I restart my pc, the graphic card it's seems like autounistall the driver, in device manager it says: This device cannot find enough free resources that it can use. (Code 12) If you want to use this device, you will need to disable one of the other devices on this system. I have already set my graphic to msi mode.
@ Hi thanks for texting me back❤️, btw i have an 1060 6gb gtx and no, i don’t have a laptop, i use atlas os , but before i was able to tweak my graphic card , after some reset of pc, i have this issue. How i can fix this because i already turn msi mode on , and i have all driver’s installed already. I use snappy driver for this.
Hi Shredder I had an issue in the Power Settings Explorer software I was able to un-tick your selected boxes but unable to apply the settings. The apply button was greyed out as I have had a few power savings things done over time and because of this roadblock I have decided to do a clean install of windows and start a fresh. This will ensure your video instructions have less of a chance to fail and make things easier to problem solve moving forward. Thanks bud
I don't know why, but my response didn't save. You have to open up Power Settings Explorer as an Administrator, for it to save. Hope this helps you out.
Hey Shredder I reckon that is the step I missed as I can't remember if I did it or not. All good though I ordered a new Samsung 990 pro SSD I'm happy to do a clean install now then I can get stuck into doing your tweaks on a clean slate so all good. Thanks mate 👍
@@SM-1 excellent! I would really like to know how the fresh install with these tweaks goes. I end up doing a reinstall every 1.5 years and coming up on that soon. How's the 990? I am using a 980, but didn't know improvements have been made on that drive.
Hi Shredder I do the same but roughly every 12 months I do a clean install. It's a bit early for me but this just happened to force my hand. I used Nlite to strip out the bloatware from a windows iso and go from there. Higher performance usually consumes more power and at the time I was looking for a new SSD I also was going to get the 980. However the 990 PRO uses less power with up to 50% improved performance per Watt over 980 PRO. This low-power design makes max PCIe 4.0 performance possible with optimal power efficiency according to Samsung's specs. Not only that but a 980 pro was going to cost me $145 AU or 990 pro $179 AU For 1TB. I found the 990 pro on Amazon for $112 AU with free delivery from the US hence my choice. The 980 pro as you probably know has. Read/ Write speed of 7000/5000 and the 990 pro 7450/6900 on 1TB. I have only just ordered it so I can't do anything until it arrives. For me the 990 is a better choice and better price over all. Cheers mate
@@SM-1 this is good info. I haven't used nlite in years, as I've been using the Tech Yes City win 10 pro install, which is stripped down. But with that install there is an issue where it won't update, so I have a guide saved which changes 2 hex keys in regedit, which fixed the win update issue. The 990 sounds like a great drive. I'll have to look into it on the next PC I'm building for a friend. PC's are so fun. Thanks for the update!
Any advice to fix high ACPI driver latency? When i set time check interval to 5000ms in attempt to fix acpi lag i noticed that the isr’s and dpc’s on acpi driver would only happen every 5 seconds, do you know how to fix the lag entirely?
@@lemonguy-ng6td I would suggest disabling drivers 1 by 1, until you find the culprit. Start with USB drivers. Then possibly the audio driver. And so on. 5000ms is perfect for time check interval. That's what we want.
@@JacksonAcademy1 Did you download it from my current link that was uploaded a couple days ago? Recently a couple people were having issues with the previous link, so I uploaded the actual .exe to mega upload. Let me know, I'd like to get to the bottom of this issue. Sorry about this. But let me know if you've downloaded the file from the current link in the description.
@@JacksonAcademy1 @joaovictorraz6959 The issue seems to be that you are only downloading the .exe, and not the config.ini. I have put the download in a second folder to remove the confusion. So click the link, and download the whole folder. I did test this and it does work. Download WINRAR to extract if needed, as it downloads as a ZIP automatically.
@@TwinCityShredder Soo sorry to ask again but the file, when opened and run with administrative privileges, has a "Windows Error 2: The file specified not found".
My latencymon is saying that acpi sys is causing 253 microseconds highest dpc. How do i find that driver and set affinity for that or tweak it somehow? I cant find it anywhere where you mentioned.
@@SleepyFNBR I need a lot more info to actually be of any service. PC or Laptop? And specs. If on a laptop, turn off Wi-Fi and test again. If on PC, download manufacturers LAN driver, not motherboard manufacturers driver. After that I would be looking for the lowest latency driver for your GPU, and follow the steps in the video to strip the driver down to only the essentials. Beyond that, lots of research, and installing drivers, to see what's causing it. Another test method. Is to disable drivers in device manager until you find the culprit. I do assume LAN and stripped GPU driver will help you out.
Open up Event Viewer in Windows, click Windows Logs, then click System, and what the last Error was when the PC crashed. I'm not sure what's up with your laptop, but I checking the Event Viewer will tell you what happened. There will be an Event ID that you can google. Feel free to reply with the results you've found.
@@ultimate186 what's the PC specs? What process has the highest hard page faults? Latencymon tells you this in processes I believe. It's not a 1 size fits all solution, but the video should point you in a specific direction. Did you complete the entire video? If so then you should be able to point me in a specific direction.
Specs: AMD Ryzen 9 7900X3D, ASUS ROG STRIX B650E-F GAMING WIFI, Sapphire RX 7900 XTX Nitro+, 16GBx2 Kingston KF560C36. Most reported HPF is msmpeng.exe (Processes tab) I did complete the entire video, however my Interupt to DPC latency is fine (120us peak) and the Interrupt to process latency is also fine (196us peak). The highest reported program/driver is "Wdf01000.sys Kernel Mode Driver Framework Runtime" (122us). I went through many guides to reduce this Kernel latency but I simply cannot find a solution. Thanks for the reply.
Windows Performace Analyzer doesnt show much, biggest spikes are from Microsoft Edge (from which Iam watching the video) and the LatencyMonitor itself.... so i cant pinpoint whats causing the issue. All my drivers are up to date (updated using Driver Booster Pro).
@@ultimate186 Definitely don't watch a video while using latencymon, unless you are specifically looking for a certain program causing an issue. It seems that msmpeng.exe is a windows defender scheduling process. So I found this site below, with well written directions. I would start with step #3, and if that didn't solve it, I'd just right to step #1. signmycode.com/resources/what-is-msmpeng-exe-antimalware-service-executable-how-to-stop-its-excessive-cpu-usage It seems that Win Defender is constantly running in real-time, and by changing the scheduling, or simply turning it off, it will still allow you to run a scan, but should solve the issue.
@@OdieTheGreat USB devices are low impact. This can be an issue for instance if you are running 2 audio cards off of 1 USB hub. But windows would warn you about bandwidth not being available. Set each hub per affinity, then spread USB devices accordingly. Do not set the affinity of the hub that your mouse is on. Leave on Core 0. As this can have undesired effects.
Definitely use Auto-GPU. As it's a definitive reference to FPS. Which is for setting the affinity of the GPU specifically. Use task manager for setting other affinities like a USB hub, etc.
Question in the Autogpuaffinity I should put the best performing cpu from autogpuaffinity (for me its core 6) and if i have more than 8 i should pick 2? or its ok to pick 2 when i have 4 normal 4 hyperthreaded
If using a hyperthreaded CPU, then use even number cores, 0,2,4,6,8, etc. For the GPU specifically, and in your instance, use cores 6 and 7. Windows sees every core as an individual core. But since you know which are hyperthreaded, adjust accordingly. For all other affinities, just use an even number core, and use only 1 core. Example: network card - 1 core, usb hub - 1 core, etc.
Thanks for these awesome explaining videos. I want to ask a dumb questions but here it go: How do I know if I'm having a bad latency issue? How do I notice it in the game. I don't feel anything wrong like you guys notice.
No prob. If you restart your PC and run latencymon, and it tells you that are having an issue, then you definitely are when running a game. You can run latencymon, while running your game, and see if it tells you something is wrong. Then fix accordingly.
Thanks! @@TwinCityShredder I followed the steps and ran latencymon. How did you know that your nic card was something that was giving you latency? I doesn't show anything in latencymon that is the NIC card. I actually downloaded the same intel drivers package and update mine as well. On my latencymon, my "highest measured interrupt to process latency" says 112.5. My "highest reported ISR routine execution time" says: 44.77 (Wdf010000.sys) and my "highest reported DPC routine execution time" says: 588.52 (nvdddmkm.sys). Not sure what I can do to make this better now. Please let me know if you ever have a chance. Thanks again!
@@TwinCityShredder when I press it it only opens a small window with a triangle and a fps counter, there's no benchmarking or anything happening for some reasons
@@DramahudzR I suppose you didn't watch the video all the way through, but just let the program run until it displays results. Have to be patient is all. Depending on how many cores depends on how long it will take.
@@TwinCityShredder no I did, i did the test but had to find a youtuber that had reuploaded the full zip with the .exe, opening lava-triangle only didn't do anything my friend! but great tutorial!
Do you know how the CPU core assignments happen on windows when software is executed? Shouldn't this be load-based and therefore dynamic? This would mean, what the latency checker displays as current setting is rather just the current core assignment value, which can change over time. Therefore we should not change those values, but instead try to change the mechanism Windows ues to distribute the load/ make the decision on which core applications are executed. E.g. Office to avoid cores with (in general) lower latencies so they can be reserved for gaming? otherwise I assume that you can face situations where these values have negative impacts due to other softwware being "wrongfully" assigned. Anyhow, thanks for your content. Many things I implemented successfully :)
This is a super complex comment, and I really appreciate you posting it. Windows does do a great job of this for the most part. I wish I knew how to change the mechanism for it. I assume every time you install a program, the program decides what cores are available, and how to allocate resources. It seems that for gaming in general, pushing the affinity off to a specific core, does wonders, for latency and therefor stuttering. I would be great if games would automatically try to run on core 1 instead of core 0. But I also think it's great that we can assign it ourselves. As that may be the best approach. Sometimes setting up a PC for a specific task is best. But I know millions of people just use their PC for everything at once. I guess it's not a one size fits all scenario. Like you said, it will change over time, and maybe just being aware of this change subconsciously, will help us realize when we might have an issue. Kind of like when a cars alignment starts getting out of whack. Latency is super complex, and Intel seems to have the upper edge by default. I guess these chips of the future might have more benefits, and maybe more drawbacks, with P-cores and E-cores, vs monolithic die's. In the video I mention keeping your mouse on Core 0. Something happens when you switch affinity of the mouse to another core. So I assume, some software and peripherals are designed to be on Core 0. I did see an instant decrease in latency, moving the GPU and the USB hubs to different cores. Kind of wild that Windows doesn't break up the load better.
@@SleepyFNBR can you provide the steps that get you to the point where you need a key? As I'm not running into that issue. I just redownload the ZIP and using WinRAR, I have no issue extracting and running the file.
@@direct34 thanks bud. I appreciate it. I will be avoiding win 11 until win 12 comes out. But as far as the guide goes. It should work with win 11. Win 11 is basically a UI over win 10, so the options should be very similar.
@TwinCityShredder sounds good been tweaking a 12900k in top 100 now lowering latency, this next xtu score will be a real head scratcher for influencers. I really like how input lag optimization feels in my aim. There's no comparison.
@@TwinCityShredder you made my day! Thank you, not for only the track, but also for the info shared into the video (especially how organised are), really helpful thank you
@@ON1MUSH4 No problem. Thanks for the comment. Hope this helped you out. This video took an extremely long time to make, but every PC I've done this too was a night and day difference. So much so, that in gaming, it might take a couple days to get used to. For music production/djing, this should help extremely well in the reduction of snaps crackles and pops. Even on a low end laptop.
Stalinlag has always had major issues. Last month I played on Stalingrad and had a 100% smooth experience, first time ever since it's release. Was kind of shocked, but then it never happened again. They just release buggy stuff then never return to fix anything.
Thanks for the input. I suppose every PC is different to an extent, but I noticed issues with my mouse when it was disabled. I am always in support of people doing what works for them, and sharing their testing methods. Most importantly, I didn't want 3k comments of how I messed up someone's PC. So the values I chose, have worked well on a couple of my PCs, and overall should work well for musicians/producers/DJs, as well as gamers. Specifically Hell Let Loose, as that game has so many issues. Can you suggest a path I may follow to test this further? Maybe software I can monitor with or how I can see a positive result from disabling platform tick? What can I expect from doing so?
@@TwinCityShredder I’d suggest downloading TimerBench 1.5 & test it on & off. With Dynamic Tick disabled, HPET disabled & RTC enabled (Platform Tick) I noticed immediately my mouse felt sluggish. You can also change the TSC Sync Policy to “Legacy” which I found to provide another layer of improvement making my mouse feel much snappier. There are 3 sort of TSC behaviours: “Variant TSC” The first generation of TSC, the TSC increments could be impacted by CPU frequency changes. This is started from a very old processors. “Constant TSC” The TSC increments at a constant rate, even when CPU frequency is changed. But the TSC could be stopped when CPU runs into deep C-state. Constant TSC is supported before Nehalem, and not as good as invariant TSC. “Invariant TSC” The invariant TSC will run at a constant rate in all ACPI P-, C-, and T-states. This is the architectural behavior moving forward. Invariant TSC only appears on Nehalem-and-later Intel processors. Try setting your TSC to “Invariant TSC” & see if that fixes the weird mouse issues. From my research Invariant TSC offers the lowest latency when fetching clock data, it’s also the least expensive to operate when fetching. Compared to HPET & RTC. Hope I could help, let me know if you notice any reduction in latency when switch to Invariant TSC.
Weird it’s been removed somehow. To summarise you want to use Invariant TSC, it’s faster & lower latency. Check out Timer Bench 1.5 & do some testing. My results are lower latency (ms) with RTC disabled.
Sorry about that. Are you having issues with the download itself? I have changed the link multiple times and even uploaded the EXE that I personally use. Let me know and I can assist you further.
While it can be true, I think telling people to disable SMT will reduce performance in other things they might be doing like video editing or something else. That's reserved for more expert level tweakers, and I didn't want people to go backwards in overall performance.
@@TwinCityShredder I agree with you! You had interesting things in that folder, f.e. UWT, but u didn't even open it. Okay, video was about latency, but still there are some things that could give more performance, as minimum SysMain is interesting topic.
Sorry to those where my AutoGPUAffinity link didn't have the required files. I just updated the link and tested it.
Update 4/24/2024: Thanks to @ZedOptimisation you can achieve even lower latency by setting "useplatformtick" to "NO".
BCD Edits should be inserted as follows:
bcdedit /set useplatformclock no
bcdedit /set useplatformtick no
bcdedit /set disabledynamictick yes
Here are my results after testing using TimerBench:
Results: HPET Enabled
bcdedit /set useplatformclock no
bcdedit /set useplatformtick yes
bcdedit /set disabledynamictick yes
Timer Calls/s: 462,307.18
AVG Frames/s: 918.26
Max Frametime: 15.18ms
99th%: 1.37ms
(In Video) Results: HPET Disabled
bcdedit /set useplatformclock no
bcdedit /set useplatformtick yes
bcdedit /set disabledynamictick yes
Timer Calls/s: 2,297,795.57
AVG Frames/s: 924.93
Max Frametime: 20.00
99th%: 1.37ms
Results: HPET Disabled
bcdedit /set useplatformclock no
bcdedit /set useplatformtick no
bcdedit /set disabledynamictick yes
Timer Calls/s: 2,894,085.69
AVG Frames/s: 928.87
Max Frametime: 14.81ms
99th%: 1.29ms
Important!!! - If you changed the Affinity for the USB hub that your mouse is on, and it now feels weird or has issues, then delete the mask, or put your mouse on CORE 0. Some systems are particular about this and I forgot to mention it in the video.
Hey Shredder thanks mate I will keep that in my mind about the Affinity for USB. I'm hoping this will fix the ADS as well I have also noticed since the introduction of the British hit detection for me is an on/off issue as well. Hats off to you Shredder for delving so deep into trying to solve all these issues this must have been a huge task.
When they introduced the dive to prone for the first time that was it for me I stopped playing. Now they tweaked the vaulting and broke the ability to stand on walls ECT when jumping it's just never ending.
Cheers mate
@@SM-1The hit reg has been awful since U10, and was made much worse with T17's logging attributes in U13.5. While we have seen an increase in reliability of the rifles, there is still an issue at under 10m.
A very intelligent person messaged me a while back and stated that if T17 was to drop the server count to 75 players total, then we would see a massive improvement in everything that's wrong with the game.
With that said, I do feel that T17 will iron out the bugs, but I personally believe it will take another year or so.
As far as this guide, you will definitely notice an improvement in the ADS micro stutter.
While jumping on a wall is a bit tougher, I do believe that the jumping has improved.
I look at it from how often I want to jump over a wall and die because he can't make it over.
The issue for me is they need to quit tweaking things over time.
@@TwinCityShredderso if sometime mouse feel lagging I need to delete mouse interrupt?
@@MraVVvzvzvz the USB your mouse is on, should remain on core 0. Which is default.
If you assigned your affinity for the USB that your mouse is plugged into, simply unchecking the affinity, will allow Windows to control it. Which will be Core 0.
Your mouse should be plugged into a USB 2.0 port. So when you change the affinity for USB 3.0 and USB 3.1. your mouse will remain default.
Also, having your mouse on USB 3.0 or 3.1, can conflict with other USB devices being used by the same USB hub (3.0 or 3.1)
The average motherboard, might only have 4 USB 3.0 ports and Windows might recognize this as 1 hub.
USB conflicts are a separate issue all together, and can be caused by many different devices being plugged into the same USB hub over time.
USB conflicts can be resolved, by deleting the conflicting USB driver in device manager, and restarting the PC.
If your motherboard requires a specific driver for a particular USB hub, then download that first, then unplug your Ethernet cable before restarting the PC. Once rebooted, install the USB driver, and reconnect the Ethernet cable.
Doing this prevents windows from installing a random driver, if you wish to have a motherboard manufacturer driver.
I hope this answers your question. If not, let me know.
@@TwinCityShredder thx
there's no end to this latency rabbit hole
It's a crazy venture to say the least. I hope the video atleast gave you the tools to know how to fight it.
Intel is better than AMD at this, but I found that simply stripping the NVidia driver to it's basics, really helps a ton.
Changing the affinity per core works wonders too.
I’m having so much fun doing this right now and I’m only halfway through. This is fascinating!
Hell yeah!!! That's what I like to hear!
Let me know how it goes, or if you have questions.
RUclips chat isn't very good for back and forth communication, so feel free to start a new comment so YT notifies me.
This is probably more than I am comfortable with, but damn you did a good job
Thanks bud. I know it's not for everyone, which there was no way around it.
Even if you did the first step, using power settings explorer. You would reduce latency by a lot.
when ur using "useplatformtick" then "disabledynamictick" does not do anything since RTC is not a dynamic tick counter. "useplatformtick" will force the use of RTC, which is an outdated tick. Not being a dynamic tick and not having smart compute optimizations it will actually decrease your system's performance, even if not massively. So use TSC + TSC if u don't want global desynchronization overtime = input lagggg.
Thanks for the input bud. I believe I did update this a while back in the description and the pinned comment.
Awesome video - I'll give it try at the weekend. Thank you for all the effort you've put into this.
Hey bud, hope you've been well.
Let me know what you think.
If you need help or anything just let me know.
I am confused if your best core is 0 for the GPU then why do you set the GPU core to 6nor 7 via task manager ?
Because everything is on Core 0, so offloading the GPU to a different core, and other items such as the USB hubs to a different core, is what helps lower latency.
Really good Video. Everything is well explained! And it does decrease your latency dramatically if you do everything right.
Recommend this channel :)
Thanks bud! I appreciate that!
Glad it worked for you.
What an awesome tutorial Shredder thanks it's going to be weekend sit down and work my way through this. I have never seen anyone make mention of any of these tweaks this is a first do you have a tech background even your other tutorial was a first never heard of many setting in that as well.
Well shown and explained looking forward to seeing if this improves HLL.
Thanks
Thanks for the kind works bud. No, I'm just a true nerd, who gets motivated by fixing problems. This one just happened to be a never ending bottomless pit of irritation and frustration.
I just knew that if I could remedy my issues, that I needed to try and help others.
I want people to enjoy HLL as much as I have over the years, and even though this video is complex, it will help a ton in HLL, with it's terrible coding and what not, but also the overall health of your PC and applications.
This got rid of my ADS micro stutters. Which I have had since U9.
Let me know how it goes, I'm interested to hear about how it feels.
Just as a note, which I realize I forgot to mention: If you change the affinity of your mouse and it feels strange, then keep your mouse on CORE 0, or just delete the mask.
i was able to hit 8µs and at max 15µs with my laptop right after my GPU core selection, wow, thanks man
That's incredible results! Thanks for sharing.
I'm glad this worked for you!
Does your laptop have an Intel chip?
@@TwinCityShredder nope, Ryzen 5800h, along with other tweaks it works so fine
If you want to get optimal latency for your gpu, make sure the pci bridge your gc is connected to is also pinned to the same core affinity as your gc.
That's interesting. Makes sense. I didn't run into that info throughout this endeavor.
I'll have to try it out.
@@TwinCityShredder its not gonna make a HUGE difference, but it does help because then it syncs up with your displays. Just makes the interrupt path smoother
Do you know how to find out where the gpu's pci bridge in the interrupt affinity tool is?
@@Shallo it's the same method as finding the right USB hub.
But not sure why you want to find the pci bridge?
@@TwinCityShredder Well unless I'm misunderstanding, the original comment is suggesting that my gc's (gpu?) pci bridge is set to the same core as the gpu for optimal latency. That is why I asked. I did find it, but it doesn't matter because my main issue is a plain error saying "access is denied" whenever I attempt to set a core to anything. I've gone through the countless generic solutions online and have already made sure I have full access and administrator rights on my user account. I've even tried opening the program as an administrator.
the other vids i watched about this sounded like an unknown language, but you dumbed it down enough for me to understand well😂😂😂
@@vnpyuh Hahaha so funny. I'm really good at doing that.
Glad this video helped you out.
can i get some help? everytime i use the auto gpu affinity tool around the 5th gpu core my pc just turns off
@@Tsu1. This would point me towards a PSU issue.
I need some specs, make and model:
PSU
GPU
And how it's wired. For instance, 1 cable from the PSU to the GPU using "both" pcie 8pin.
Or 2 cables from PSU to GPU using 2 8pin on 1 cable and 1 8pin on the other cable.
when i set my mask for the graphic card nvidia and I restart my pc, the graphic card it's seems like autounistall the driver, in device manager it says: This device cannot find enough free resources that it can use. (Code 12) If you want to use this device, you will need to disable one of the other devices on this system. I have already set my graphic to msi mode.
Are you using a laptop? Or possibly an external GPU?
What GPU do you have?
@ Hi thanks for texting me back❤️, btw i have an 1060 6gb gtx and no, i don’t have a laptop, i use atlas os , but before i was able to tweak my graphic card , after some reset of pc, i have this issue. How i can fix this because i already turn msi mode on , and i have all driver’s installed already. I use snappy driver for this.
Hi Shredder I had an issue in the Power Settings Explorer software I was able to un-tick your selected boxes but unable to apply the settings. The apply button was greyed out as I have had a few power savings things done over time and because of this roadblock I have decided to do a clean install of windows and start a fresh. This will ensure your video instructions have less of a chance to fail and make things easier to problem solve moving forward.
Thanks bud
I don't know why, but my response didn't save.
You have to open up Power Settings Explorer as an Administrator, for it to save.
Hope this helps you out.
Hey Shredder I reckon that is the step I missed as I can't remember if I did it or not. All good though I ordered a new Samsung 990 pro SSD I'm happy to do a clean install now then I can get stuck into doing your tweaks on a clean slate so all good.
Thanks mate 👍
@@SM-1 excellent! I would really like to know how the fresh install with these tweaks goes.
I end up doing a reinstall every 1.5 years and coming up on that soon.
How's the 990? I am using a 980, but didn't know improvements have been made on that drive.
Hi Shredder I do the same but roughly every 12 months I do a clean install. It's a bit early for me but this just happened to force my hand. I used Nlite to strip out the bloatware from a windows iso and go from there.
Higher performance usually consumes more power and at the time I was looking for a new SSD I also was going to get the 980. However the 990 PRO uses less power with up to 50% improved performance per Watt over 980 PRO. This low-power design makes max PCIe 4.0 performance possible with optimal power efficiency according to Samsung's specs.
Not only that but a 980 pro was going to cost me $145 AU or 990 pro $179 AU For 1TB. I found the 990 pro on Amazon for $112 AU with free delivery from the US hence my choice.
The 980 pro as you probably know has. Read/ Write speed of 7000/5000 and the 990 pro 7450/6900 on 1TB.
I have only just ordered it so I can't do anything until it arrives. For me the 990 is a better choice and better price over all.
Cheers mate
@@SM-1 this is good info.
I haven't used nlite in years, as I've been using the Tech Yes City win 10 pro install, which is stripped down.
But with that install there is an issue where it won't update, so I have a guide saved which changes 2 hex keys in regedit, which fixed the win update issue.
The 990 sounds like a great drive. I'll have to look into it on the next PC I'm building for a friend.
PC's are so fun.
Thanks for the update!
Any advice to fix high ACPI driver latency? When i set time check interval to 5000ms in attempt to fix acpi lag i noticed that the isr’s and dpc’s on acpi driver would only happen every 5 seconds, do you know how to fix the lag entirely?
@@lemonguy-ng6td I would suggest disabling drivers 1 by 1, until you find the culprit.
Start with USB drivers. Then possibly the audio driver. And so on.
5000ms is perfect for time check interval. That's what we want.
Massive thx, gonna defo try this out when i've got the time 😅
Awesome!
Let me know how it goes or if you need some advice.
The file for AutoGpuAffinity, when opened and run with administrative privileges, has a "Windows Error 2: The file specified not found".
@@JacksonAcademy1 Did you download it from my current link that was uploaded a couple days ago?
Recently a couple people were having issues with the previous link, so I uploaded the actual .exe to mega upload.
Let me know, I'd like to get to the bottom of this issue.
Sorry about this.
But let me know if you've downloaded the file from the current link in the description.
@@TwinCityShredder Yes, I downloaded it from there. Thanks for the quick response
for me too, same error
@@JacksonAcademy1 @joaovictorraz6959 The issue seems to be that you are only downloading the .exe, and not the config.ini.
I have put the download in a second folder to remove the confusion. So click the link, and download the whole folder.
I did test this and it does work.
Download WINRAR to extract if needed, as it downloads as a ZIP automatically.
@@TwinCityShredder i downloaded the zipped paste, it cames with an EXE, config.ini and a lava.log
Auto GPU affinity doesn't have the .exe anymore, where else can I find it
I updated the link to my personal megaupload account. Let me know if this works. mega.nz/folder/6Zpi3bTA#ogtl4hF1wrI592hiTlvEsg
@@TwinCityShredder Thanks!
@@TwinCityShredder Wow you responded fast
@@EditOnRel3ase I try to stay on top of this.
Especially this latency video.
@@TwinCityShredder Soo sorry to ask again but the file, when opened and run with administrative privileges, has a "Windows Error 2: The file specified not found".
My latencymon is saying that acpi sys is causing 253 microseconds highest dpc. How do i find that driver and set affinity for that or tweak it somehow? I cant find it anywhere where you mentioned.
how do i lower my dxgknrl if it is high?
@@SleepyFNBR I need a lot more info to actually be of any service.
PC or Laptop? And specs.
If on a laptop, turn off Wi-Fi and test again.
If on PC, download manufacturers LAN driver, not motherboard manufacturers driver.
After that I would be looking for the lowest latency driver for your GPU, and follow the steps in the video to strip the driver down to only the essentials.
Beyond that, lots of research, and installing drivers, to see what's causing it.
Another test method. Is to disable drivers in device manager until you find the culprit.
I do assume LAN and stripped GPU driver will help you out.
I will try this tomorrow, thanks!
Awesome. Let me know how it goes.
Remember to read the pinned comment for further details.
Any reason why my laptop either restarts itself or blue screen whenever I'm in the middle of benchmarking with AutoGPUaffinity?
Open up Event Viewer in Windows, click Windows Logs, then click System, and what the last Error was when the PC crashed.
I'm not sure what's up with your laptop, but I checking the Event Viewer will tell you what happened.
There will be an Event ID that you can google.
Feel free to reply with the results you've found.
@@TwinCityShredderturns out i had to reinstall my nvidia driver. Thanks for the help!
@@smurfchad3579 nice. Glad you got it figured out.
Any tips for high kernel timer latency (13000 mikroseconds) ?
@@ultimate186 what's the PC specs?
What process has the highest hard page faults? Latencymon tells you this in processes I believe.
It's not a 1 size fits all solution, but the video should point you in a specific direction.
Did you complete the entire video? If so then you should be able to point me in a specific direction.
Specs: AMD Ryzen 9 7900X3D, ASUS ROG STRIX B650E-F GAMING WIFI, Sapphire RX 7900 XTX Nitro+, 16GBx2 Kingston KF560C36.
Most reported HPF is msmpeng.exe (Processes tab)
I did complete the entire video, however my Interupt to DPC latency is fine (120us peak) and the Interrupt to process latency is also fine (196us peak).
The highest reported program/driver is "Wdf01000.sys Kernel Mode Driver Framework Runtime" (122us).
I went through many guides to reduce this Kernel latency but I simply cannot find a solution.
Thanks for the reply.
In the "Drivers" tab i also found out that the Wdf01000.sys causes the most ISR and DCP counts (about 200DPCs per second)
Windows Performace Analyzer doesnt show much, biggest spikes are from Microsoft Edge (from which Iam watching the video) and the LatencyMonitor itself.... so i cant pinpoint whats causing the issue. All my drivers are up to date (updated using Driver Booster Pro).
@@ultimate186 Definitely don't watch a video while using latencymon, unless you are specifically looking for a certain program causing an issue.
It seems that msmpeng.exe is a windows defender scheduling process. So I found this site below, with well written directions.
I would start with step #3, and if that didn't solve it, I'd just right to step #1.
signmycode.com/resources/what-is-msmpeng-exe-antimalware-service-executable-how-to-stop-its-excessive-cpu-usage
It seems that Win Defender is constantly running in real-time, and by changing the scheduling, or simply turning it off, it will still allow you to run a scan, but should solve the issue.
Would you say its better to set affinities per devise or per root hub
@@sanchezmiki2006 You can do either. I chose each hub.
Seems to do the trick.
@@TwinCityShredder will it impact the latency in any way? because it’s setting multiple devices onto the same core
@@OdieTheGreat USB devices are low impact.
This can be an issue for instance if you are running 2 audio cards off of 1 USB hub. But windows would warn you about bandwidth not being available.
Set each hub per affinity, then spread USB devices accordingly.
Do not set the affinity of the hub that your mouse is on. Leave on Core 0. As this can have undesired effects.
So should i use auto gpu affinity or task manager to decide what core to set my gpu to
Definitely use Auto-GPU. As it's a definitive reference to FPS. Which is for setting the affinity of the GPU specifically.
Use task manager for setting other affinities like a USB hub, etc.
Ultimate performance does not show up in the power plan is it because iam on a laptop
It's a feature of win 10, not a PC or laptop specific thing.
Did you enter the string into command prompt with admin privileges?
Question in the Autogpuaffinity
I should put the best performing cpu from autogpuaffinity (for me its core 6) and if i have more than 8 i should pick 2? or its ok to pick 2 when i have 4 normal 4 hyperthreaded
If using a hyperthreaded CPU, then use even number cores, 0,2,4,6,8, etc.
For the GPU specifically, and in your instance, use cores 6 and 7.
Windows sees every core as an individual core. But since you know which are hyperthreaded, adjust accordingly.
For all other affinities, just use an even number core, and use only 1 core. Example: network card - 1 core, usb hub - 1 core, etc.
@@TwinCityShredder thanks ima try it now with the info at hand
@@DarkC0re514 sweet. Let me know if you have any other questions.
@@TwinCityShredder Ok 👍
Thanks for these awesome explaining videos. I want to ask a dumb questions but here it go: How do I know if I'm having a bad latency issue? How do I notice it in the game. I don't feel anything wrong like you guys notice.
No prob.
If you restart your PC and run latencymon, and it tells you that are having an issue, then you definitely are when running a game.
You can run latencymon, while running your game, and see if it tells you something is wrong.
Then fix accordingly.
Thanks! @@TwinCityShredder I followed the steps and ran latencymon. How did you know that your nic card was something that was giving you latency? I doesn't show anything in latencymon that is the NIC card. I actually downloaded the same intel drivers package and update mine as well. On my latencymon, my "highest measured interrupt to process latency" says 112.5. My "highest reported ISR routine execution time" says: 44.77 (Wdf010000.sys) and my "highest reported DPC routine execution time" says: 588.52 (nvdddmkm.sys). Not sure what I can do to make this better now. Please let me know if you ever have a chance. Thanks again!
I cant download autogpuaffinity, there's no .exe to run in the folder when I download it pls help
Download Zip file and inside the SRC folder there is a file called "lava-triangle".
@@TwinCityShredder when I press it it only opens a small window with a triangle and a fps counter, there's no benchmarking or anything happening for some reasons
@@DramahudzR I suppose you didn't watch the video all the way through, but just let the program run until it displays results. Have to be patient is all. Depending on how many cores depends on how long it will take.
@@TwinCityShredder no I did, i did the test but had to find a youtuber that had reuploaded the full zip with the .exe, opening lava-triangle only didn't do anything my friend! but great tutorial!
@@DramahudzR that's lame as I just updated the link recently.
I will find a new link.
Glad it worked for you.
Do you know how the CPU core assignments happen on windows when software is executed? Shouldn't this be load-based and therefore dynamic? This would mean, what the latency checker displays as current setting is rather just the current core assignment value, which can change over time. Therefore we should not change those values, but instead try to change the mechanism Windows ues to distribute the load/ make the decision on which core applications are executed. E.g. Office to avoid cores with (in general) lower latencies so they can be reserved for gaming? otherwise I assume that you can face situations where these values have negative impacts due to other softwware being "wrongfully" assigned. Anyhow, thanks for your content. Many things I implemented successfully :)
This is a super complex comment, and I really appreciate you posting it. Windows does do a great job of this for the most part. I wish I knew how to change the mechanism for it. I assume every time you install a program, the program decides what cores are available, and how to allocate resources.
It seems that for gaming in general, pushing the affinity off to a specific core, does wonders, for latency and therefor stuttering.
I would be great if games would automatically try to run on core 1 instead of core 0. But I also think it's great that we can assign it ourselves. As that may be the best approach.
Sometimes setting up a PC for a specific task is best. But I know millions of people just use their PC for everything at once. I guess it's not a one size fits all scenario.
Like you said, it will change over time, and maybe just being aware of this change subconsciously, will help us realize when we might have an issue. Kind of like when a cars alignment starts getting out of whack.
Latency is super complex, and Intel seems to have the upper edge by default.
I guess these chips of the future might have more benefits, and maybe more drawbacks, with P-cores and E-cores, vs monolithic die's.
In the video I mention keeping your mouse on Core 0. Something happens when you switch affinity of the mouse to another core. So I assume, some software and peripherals are designed to be on Core 0. I did see an instant decrease in latency, moving the GPU and the USB hubs to different cores. Kind of wild that Windows doesn't break up the load better.
The Auto GPU Affinity link seems to no longer work. Any alternatives?
Thank you for letting me know.
I have changed the link.
Should work now.
what is the decryption key?
@@SleepyFNBR where are you seeing that? There should be any key needed.
@@TwinCityShredder the auto gpu affinity
@@SleepyFNBR can you provide the steps that get you to the point where you need a key? As I'm not running into that issue.
I just redownload the ZIP and using WinRAR, I have no issue extracting and running the file.
@@TwinCityShredder on the website its asking for a decryption key
nevermind its working now
You earned my sub. Windows 11 tweaks when?
@@direct34 thanks bud. I appreciate it.
I will be avoiding win 11 until win 12 comes out.
But as far as the guide goes. It should work with win 11.
Win 11 is basically a UI over win 10, so the options should be very similar.
@TwinCityShredder sounds good been tweaking a 12900k in top 100 now lowering latency, this next xtu score will be a real head scratcher for influencers. I really like how input lag optimization feels in my aim. There's no comparison.
@@direct34 great work. It's a night and day difference.
What is the name of the music track in background?
There's a couple songs.
Flowing with the Tides - Velda
Natura - Velda
Paraphrase - Aleph One
The Bells - Velda
@@TwinCityShredder you made my day! Thank you, not for only the track, but also for the info shared into the video (especially how organised are), really helpful thank you
@@ON1MUSH4 No problem. Thanks for the comment. Hope this helped you out.
This video took an extremely long time to make, but every PC I've done this too was a night and day difference.
So much so, that in gaming, it might take a couple days to get used to.
For music production/djing, this should help extremely well in the reduction of snaps crackles and pops. Even on a low end laptop.
how to do the dxgkrnl
Me on Stalingrad map stuttering like shet. And here I thought it was my 180 ping. Actually it was the devs lmao
Stalinlag has always had major issues. Last month I played on Stalingrad and had a 100% smooth experience, first time ever since it's release. Was kind of shocked, but then it never happened again. They just release buggy stuff then never return to fix anything.
Great video but useplatformtick should be disabled
Thanks for the input.
I suppose every PC is different to an extent, but I noticed issues with my mouse when it was disabled.
I am always in support of people doing what works for them, and sharing their testing methods.
Most importantly, I didn't want 3k comments of how I messed up someone's PC.
So the values I chose, have worked well on a couple of my PCs, and overall should work well for musicians/producers/DJs, as well as gamers. Specifically Hell Let Loose, as that game has so many issues.
Can you suggest a path I may follow to test this further?
Maybe software I can monitor with or how I can see a positive result from disabling platform tick?
What can I expect from doing so?
@@TwinCityShredder I’d suggest downloading TimerBench 1.5 & test it on & off.
With Dynamic Tick disabled, HPET disabled & RTC enabled (Platform Tick) I noticed immediately my mouse felt sluggish.
You can also change the TSC Sync Policy to “Legacy” which I found to provide another layer of improvement making my mouse feel much snappier.
There are 3 sort of TSC behaviours:
“Variant TSC”
The first generation of TSC, the TSC increments could be impacted by CPU frequency changes. This is started from a very old processors.
“Constant TSC”
The TSC increments at a constant rate, even when CPU frequency is changed. But the TSC could be stopped when CPU runs into deep C-state. Constant TSC is supported before Nehalem, and not as good as invariant TSC.
“Invariant TSC”
The invariant TSC will run at a constant rate in all ACPI P-, C-, and T-states. This is the architectural behavior moving forward. Invariant TSC only appears on Nehalem-and-later Intel processors.
Try setting your TSC to “Invariant TSC” & see if that fixes the weird mouse issues.
From my research Invariant TSC offers the lowest latency when fetching clock data, it’s also the least expensive to operate when fetching. Compared to HPET & RTC.
Hope I could help, let me know if you notice any reduction in latency when switch to Invariant TSC.
@@TwinCityShredder Did you remove my response?
@@ZedOptimisation No. I've never removed anyone's response.
Weird it’s been removed somehow.
To summarise you want to use Invariant TSC, it’s faster & lower latency.
Check out Timer Bench 1.5 & do some testing.
My results are lower latency (ms) with RTC disabled.
can i please pay you to tweak my computer 🙏
@@SleepyFNBR I would feel wrong about charging you. But if you can tell me which part you're stuck on, I'd be happy to help where I can.
@@TwinCityShredder can i hop on a call with you, then i can get help
@SleepyFNBR does my discord link still work?
@@TwinCityShredderno just add sleepyza_
Auto GPU Affinity aint working
Sorry about that. Are you having issues with the download itself? I have changed the link multiple times and even uploaded the EXE that I personally use. Let me know and I can assist you further.
I reuploaded the file, and realize that the .bin file wasn't in there. So now it works. I did test it.
@@TwinCityShredder thank u so much
I am shocked that you say nothing bout how HT actually gives more latency than just using real cores.
While it can be true, I think telling people to disable SMT will reduce performance in other things they might be doing like video editing or something else.
That's reserved for more expert level tweakers, and I didn't want people to go backwards in overall performance.
@@TwinCityShredder I agree with you! You had interesting things in that folder, f.e. UWT, but u didn't even open it. Okay, video was about latency, but still there are some things that could give more performance, as minimum SysMain is interesting topic.
you overfocus on numbers, you should test more games