Small hack could improve Cyberpunk 2077 perf with certain AMD processors (updated w/ benchmarks)
Redditor BramblexD discovered that certain AMD processors perform worse than should be theoretically possible. AND from the looks of things, SMT mode for AMD processors is disabled by default in the game.
There is a quick fix, a hack even. Using a hex editor, searching the game executable for '75 30 33 C9 B8 01 00 00 00 0F A2 8B C8 C1 F9 08 'and replacing it for '74 30 33 C9 B8 01 00 00 00 0F A2 8B C8 C1 F9 08 ', would ope up multithreading on AMD processors. The edit modifies the game's scheduler to make it utilize more CPU cores, says / u / CookiePLMonster. Some users claim to achieve about 30% better performance. However, that doesn't go for all user as some have even worse performance. With the code below you can re-enable smt on your Ryzen processor, using a hex editor. Since there are large differences between systems with different hardware combinations.
Look for:
75 30 33 C9 B8 01 00 00 00 0F A2 8B C8 C1 F9 08change to:
74 30 33 C9 B8 01 00 00 00 0F A2 8B C8 C1 F9 08
From the looks of it, CDPR has been using code lines from the Bulldozer era, and as it seems, AMD processors with a lower CPU core count, are affected by this the most. If this is the case, then we're sure that the software house will include it in a future patch soon as well. It's unclear how the game, which has been delayed so many times, has not been optimized for AMD Ryzen processors.
Here is the procedure:
1. Download HxD Hex Editor
2. Find the executable Cyberpunk2077.exe
3. Make a backup copy of Cyberpunk2077.exe just in case
4. Drag Cyberpunk2077.exe to the HxD, a lot of hexadecimal numbers should appear (01 FF 0D, etc. )
5. Press CTRL + F, change the column to hexadecimal values
6. Put “75 30 33 C9 B8 01 00 00 00 0F A2 8B C8 C1 F9 08” in the search line without quotes, those values should be highlighted
7. Copy "EB 30 33 C9 B8 01 00 00 00 0F A2 8B C8 C1 F9 08" without quotation marks
8. Now in HxD, this copied value right click on the value and paste the new hexadecimal value
9. In the toolbar of above, click on save and voila.
If it does not work out for you, just swap back the old executable file.
Update
The colleagues from German Computerbase (read) put several Ryzen, 5000 series processors, to the test with the hack. They are not advising applying it. In some use cases it seems faster, but the percentile 0.2 FPS drops significantly.
- Ryzen 9 5950X, Ryzen 9 5900X and Ryzen 7 5800X run between 5 and 10 percent slower after the hack.
- Ryzen 5 5600X behaves differently again. In fact, the 6-core processor increases the average frame rate by 9 percent, but the percentile FPS break away completely.
Junior Member
Posts: 9
Joined: 2019-09-23
With my 2700X certain games perform better with multithreading disabled, Elder Scrolls Online is what I mainly play and I have to disable multithreading for it to perform best. I'm sure with certain processors maybe the 5000 series may not be effected in the same way due to their architecture.
I am guessing SMT degrades performance on some older models but not newer and since they just disabled it across the board for AMD some will see better performance out of hacking SMT in.
Senior Member
Posts: 320
Joined: 2013-03-06
Doubt it. It's really so hard to back up the original .exe?
Senior Member
Posts: 9699
Joined: 2006-02-14
On top of this fix to actually use SMT threads on AMD CPUs, the memory pool values are set the same as the console settings...
Go to your CP2077 game folder > engine > config > memory_pool_budgets.csv
Set the values in that to something more appropriate for your system. Loading a save would previously take 2-5 seconds for me, now it's more like 1-2 seconds. I've only looked at one area but performance is up only a little from the RAM pool setting change, but other people are reporting massive performance increases depending on their hardware and area in the game.
I have no idea WTF CDPR are doing, but this has to be the messiest giant game release I've ever seen in terms of performance/bugs. I have no idea how they could overlook SMT being disabled for AMD CPUs, that seems intentional, since I don't believe those working on the game are that stupid.
And no, disabling SMT on AMD CPUs wouldn't raise performance on some chips, that makes no sense, this game will use all the threads you have. In my case, after the fix, all 24.
Senior Member
Posts: 4455
Joined: 2006-12-22
It was posted many times in Cyberpunk threads . All AMD benchmarks are off and game should be retested with this fix.
On top of this fix to actually use SMT threads on AMD CPUs, the memory pool values are set the same as the console settings...
Go to your CP2077 game folder > engine > config > memory_pool_budgets.csv
Set the values in that to something more appropriate for your system. Loading a save would previously take 2-5 seconds for me, now it's more like 1-2 seconds. I've only looked at one area but performance is up only a little from the RAM pool setting change, but other people are reporting massive performance increases depending on their hardware and area in the game.
I have no idea WTF CDPR are doing, but this has to be the messiest giant game release I've ever seen in terms of performance/bugs. I have no idea how they could overlook SMT being disabled for AMD CPUs, that seems intentional, since I don't believe those working on the game are that stupid.
And no, disabling SMT on AMD CPUs wouldn't raise performance on some chips, that makes no sense, this game will use all the threads you have. In my case, after the fix, all 24.
Someone got money from Intel

Senior Member
Posts: 5514
Joined: 2004-01-28
I said it before and I'll say it again. It's not my job as a consumer to fix something I shouldn't have to. You do this tweak you're gonna screw up all future updates and the integrity of the games installation. I'll pass.