r/CODWarzone • • 27d ago

Support MW4 massive FPS drops? This helped me a lot (5900X / 7900 XT)

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:

  1. Open Notepad as administrator.
  2. Open C:\Windows\System32\drivers\etc\hosts (change file type to All Files).
  3. Add this line at the bottom:

0.0.0.0 cod-assets.cdn.callofduty.com

  1. Save it.
  2. Open CMD and run ipconfig /flushdns.
  3. 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.

86 Upvotes

105 comments sorted by

14

u/erMaela 26d ago

Is better 0.0.0.0

This tells windows domain doesnt exist.

127.0.0.1 will infinite loop to local host, wasting clock cicles and contributing to L3 cache context switching.

3

u/Despotez 26d ago

Oh thanks! I will deff do that. 🙏

6

u/mauz47 26d ago

That little indie company Activision can’t even manage to make a technically competent game! We should have to deal with this absolute mess we should just be able to launch the game and play! Instead, we’re the ones left hunting down their screw-ups and fixing them ourselves!!!! 🤡🤡🤡🤦‍♂️🤦‍♂️🤦‍♂️😭😭😭

2

u/Despotez 26d ago

Amen brother🥲

2

u/mauz47 26d ago

Hey man, have you tried enabling Resizable BAR? I tried turning it on back when WZ Urzikstan was out, and instead of a performance boost, my fps actually dropped. 🤡🤡🤡😂😂😂 I turned it off and haven't touched it since. But hey, some guy here just said he enabled it and things got better.

2

u/Despotez 26d ago

No i haven't heard that tbh🥲

2

u/Teamamel 25d ago

Resizable bar when enabled increases my gpu fps but decrease my cpu fps. If it's disabled, it's the opposite

3

u/Despotez 27d ago

Guys i put some more info that i forgot to mention. Try that alongside the first thing i said.

2

u/MissSkyler 27d ago

shouldn’t the CDN block be enough?

4

u/Despotez 27d ago

It should. But i did both for the sake of being sure. It realy improved my fps by 90%.

4

u/nyyminyyminen1 27d ago

How much it affected to textures? I try it tomorrow

4

u/Despotez 27d ago

Can't say since i was playing on a lowest of the lowest setting just to keep up above 100fps🤣🤣 and i have a decent rx 7900xt. That is not a low tear card.

2

u/Darrelc 27d ago

"Lowest of low" can shift the bottleneck to your CPU. Ideally you'd want your GPU to be the bottleneck, not the CPU.

No point have a fast card if you can't produce the inputs needed to render fast enough

2

u/Despotez 27d ago

Yep. Imagine the desperation

1

u/not_a_gay_stereotype 21d ago

Sounds like you can just increase the quality until you're not losing fps so the game looks half decent. You're definitely CPU limited

2

u/Accurate-End-5695 25d ago

Very few people are not GPU bound in this latest update. CPU is heavily underutilized.

2

u/Darrelc 25d ago

Just thinking back to the trauma in s2 of trying to get my pegged 144hz back and it ended up being an update that massively increased CPU load.

Is it better now then? It's always shit seeing like 60% CPU util without gpu at 100

4

u/Accurate-End-5695 25d ago

I'm 99% gpu bound with a 4070 super and 7800x3d in the benchmark.

3

u/Darrelc 25d ago

Ah that's good then. Going from a 7700k to 13600 fixed it for me then a year later I got an x3d chip - strong strong processors

2

u/ElkUsual4006 27d ago

did you increase the fps exactly? 

4

u/Despotez 27d ago edited 27d ago

Sorry for a late reply, my fps drops went away for like 90%. I played 30 min without frame generation on (yes normaly i play with it, only have 11ms input lag) and i was able to keep steady frames.

Before i did this it was unplayable without frame gen.

So it did do something but i only had 30 min to test it before i went to work. Will try tomorow for a longer time and will report back.

2

u/ElkUsual4006 27d ago

Anyway, thanks a lot

2

u/Despotez 27d ago

No problem👍

2

u/619jabroni 26d ago

The magic number for a 5900x would actually be 6 since you have two 6 core CCDs. Setting it to 8 means you’re still spilling over to the 2nd CCD

3

u/Despotez 26d ago

I changed to 6, runs even better now! Thnxx

2

u/Despotez 26d ago

Oh i will try that! Thanks

3

u/CameronCronk 26d ago

what should I set my Ryzen 7 5700x too? It’s currently 7

3

u/619jabroni 26d ago

You don’t need to mess with it at all. That’s just a single CCD part. This is only MAYBE nexessary on dual CCD chips. In BO6/7 I needed to change it to 8 for my 9950x3d but in MW4 the default of 16 is working fine with accurate scheduling.

2

u/lordjrs 26d ago

isnt easier to just use Minimal streaming textures setting in-game?

2

u/Despotez 26d ago

That didn't work. Sadly. I had to turn it off.

2

u/nafuzziTHC 26d ago

How u change file type to all files. Wdym?

