• 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

Joined
Jan 14, 2019
Messages
11,128 (5.42/day)
Location
Midlands, UK
System Name Nebulon B
Processor AMD Ryzen 7 7800X3D
Motherboard MSi PRO B650M-A WiFi
Cooling be quiet! Dark Rock 4
Memory 2x 24 GB Corsair Vengeance DDR5-4800
Video Card(s) AMD Radeon RX 6750 XT 12 GB
Storage 2 TB Corsair MP600 GS, 2 TB Corsair MP600 R2, 4 + 8 TB Seagate Barracuda 3.5"
Display(s) Dell S3422DWG, 7" Waveshare touchscreen
Case Kolink Citadel Mesh black
Audio Device(s) Logitech Z333 2.1 speakers, AKG Y50 headphones
Power Supply Seasonic Prime GX-750
Mouse Logitech MX Master 2S
Keyboard Logitech G413 SE
Software Windows 10 Pro
windows 10 and 11 are a horrible intrusive mess people put up with because they have to
Well, they don't have to. Everyone is free to jump over to Linux, which is what I'm gonna do once Win 10 stops running on my hardware.
 
Joined
Aug 21, 2013
Messages
1,838 (0.46/day)
Will this patch do any good to Windows 11 22H2 ?
22H2 support has ended. Upgrade to 23H2.

My small test.
23H2. System admin account. VBS off. 1440p max settings. Not cpu limited.
Newer times are with KB5041587 installed. 2080 Ti. GoT had FSR3 FG enabled. Others were native res/no upscaling.

Clipboard_08-28-2024_01.jpg
 
Joined
Jan 14, 2019
Messages
11,128 (5.42/day)
Location
Midlands, UK
System Name Nebulon B
Processor AMD Ryzen 7 7800X3D
Motherboard MSi PRO B650M-A WiFi
Cooling be quiet! Dark Rock 4
Memory 2x 24 GB Corsair Vengeance DDR5-4800
Video Card(s) AMD Radeon RX 6750 XT 12 GB
Storage 2 TB Corsair MP600 GS, 2 TB Corsair MP600 R2, 4 + 8 TB Seagate Barracuda 3.5"
Display(s) Dell S3422DWG, 7" Waveshare touchscreen
Case Kolink Citadel Mesh black
Audio Device(s) Logitech Z333 2.1 speakers, AKG Y50 headphones
Power Supply Seasonic Prime GX-750
Mouse Logitech MX Master 2S
Keyboard Logitech G413 SE
Software Windows 10 Pro
22H2 support has ended. Upgrade to 23H2.

My small test.
23H2. System admin account. VBS off. 1440p max settings. Not cpu limited.
Newer times are with KB5041587 installed. 2080 Ti. GoT had FSR3 FG enabled. Others were native res/no upscaling.

View attachment 361016
What GPU are you using?

I guess my theory was right - unless you're playing on an RTX 90909999 Ti Ultra Platinum FX at 1080p, you won't feel any difference. This patch is a nothingburger for 98% of people.
 
Joined
Jul 24, 2024
Messages
57 (1.54/day)
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.
https://www.reddit.com/r/Amd/comments/1f2t9s5/_/lk990xr
Imgur: The magic of the Internet
Imgur: The magic of the Internet
The major changes in branch prediction mechanism seem to be present since Zen 3:

AMD states that the fix will positively affect Zen 3/4/5 performance. That points to a fact that Windows was not optimized to utilize improved mechanism since Zen 3, while Linux was.
Then there may be another Zen 4/5 branch prediction issue on the top of that. Zen 5 makes the biggest changes to the decoders as well (the biggest since Zen 1).
And after that there might be VBS performance hit.

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.
Yeah, all the reviews and other performance tests were inaccurate. There has always been some unused performance on the table due to the piece-of-sheet OS.
 
Joined
Apr 2, 2008
Messages
397 (0.07/day)
System Name -
Processor Ryzen 9 5900X
Motherboard MSI MEG X570
Cooling Arctic Liquid Freezer II 280 (4x140 push-pull)
Memory 32GB Patriot Steel DDR4 3733 (8GBx4)
Video Card(s) MSI RTX 4080 X-trio.
Storage Sabrent Rocket-Plus-G 2TB, Crucial P1 1TB, WD 1TB sata.
Display(s) LG Ultragear 34G750 nano-IPS 34" utrawide
Case Define R6
Audio Device(s) Xfi PCIe
Power Supply Fractal Design ION Gold 750W
Mouse Razer DeathAdder V2 Mini.
Keyboard Logitech K120
VR HMD Er no, pointless.
Software Windows 10 22H2
Benchmark Scores Timespy - 24522 | Crystalmark - 7100/6900 Seq. & 84/266 QD1 |
Joined
Jul 24, 2024
Messages
57 (1.54/day)
22H2 support has ended. Upgrade to 23H2.

