• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

AMD Ryzen Branch Prediction Optimizations Now Available to Windows 11 23H2

btarunr

Editor & Senior Moderator
Staff member
Joined
Oct 9, 2007
Messages
47,670 (7.43/day)
Location
Dublin, Ireland
System Name RBMK-1000
Processor AMD Ryzen 7 5700G
Motherboard Gigabyte B550 AORUS Elite V2
Cooling DeepCool Gammax L240 V2
Memory 2x 16GB DDR4-3200
Video Card(s) Galax RTX 4070 Ti EX
Storage Samsung 990 1TB
Display(s) BenQ 1440p 60 Hz 27-inch
Case Corsair Carbide 100R
Audio Device(s) ASUS SupremeFX S1220A
Power Supply Cooler Master MWE Gold 650W
Mouse ASUS ROG Strix Impact
Keyboard Gamdias Hermes E2
Software Windows 11 Pro
AMD announced that its Ryzen processor branch prediction optimization that provide gaming performance uplifts, is now available for Windows 11 23H2, through an optional update. This update applies to AMD Ryzen processors based on the "Zen 3," "Zen 4," and "Zen 5" microarchitectures, and essentially yields the kind of performance you get in the real Administrator account, on regular Windows accounts, especially non-local (online) accounts. Users should look for "Cumulative Update Preview for Windows 11 Version 23H2 for x64-based Systems (KB5041587)" in Windows Update, which should begin showing up as an optional update. This update requires a system restart to apply.

With this update in place, gaming performance uplifts between Windows 11 23H2 and 24H2 should be identical. "We wanted to let you know that the branch prediction optimization found in Windows 11 24H2 has now been backported to Windows 11 23H2. Users will need to look for KB5041587 under Windows update > Advanced options > Optional updates. We expect the performance uplift to be very similar between 24H2 and 23H2 with KB5041587 installed," AMD said in a statement to Wccftech.



View at TechPowerUp Main Site | Source
 
and essentially yields the kind of performance you get in the real Administrator account

ugh this wording again. Thats not how branch prediction works. This reads like all the other outlets in that the "Administrator" account is doing something to the branch predictor, it is NOT the % improvements are just similarly comparable.

I encourage anyone to look up what branch prediction is before thinking it has anything to do with being an "Admin".

this stuff makes these threads super active so I get it but damn.
 
ugh this wording again. Thats not how branch prediction works. This reads like all the other outlets in that the "Administrator" account is doing something to the branch predictor, it is NOT the % improvements are just similarly comparable.

I encourage anyone to look up what branch prediction is before thinking it has anything to do with being an "Admin".

Zen 5 techinally has 2 predcictors in the front-end. (For its 2 ahead predictions)

Though that doesn't matter since it only seems to use the 8 wide dispatch on zen 5 while running two threads through a core. While it seems a single thread it still uses 4 wide dispatch and a single predictor. Eventhough techinally zen 5 should be able go use both on single thread.
 
Last edited:
just tested Valheim and my 7800X3D went from the mid 220s to over 260 FPS (fully CPU bound)
 
I suppose when I finally get to Windows 11 this might help me on Zen3, but for now I'm happy with my box being on Win10.
 
I suppose when I finally get to Windows 11 this might help me on Zen3, but for now I'm happy with my box being on Win10.
So Win 10 has no support for this feature and Zen 5 will run like shit on Win 10 or does Zen 5 not even support Win 10?
 
Will this patch do any good to Windows 11 22H2 ?
 
So Win 10 has no support for this feature and Zen 5 will run like shit on Win 10 or does Zen 5 not even support Win 10?
some users reported W10 support. AMD stated older operating system will get this. Not just for Zen5, but all later Zen's have been running with this performance untapped until now. What a missed opportunity for AMD to bring this improvement so late. It could have crushed Intel. Well it just did. Better later than never.
 
some users reported W10 support. AMD stated older operating system will get this. Not just for Zen5, but all later Zen's have been running with this performance untapped until now. What a missed opportunity for AMD to bring this improvement so late. It could have crushed Intel. Well it just did. Better later than never.
This is Microsoft's fault, not AMD's. Linux has benefited from this for years.

The crime here is the rewrites that 24H2 implemented taking so long to reach users.
 
Windows 11 has turned into a joke worse than what MS did with ME.
No it hasn't. Your opinion of either OS does NOT reality make. WinME was a very excellent OS that was woefully misunderstood. Windows 11 likewise is very excellent WHEN/AFTER it is debloated and optimized.

Stop making statements about things you know little or nothing about.
 
About 2% uplift on AIDA64 with zen3, meh :ohwell:

Weirdly enough the scores kept creaking up on the 3 runs with the last one bing the highest.
 
No it hasn't. Your opinion of either OS does NOT reality make. WinME was a very excellent OS that was woefully misunderstood. Windows 11 likewise is very excellent WHEN/AFTER it is debloated and optimized.

Stop making statements about things you know little or nothing about.
Windows ME was a peice of garbage. It's only saving grace was the addition of System Restore... which was a necessity due to its instability.
 
Downloading this now.
 
ugh this wording again. Thats not how branch prediction works. This reads like all the other outlets in that the "Administrator" account is doing something to the branch predictor, it is NOT the % improvements are just similarly comparable.

I encourage anyone to look up what branch prediction is before thinking it has anything to do with being an "Admin".

this stuff makes these threads super active so I get it but damn.
Basically there are 2 major issues with older versions of Windows. The Branch Prediction/ scheduling issues, and then the Virtualisation Based Security performance issues.
Running as sys Admin / Root bypass the VBS issue, this is why there are some gains on 23H2 doing that.

Also some early testing shows that 23H2 is still slower than 24H2 after this patch. At lease for these games the patch did F'k all on 23H2, at least for this guy's set up.

Imgur: The magic of the Internet
Imgur: The magic of the Internet
 
Last edited:
I downloaded the update and tested cpu-z single and multi-thread and the results were the same. I believe the gain happens only in games not apps, not going to bother testing my 5900x in games.
 
Last edited:
ugh this wording again. Thats not how branch prediction works. This reads like all the other outlets in that the "Administrator" account is doing something to the branch predictor, it is NOT the % improvements are just similarly comparable.

I encourage anyone to look up what branch prediction is before thinking it has anything to do with being an "Admin".

this stuff makes these threads super active so I get it but damn.
That's what you get about because of bad Journalism and monkeys wrinting code in Redmond.
 
Windows 11 likewise is very excellent WHEN/AFTER it is debloated and optimized.

So..
When will it be debloated and optimized by Microsoft themselves ?

Season 6 Nbc GIF by This Is Us
 
I picked up a couple of average FPS, and a little more than that in the lows... nowhere near what AMD is claiming though. System is 7950x3d+7900xtx. Although, they did say something about "especially with online accounts" which I have never used, I log in with a local account so it could be that I wasn't affected and my variation was just margin of error. They also said something about VBS issues, I have tested with VBS on and off and didn't find any difference. I will say after applying the patch, everything had an especially smooth, buttery feel to it, as far as game motion.

It sounds to me like this is basically a bug fix that allows accounts that are not the built-in administrator to use the right branch prediction optimizations, sounds like there was something preventing the AMD optimizations from being used with other accounts.

So..
When will it be debloated and optimized by Microsoft themselves ?

Season 6 Nbc GIF by This Is Us
I'm guessing sometime between when hell freezes over and never. The bloat is one way they monetize the OS. I suppose they could remove it and pass on the revenue loss to the consumer in the form of a more expensive OS....
 
Who needs enemies, when you have MS as your “friend”…

They pulled the same thing with XP 64, original Xbox and every Windows release after AMD released Ryzens with multiple CCDs.

Go Linux!
 
I assume Windows 10 won't get it? Ah well...
 
Who needs enemies, when you have MS as your “friend”…

They pulled the same thing with XP 64, original Xbox and every Windows release after AMD released Ryzens with multiple CCDs.

Intel has it's share of problems with Windows due to Big / Little cores concept, impacting performance in some cases even more than just a few percent. Reviewers of course monitored that and made sure this didn't happen during benchmarking, but it's not something you can constantly tweak as a user.
 
I'm guessing sometime between when hell freezes over and never. The bloat is one way they monetize the OS. I suppose they could remove it and pass on the revenue loss to the consumer in the form of a more expensive OS....
Generally speaking spyware is free, but MS still charging the same for spyware as they did with Win 7 or Xp or 9x.
 
No it hasn't. Your opinion of either OS does NOT reality make. WinME was a very excellent OS that was woefully misunderstood. Windows 11 likewise is very excellent WHEN/AFTER it is debloated and optimized.

Stop making statements about things you know little or nothing about.
that's not How that works.

if a Mercedes sucks out of the factory but is only a decent car after it’s tuned by brabus for an additional couple of hundred thousand dollar the original car isn’t a good car.
you even need to have the hundred thousands worth of modification done again after filling it car up with a fresh tank of gas which is what happens when you update to a new feature release.

windows 10 and 11 are a horrible intrusive mess people put up with because they have to
 
Back
Top