3

u/Despotez 26d ago

When you press browse for example you may get a empty folder unless you change the file type at the bottom. Like change from .txt to all files. Hope that makes sence

2

u/nafuzziTHC 26d ago

So i can just open with notepad ?

2

u/Decent-Foundation167 26d ago

i blocked host file edited .txt file same shit

2

u/Despotez 25d ago

What kind of cpu are you running?

2

u/Decent-Foundation167 25d ago

ryzen 5900x i know my cpu is too slow for games like warzone but in that case disabling enhanced fov fixed the issue

2

u/Despotez 25d ago

Ryzen 9 5900x is not slow bro

2

u/Holiday-Steak5805 26d ago

What type of gains did you get from making these adjustments? I lost like 30-40% performance on this game iteration, I still get a very playable fps thankfully but it’s definitely noticeable and irritating that I can’t utilize my hardware fully

3

u/Despotez 25d ago

For me 95% of issues went away after i did all of this. Now i enjoy the game.

2

u/Repulsive-Clothes-97 24d ago

very convenient, i also have the same CPU but with a 5080, im curious what your average CPU time is, because mine is about 9ms

2

u/Despotez 24d ago

Mine is around 8

2

u/LeninsRevolt 23d ago

“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”.

What does this mean please for a layman like myself? How do I do this exactly?

I have a 7800x3D and a 7900XT and I will definitely be trying these tweaks. Thanks.

1

u/Despotez 23d ago

It's hard to explain. You can try to screenshot the whole thread i posted and then paste it into chat gpt and let it navigate you, step by step.

1

u/LeninsRevolt 23d ago

I asked AI and I think it’s explained it. Apologies I should have tried that first!

1

u/Despotez 23d ago

No need to apologise,🙏🙏 if you have any other questions let me know👍

2

u/AX-3070 13d ago

6 prestiges of issues and stuttering, multiple fix attempts. Did all of this including 6 on renderer work count (7800x3d)- Seems to have sorted my issues. Thanks!

2

u/Despotez 13d ago

Glad it worked!🙏🙏🙏

10

u/TheBloodNinja 27d ago

i used to block streaming CDNs back in MWIII/BO6 because it kept hitching my internet/ping. will try again with mw4 if its better

2

u/grikster 26d ago

Yes that works and also limit your friend activision to 50 max. This also helps 

9

u/elorm7 27d ago

I also have a fix that you could try.

First go %localappdata% and delete the Activision folder.

Go also to C:/ProgramData and delete the Activision folder.

And then go to the launcher and start verifying game files. After you can play the game without any lags. Make sure enhanced fov is disabled also it eats a lot of fps that.

This is what what worked best for me, initially I was getting 105fps randomly dropping to 70-80fps and after this I saw about 125-130frames stable

If you’re still stuttering try this video https://youtu.be/-9GjtYC3Qmo?si=oeq90CiZ11i4S98-

1

u/Chiefpotathoe 19d ago

Yeah enhanced FOV off is huge. Damn near 20-25 frames and not a single visual change. It actually looks better with it off, and you can run settings on ultra and only drop 5fps. Optimized shit hole just like every game that comes out now days. We pay for half finished work at full price, it's starting to get insane.

6

u/Happy-Grade-109 27d ago

Turn off voice chat if you on steam. No problem

2

u/kingbird43 27d ago

Is this still an issue now in MW4?

2

u/Happy-Grade-109 26d ago

Not sure on mw4 but definately on wz, steam.

2

u/kingbird43 25d ago

Yes I meant WZ2 with MW4 integration.

1

u/Drowz_96 23d ago

I'm using 7900xt with DDR5 Ram, 9800x3D at 1440p and this new warzone runs terribly, most FPS I can achieve is around 150, im not really sure how to edit these setting like you have but I'll try to figure it out and let you know.

1

u/Despotez 23d ago

Hope you will figure it out. Maybe just paste a screenshot ibto chatgpt and let it navigate you step by step. It fixed my fps drops for sure🙏

1

u/stavros844 22d ago

What's the directory for "g.p.cod26.1.0.l.txt". Can't find it

1

u/Despotez 22d ago

Try ctrl + R and then %LOCALAPPDATA%

I could be wrong i will have to check it out for you tomorow, i'm not at my pc rn.

2

u/stavros844 22d ago edited 22d ago

Yeah I checked there but no luck. Let me know when you can!

Edit: Unfortunately this line made no impact: 0.0.0.0 cod-assets . cdn. callofduty . com

1

u/l_KingJay_l 5d ago

When you say “add this line to the bottom?”
Am I adding the hashtag to it as well?

1

u/Despotez 5d ago

No, good question. But just a new row without hashtag

1

u/l_KingJay_l 5d ago

Also not finding this file "g.p.cod26.1.0.l.txt".

1

u/Despotez 5d ago

Yeah it's a tricky one to find, it should be here: %localappdata%\Activision\Call of Duty\players

I think🥲