My small test.
23H2. System admin account. VBS off. 1440p max settings. Not cpu limited.
Newer times are with KB5041587 installed. 2080 Ti. GoT had FSR3 FG enabled. Others were native res/no upscaling.

View attachment 361016
Did you place those times correctly?
It looks like in some games you're doing even worse after applying the update. Makes no sense.
 
Joined
Jan 14, 2019
Messages
11,128 (5.42/day)
Location
Midlands, UK
System Name Nebulon B
Processor AMD Ryzen 7 7800X3D
Motherboard MSi PRO B650M-A WiFi
Cooling be quiet! Dark Rock 4
Memory 2x 24 GB Corsair Vengeance DDR5-4800
Video Card(s) AMD Radeon RX 6750 XT 12 GB
Storage 2 TB Corsair MP600 GS, 2 TB Corsair MP600 R2, 4 + 8 TB Seagate Barracuda 3.5"
Display(s) Dell S3422DWG, 7" Waveshare touchscreen
Case Kolink Citadel Mesh black
Audio Device(s) Logitech Z333 2.1 speakers, AKG Y50 headphones
Power Supply Seasonic Prime GX-750
Mouse Logitech MX Master 2S
Keyboard Logitech G413 SE
Software Windows 10 Pro
re-read the post, he has the GPU and CPU both mentioned & listed.
Ah, gotcha. I seem to be a bit tired after work. :ohwell: In that case, the rest of my post applies.
 
Joined
Aug 21, 2013
Messages
1,838 (0.46/day)
What GPU are you using?

I guess my theory was right - unless you're playing on an RTX 90909999 Ti Ultra Platinum FX at 1080p, you won't feel any difference. This patch is a nothingburger for 98% of people.
Updated after posting: 2080 Ti. About 6750XT/4060 Ti performance.
There are some gains in 0.1% but nothing massive.

Did you place those times correctly?
It looks like in some games you're doing even worse after applying the update. Makes no sense.
I could not get the times to line up properly. If its 07:XX then it's pre patch. If it's 09:XX then it's post patch.
Quake Champions and BattleFront II seem to be out of order. Others are Older > Newer in the chart.
 
Joined
Jan 14, 2019
Messages
11,128 (5.42/day)
Location
Midlands, UK
System Name Nebulon B
Processor AMD Ryzen 7 7800X3D
Motherboard MSi PRO B650M-A WiFi
Cooling be quiet! Dark Rock 4
Memory 2x 24 GB Corsair Vengeance DDR5-4800
Video Card(s) AMD Radeon RX 6750 XT 12 GB
Storage 2 TB Corsair MP600 GS, 2 TB Corsair MP600 R2, 4 + 8 TB Seagate Barracuda 3.5"
Display(s) Dell S3422DWG, 7" Waveshare touchscreen
Case Kolink Citadel Mesh black
Audio Device(s) Logitech Z333 2.1 speakers, AKG Y50 headphones
Power Supply Seasonic Prime GX-750
Mouse Logitech MX Master 2S
Keyboard Logitech G413 SE
Software Windows 10 Pro
Updated after posting: 2080 Ti. About 6750XT/4060 Ti performance.
There are some gains in 0.1% but nothing massive.
So basically, you need a semi-industrial GPU with an integrated nuclear reactor to see any difference, just as I thought.

Another piece of non-news blown out of proportion by the media. What a surprise! :shadedshu:
 
Joined
Aug 21, 2013
Messages
1,838 (0.46/day)
I would be interested in seeing someone test pre-patch 23H2, post-patch 23H2 and 24H2 preview build. Supposedly 24H2 still has the edge.
It would take too long for me to replicate my system environment for 24H2. I ran these tests with my usual background apps running.
If i ran 24H2 clean install the results would be better just due to clean install itself.
 
