A Redditor by the name 'UnhingedDoork' has made a performance patch for AMD Ryzen CPUs which enables utilization of the logical processors as well as the physical cores in CDPR's new extremely popular futuristic RPG Cyberpunk 2077. Apparently, the game, in its current state, does not seem to utilize Simultaneous Multi-threading (SMT) on AMD Ryzen CPUs while it does so on Intel processors. The patch, for the most part, is fine however another Reddit user 'CookiePLMonster' has slightly modified some values so that it plays better across different CPU architectures.
Users on the Reddit thread are reporting much better frametimes and 1% lows post-patch and that makes sense since in the most CPU demanding scenes of the game, like while driving through Night City, the SMT must be kicking in to aid in the workload distribution and dispatch.
Here's how the utilization of cores is on a Ryzen 9 5950X before and after the patch:
A step-by-step guide (provided by u/chaosxk) on how to install the patch is provided below however, it is cautioned to proceed at your own risk and if any problems are to occur, revert back to the older values.
Download HxD Hex Editor
Find your Cyberpunk2077.exe, (GOG version is in Cyberpunk 2077\bin\x64) and (Steam: Steam\steamapps\common\Cyberpunk 2077\bin\x64\Cyberpunk2077.exe)
Make a backup copy of Cyberpunk2077.exe just in case
Drag Cyberpunk2077.exe to HxD, a bunch of hex numbers should appear (like 01 FF 0D, etc)
Press CTRL+F, change column to Hex-Values
Put in "75 30 33 C9 B8 01 00 00 00 0F A2 8B C8 C1 F9 08" in the search string without quotes, those values should be highlighted
Copy "EB 30 33 C9 B8 01 00 00 00 0F A2 8B C8 C1 F9 08" without quotes
Back in HxD right click the highlighted values and select "paste insert" to overwrite the above "75 30 33 ...." value,
ie, after doing this, the "75"should be replaced by "EB"and the rest of the string values should remain unaltered.
Now go to top bar and click the save icon logo
You might require a system reboot for the patch to take effect.
For those who prefer a video tutorial, here's one provided by u/qa3rfqwef:
It is reiterated that if you face any issues after the patch just revert back to older values in the Hex Editor or the backup Cyberpunk2077.exe that you have created.
That said, AMD Ryzen owners who proceed with the patch, feel free to let us know the results in the comments below.
Ryzen before/after image via u/BramblexD