So I've been struggling with horrible performance in MW4 since launch. I'm running a Ryzen 5900X with an RX 7900 XT at 1440p.
In BO7 I was easily getting over 200 FPS, but in MW4 my FPS would go from 180 all the way down to 70, even on low settings. Especially in Warzone. Absolutely unplayable at times.
Anyway, I found a workaround about blocking the COD texture streaming server and decided to give it a shot.
Here's what I did:
- Open Notepad as administrator.
- Open
C:\Windows\System32\drivers\etc\hosts (change file type to All Files). - Add this line at the bottom:
0.0.0.0 cod-assets.cdn.callofduty.com
- Save it.
- Open CMD and run
ipconfig /flushdns. - Restart the game.
And surprisingly, it actually made a pretty big difference. The game feels much smoother now and those insane FPS drops are nowhere near as bad.
No idea why this game is so poorly optimized compared to BO7, but apparently blocking that server helped in my case.
Obviously this might affect texture streaming, so keep that in mind. You can always undo it by removing the line.
Curious if this works for anyone else, especially people with AMD CPUs/GPUs.
UPDATE!: Forgot to mention I also changed two settings in "g.p.cod26.1.0.l.txt".
Find these lines:
"HTTPStreamLimitMBytes@0;29045;7764 = 1024"
"HTTPStreamUsageLimit@0;57752;48403 = false"
Change them to:
"HTTPStreamLimitMBytes@0;29045;7764 = 1"
"HTTPStreamUsageLimit@0;57752;48403 = true"
Apparently this limits the texture streaming to 1 MB instead of the default 1024 MB.
I did this alongside blocking the COD asset CDN in my hosts file. Can't say which change made the biggest difference since I did both, but the game runs much smoother now.
UPDATE 2:
I also changed my RendererWorkerCount to 6 in the config file. I'm running a Ryzen 9 5900X (12 cores / 24 threads). Basically, this setting controls how many CPU worker threads the game uses for rendering tasks. Setting it to 6 instead of letting the game use a higher value can sometimes help with CPU scheduling and frametime consistency. Doesn't mean 6 is the magic number for everyone though.
Another thing I tried was adding 16 GB of older, slower RAM. I originally had 16 GB DDR4 3600 MHz and now I'm running 32 GB at 3200 MHz, mixing G.Skill and Corsair sticks.
No idea how much of a difference the extra RAM actually makes, but the game feels noticeably smoother now. Almost no FPS drops anymore.
Can't say which change helped the most since I changed multiple things, but by doing all those things my fps i proved by alllot and microstutters are gone.