Joined
Jan 14, 2019
Messages
11,128 (5.42/day)
Location
Midlands, UK
System Name Nebulon B
Processor AMD Ryzen 7 7800X3D
Motherboard MSi PRO B650M-A WiFi
Cooling be quiet! Dark Rock 4
Memory 2x 24 GB Corsair Vengeance DDR5-4800
Video Card(s) AMD Radeon RX 6750 XT 12 GB
Storage 2 TB Corsair MP600 GS, 2 TB Corsair MP600 R2, 4 + 8 TB Seagate Barracuda 3.5"
Display(s) Dell S3422DWG, 7" Waveshare touchscreen
Case Kolink Citadel Mesh black
Audio Device(s) Logitech Z333 2.1 speakers, AKG Y50 headphones
Power Supply Seasonic Prime GX-750
Mouse Logitech MX Master 2S
Keyboard Logitech G413 SE
Software Windows 10 Pro
I would be interested in seeing someone test pre-patch 23H2, post-patch 23H2 and 24H2 preview build. Supposedly 24H2 still has the edge.
It would take too long for me to replicate my system environment for 24H2. I ran these tests with my usual background apps running.
If i ran 24H2 clean install the results would be better just due to clean install itself.
Still, your results are infinitely more useful than all those out there on Youtube (including Hardware Unboxed) showing us how much you gain with a 4090 that maybe 1% of gamers have.
 
Joined
Aug 21, 2013
Messages
1,838 (0.46/day)
Yeah i wanted to mainly test for myself to see how, and if my experience would be changed with the settings i use.
So i figured i might as well share the results. Software i used was CapFrameX. The benchmark runs were relatively short - under 5 minutes.
Rise of the Tomb Raider was the only one where i used canned benchmark. Others were live gameplay. In GoT i ran around in Hyoshi Springs village on my New Game+ save.

Im not saying HUB testing is wrong. Their testing makes sense for them. They're trying to predict the CPU's performance by creating an artificial bottleneck with 1080p low and using 4090. That was no my goal. Im not trying to predict how 5800X3D will handle 5090 or 6090 performance years from now.
 

las

Joined
Nov 14, 2012
Messages
1,571 (0.36/day)
System Name Meh
Processor 7800X3D
Motherboard MSI X670E Tomahawk
Cooling Thermalright Phantom Spirit
Memory 32GB G.Skill @ 6000/CL30
Video Card(s) Gainward RTX 4090 Phantom / Undervolt + OC
Storage Samsung 990 Pro 2TB + WD SN850X 1TB + 64TB NAS/Server
Display(s) 27" 1440p IPS @ 360 Hz + 32" 4K/UHD QD-OLED @ 240 Hz + 77" 4K/UHD QD-OLED @ 144 Hz VRR
Case Fractal Design North XL
Audio Device(s) FiiO DAC
Power Supply Corsair RM1000x / Native 12VHPWR
Mouse Logitech G Pro Wireless Superlight + Razer Deathadder V3 Pro
Keyboard Corsair K60 Pro / MX Low Profile Speed
Software Windows 10 Pro x64
I bet performance was fine under Windows 10 since day one, but all reviewers used Windows 11?

Can't wait to see 9000X3D vs Arrow Lake, I will buy the one or the other in Q4/Q1.
 
Joined
Jan 14, 2019
Messages
11,128 (5.42/day)
Location
Midlands, UK
System Name Nebulon B
Processor AMD Ryzen 7 7800X3D
Motherboard MSi PRO B650M-A WiFi
Cooling be quiet! Dark Rock 4
Memory 2x 24 GB Corsair Vengeance DDR5-4800
Video Card(s) AMD Radeon RX 6750 XT 12 GB
Storage 2 TB Corsair MP600 GS, 2 TB Corsair MP600 R2, 4 + 8 TB Seagate Barracuda 3.5"
Display(s) Dell S3422DWG, 7" Waveshare touchscreen
Case Kolink Citadel Mesh black
Audio Device(s) Logitech Z333 2.1 speakers, AKG Y50 headphones
Power Supply Seasonic Prime GX-750
Mouse Logitech MX Master 2S
Keyboard Logitech G413 SE
Software Windows 10 Pro
Yeah i wanted to mainly test for myself to see how, and if my experience would be changed with the settings i use.
So i figured i might as well share the results. Software i used was CapFrameX. The benchmark runs were relatively short - under 5 minutes.
Rise of the Tomb Raider was the only one where i used canned benchmark. Others were live gameplay. In GoT i ran around in Hyoshi Springs village on my New Game+ save.

Im not saying HUB testing is wrong. Their testing makes sense for them. They're trying to predict the CPU's performance by creating an artificial bottleneck with 1080p low and using 4090. That was no my goal. Im not trying to predict how 5800X3D will handle 5090 or 6090 performance years from now.
The HUB test makes sense from some perspective, but it's not one of the regular gamer. Yet, here we are, discussing among us, regular gamers, how significant this update is. What a waste of time, isn't it? :laugh:
 