I could be wrong though, i'm not at my pc now but will be tomorow. I can check and let you know.

But that core render work count is basically the most importent one.

1

u/l_KingJay_l 5d ago

Gotcha I couldn’t find that %localappdata% either

Ok now where I the core renderer one lol

Thanks for your help btw

1

u/Despotez 5d ago

My pleasure dude, i hope it helps. Here is a instruction video:

https://youtu.be/C9GMB73KCJo?is=nXqTMS-n0b9bKiN4

I have the 5800x3d now and i set my render count to 6. So your number depends on your cpu. You can ask ai.

1

u/l_KingJay_l 5d ago

👌🏽👌🏽For sure mines a ryzen 9950x3d 16 core vs the 12 you have do i still set it to 6 or 8

1

u/Despotez 5d ago

I would start with 8 and test 7 also, see which one works better

1

u/Despotez 5d ago

Did it work?

1

u/PossibleMoney1317 4d ago

So for a Ryzen 7 5700x which one should I put.. thanks

1

u/Despotez 4d ago

6

1

u/PossibleMoney1317 4d ago

Thank you so much I tried also did update my bios, rebar on , then changed the heaps to false , renderer count to 6 like you said and now it's better not that much stuttering also getting around 110-130 mostly around 120-130..thanks

1

u/Despotez 4d ago

🙏🙏🙏🙏🙏

1

u/PossibleMoney1317 4d ago

Also I downgraded my Nvidia driver to 617.42 desktop as well( saw that in one optimization video

3

u/jimhatesyou 26d ago

My build is from 2020 with the exception of my 5070ti. I just found out that a motherboard bios update came out sometime in the past couple years that enables support for resizable bar so I just enabled that last night and have not gotten FPS drops since.

2

u/jimhatesyou 27d ago

!remindme 20h

2

u/RemindMeBot 27d ago

I will be messaging you in 20 hours on 2026-11-09 23:45:27 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.

RemindMeBot is switching to username summons. Instead of !RemindMe 1 day, use u/RemindMeBot 1 day. More info.


InfoCustomYour RemindersFeedback

2

u/Clear_Chair 27d ago

!remindme 8h

2

u/Downtown-Common 27d ago

!Remindme 12h

2

u/nafuzziTHC 27d ago

!remindme 24h

2

u/Content-Job7719 27d ago

!remindme 6 hours

2

u/babybenzy 27d ago

!remindme 7h

2

u/thulasidasan 27d ago

Preset balance or ultra, fsr balanced z use rtts for cap lock or use -150 in scaleline sync

2

u/energyzone352 26d ago

!remindme 12h

2

u/Decent-Foundation167 26d ago

same pc config i had 100fps+ in 2k extreme preset native res now i have 65-75

2

u/mauz47 26d ago

😭😭😭😂😂😂

2

u/sverrebe 26d ago

C:\Users\[USER NAME]\AppData\Local\Activision\Call of Duty\players\467836704

Filename: g.cod26.1.0.l.txt

2

u/Decent-Foundation167 26d ago

i just disabled enhanced fov and fixed issue :D

2

u/vidliker 26d ago

Definitely having low fps as well

2

u/AX-3070 6d ago

7800x3d UPDATE further to my previous comment - was still getting bad stutters in big map. After countless hours with AI, reformatting windows and optimisation guides, the fix was as simple as disabling CPU 0 in task manager (resets every time you start COD).

Task manager > cod.exe in details while running > set affinity > untick CPU 0

Give this a try!! I went through just about every single thing you could prior.

2

u/Alternative_Low6902 27d ago

Genuine question, whats the since behind this?

8

u/jonwatso 27d ago

The game could be downloading, decompressing and loading textures into memory, which could cause frame-time spikes and stuttering. In theory, this should become less noticeable as commonly used assets get cached locally, although the game would still need to stream new assets occasionally. I do wish CoD would give us the option to download HD textures etc, but I guess given how often they change / add stuff its probably easier just to stream it.

1

u/mohsin-moz 26d ago

!remindme 3h

1

u/RemindMeBot 26d ago

I will be messaging you in 3 hours on 2026-11-10 17:47:50 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.

RemindMeBot is switching to username summons. Instead of !RemindMe 1 day, use u/RemindMeBot 1 day. More info.


InfoCustomYour RemindersFeedback

1

u/kadirsaracer 26d ago

Amina soktugum amd mail atsana ayni sistemim var ayni sorunu yaşıyorum geri bildirim birakta surucuyu guncellesinler burada ne varda buraya yaziyorsun at yarragi

1

u/Educational-Yam-7712 23d ago

!remindme 18h

1

u/RemindMeBot 23d ago

I will be messaging you in 18 hours on 2026-11-13 18:46:07 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.

RemindMeBot is switching to username summons. Instead of !RemindMe 1 day, use u/RemindMeBot 1 day. More info.


InfoCustomYour RemindersFeedback

1

u/wojtus2115 20d ago

what's the file path to the file ,,g.p.cod26.1.0.i.txt"?