Joined
Jan 3, 2021
Messages
3,134 (2.35/day)
Location
Slovenia
Processor i5-6600K
Motherboard Asus Z170A
Cooling some cheap Cooler Master Hyper 103 or similar
Memory 16GB DDR4-2400
Video Card(s) IGP
Storage Samsung 850 EVO 250GB
Display(s) 2x Oldell 24" 1920x1200
Case Bitfenix Nova white windowless non-mesh
Audio Device(s) E-mu 1212m PCI
Power Supply Seasonic G-360
Mouse Logitech Marble trackball, never had a mouse
Keyboard Key Tronic KT2000, no Win key because 1994
Software Oldwin
The major changes in branch prediction mechanism seem to be present since Zen 3:

AMD states that the fix will positively affect Zen 3/4/5 performance. That points to a fact that Windows was not optimized to utilize improved mechanism since Zen 3, while Linux was.
Then there may be another Zen 4/5 branch prediction issue on the top of that. Zen 5 makes the biggest changes to the decoders as well (the biggest since Zen 1).
And after that there might be VBS performance hit.

Yeah, all the reviews and other performance tests were inaccurate. There has always been some unused performance on the table due to the piece-of-sheet OS.
What about the HT issues that were suspected initially, and also prompted W1zz to do additional testing? Cores running two hardware threads when they wouldn't have too? Was that suspicion false?
 

las

Joined
Nov 14, 2012
Messages
1,571 (0.36/day)
System Name Meh
Processor 7800X3D
Motherboard MSI X670E Tomahawk
Cooling Thermalright Phantom Spirit
Memory 32GB G.Skill @ 6000/CL30
Video Card(s) Gainward RTX 4090 Phantom / Undervolt + OC
Storage Samsung 990 Pro 2TB + WD SN850X 1TB + 64TB NAS/Server
Display(s) 27" 1440p IPS @ 360 Hz + 32" 4K/UHD QD-OLED @ 240 Hz + 77" 4K/UHD QD-OLED @ 144 Hz VRR
Case Fractal Design North XL
Audio Device(s) FiiO DAC
Power Supply Corsair RM1000x / Native 12VHPWR
Mouse Logitech G Pro Wireless Superlight + Razer Deathadder V3 Pro
Keyboard Corsair K60 Pro / MX Low Profile Speed
Software Windows 10 Pro x64
I bet the performance uplift we see with 24H2 update is what Windows 10 performance have been looking all along?

This is probably why Windows 11 gaming performance has been mediocre (compared to 10) for years.
 
Joined
Jul 31, 2024
Messages
55 (1.83/day)
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?

In my personal opinion since Windows 95, Windows wasted more hardware than Gnu Userspace and the linux kernel. Means hardware has to be bought for an acceptable Windows experience. Nothing changed.

Windows 10 is out of support range in my personal opinion. Nothing new. I doubt there will be any new features for W10.

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.

Not really.

sys-devel/gcc hardly has optimizations for Ryzen 5000 / 7000 cpus.
I also check what is new in the kernel version increases because I Build my kernel myself. (Nothing fancy - Same commands to build a kernel since 2006, still same gnu gentoo linux installation from 2006.)
There are a few more options recently. A lot of work is being done for scheduler and those security stuff.

Most newbies with their binary distros - do not know what I talk about. They use prebuild software and generic kernel in their binary distros. Which hardly utilize or benefit the hardware at all.

I moved my hardware from Ryzen 5800X -> Ryzen 3 3100 -> Ryzen 7600X from January 2023 till April 2023. Therefore I had to recompile my hole box. And I saw the compile times. A performance indicator is, how long a package compiles. gcc / libreoffice / and so on. I delete from time to time the log files, still I see the difference over the package versions over the time with different cpus.

I also recompile with the corresponding new cpu flags for the Ryzen 7600X. Barely a difference for around 1400 to 1700 installed packages.

The file system also has a big impact on performance. E.G. tmpfs - file system stored in the DRAM.

Summary: gcc is in my point of view far behind in regards of optimizations of current hardware. That means as of now in my point of view Ryzen 7000 or newer. Binary distros with binary generic kernels hardly benefit.

--

Phoronix benchmarks - forget them. Just a pile of numbers for clickbait. Faster compile times -> that is easy to measure and to see over several times of package compiles over time. Less backup time and so on, that is performance I see and can verify.
 
Joined
Sep 12, 2008
Messages
227 (0.04/day)
Location
Denmark
Processor Intel Core i7-6700k - Stock, multi core boost enabled
Motherboard MSI Z170i Gaming Pro AC
Cooling Noctua NH-U14S + Arctic MX2 thermal paste, 2 case fans (front and rear).
Memory 2x8gb Kingston DDR4 2666mhz
Video Card(s) MSI Geforce 1060 GTX Gaming X
Storage 120gb Samsung 830 EVO SSD, 240gb Samung 840 Evo SSD, 1tb Seagate HDD, 960gb Corsair Force MP510B
Display(s) Dell Ultrasharp 1920x1080
Case Phanteks Enthoo Evolv ITX SE
Power Supply SilverStone SST-ST85F-P
Mouse Microsoft IntelliMouse Explorer 3.0
Keyboard Steelseries 6Gv2 - Cherry MX Black edition
Software OS: Windows 10 Pro 64bit.
Benchmark Scores Cinebench R20 multicore score: 2249. Cinebench R23 multicore score: 5149.
Does this update even HAVE the branch prediction fix? There is absolutely zero indications in Microsofts KB docs that indicates this. I worry that this news is websites etc. seeing someone else stating it, and then just running with it without checking it first.
Some posters here report zero changes in performance.
 
Joined
Jul 24, 2024
Messages
57 (1.54/day)
What about the HT issues that were suspected initially, and also prompted W1zz to do additional testing? Cores running two hardware threads when they wouldn't have too? Was that suspicion false?
Why SMT in Zen 5 scales differently than in Zen 4 remains unknown.
Microsoft or AMD haven't even called it an issue yet, so ...
 
Last edited:
Joined
Feb 20, 2019
Messages
7,869 (3.90/day)
System Name Bragging Rights
Processor Atom Z3735F 1.33GHz
Motherboard It has no markings but it's green
Cooling No, it's a 2.2W processor
Memory 2GB DDR3L-1333
Video Card(s) Gen7 Intel HD (4EU @ 311MHz)
Storage 32GB eMMC and 128GB Sandisk Extreme U3
Display(s) 10" IPS 1280x800 60Hz
Case Veddha T2
Audio Device(s) Apparently, yes
Power Supply Samsung 18W 5V fast-charger
Mouse MX Anywhere 2
Keyboard Logitech MX Keys (not Cherry MX at all)
VR HMD Samsung Oddyssey, not that I'd plug it into this though....
Software W10 21H1, barely
Benchmark Scores I once clocked a Celeron-300A to 564MHz on an Abit BE6 and it scored over 9000.
windows 10 and 11 are a horrible intrusive mess people put up with because they have to
QFT.
Linux is also a horrible mess, but that's besides the point. An overwhelming percentage of both commercial and consumer software is made for Windows x86 and sometimes also for Apple. We run Windows because the software we've purchased NEEDS it.
 
Joined
Dec 23, 2014
Messages
8 (0.00/day)
Location
Denmark
System Name Homemade
Processor AMD FX 8350
Motherboard asus m5a99x evo
Cooling H60 push pull
Memory Corsair vengance 2*4 gb 1600mhz
Video Card(s) asus 770 gtx
Storage kingston ssd now 120 gb
Display(s) BenQ xl 2411T
Case Corsair 300r
Audio Device(s) Xfi gamer exstreme
Power Supply colermaster 750gx
Software Windows 7 64bit ulti
Quick tested in CS2 benchmark from workshop.

My gf computer whit an 5600x and 3060ti
3% gain. In fps before 655 after 668

My own system. 7700x and 4070 ti super
7% gain in fps. Before 660 after 703
 
Joined
Aug 7, 2019
Messages
348 (0.19/day)
QFT.
Linux is also a horrible mess, but that's besides the point. An overwhelming percentage of both commercial and consumer software is made for Windows x86 and sometimes also for Apple. We run Windows because the software we've purchased NEEDS it.
In which way is it a horrible mess? Honest question.
 
Joined
Jul 24, 2024
Messages
57 (1.54/day)
I could not get the times to line up properly. If its 07:XX then it's pre patch. If it's 09:XX then it's post patch.
Quake Champions and BattleFront II seem to be out of order. Others are Older > Newer in the chart.
1724842541763.png


Also these 2 ^^ seem to be either out of order or the update actually decreased performance.
If they are reversed, then those 0.1% improvements are really nice. You've got 33% raise in Hitman, 39% in Titshima, in SoTR it's above 60%.
 

mikesg

New Member
Joined
Jun 1, 2024
Messages
11 (0.12/day)
If prediction optimisations are to decide what to keep in the cache, it's not going to benefit the X3D series much.
 
Top