Forum Discussion
Hi,
Another part of performance improvement tips. My CPU is i9-10900KF 10C/20T.
We all know that BF2042 is heavy CPU dependent. This may and will influence DLSS functionality - higher the upscaling is = the higher load on CPU is required, but unfortunatelly there is no space for additional workload... Therefore some of us does not see FPS improvements with DLSS enabled. I have noticed, that playing DLSS=balanced or DLSS=performance my GPU utilization is around 70-80% and CPU utilization is around 30-35%. Something is not right.
Root cause:
By default game is distributing CPU load per physical core count. So in my case I will have only 10 working threads, loaded up to 70%. The remaining 10 threads does nothing.
Fix:
Work needs to be distributed on all available threads. This cannot be achieved from the in-game's console. The only way to influence on that setting is through the User.cfg file (which does not exist by default). However settings that influence the CPU workload distribution are slightly different than it was in former Battlefields:
Create User.cfg in game's installation folder with the following content:
Thread.ProcessorCount <core count here>
Thread.MaxProcessorCount <thread count here>
Thread.MinFreeProcessorCount 0
Thread.JobThreadPriority 0
And now very important note: Thread.MaxProcessorCount cannot consume all available threads. If I set 20 game will crash on startup. Same for 19 and 18. The 17 is the max value I can use. In case of different processors you need to find the maximum possible value for your CPU.
It seems that this variable is not an exact thread count consumed by the game. For my processor, since Thread.MaxProcessorCount 14 load is distributed on ALL 20 threads. What does change from Thread.MaxProcessorCount 14-to-17 is the % of the max load possible for threads to consume.
Finally, my User.cfg looks like below:
Thread.ProcessorCount 10
Thread.MaxProcessorCount 17
Thread.MinFreeProcessorCount 0
Thread.JobThreadPriority 0
And thanks to this I increased GPU load with DLSS, which means higher FPS in the situation when GPU was not maxed out earlier.
Here are some comparison screenshots.
Default settings, DLSS=Quality@3440x1440:
User.cfg settings, DLSS=Quality@3440x1440:
Default settings, DLSS=Performance@3440x1440:
User.cfg settings, DLSS=Performance@3440x1440:
In game's console Thread.* option changes does not take effect in runtime. You need to steer the variables from the User.cfg and start the game to see the difference! And don't get confused by seeing Thread.MaxProcessorCount 8 in game's console. It's the default value, which gets internally overwritten by the core count auto-detection made by game on startup. Unfortunately this auto-detection does not take hyper-threading into account...
Cheers!
UPDATE #1 :
Game's CPU core count auto detection works fine. Use "Render.DrawScreenInfo true" in game's console to see details. Core count is a total amount of the Threads. Good! No need to use Thread.ProcessorCount.
The "Job Threads" visible on that debug screen are an exact number of threads defined by Thread.MaxProcessorCount in User.cfg. By default it is 8 threads.
I have been posting a lot about what happens to me on my system running Core i9-7980XE 18C/18TH (HT OFF) and RTX 3090 OC all on water, all overclocked. Of course i tested all the tweaks and stock/oc, i also tried to increase core count tweaking it with project lasso and didn't work, just the bitsum highes performance allowed a better usage of the cpu. What i want to tell you is that no matter the tweaks, you can increase max fps and average but stuttering will not go away. So i decided to turn of Ray Traced Ambient Oclussion and now i not only have great FPS but smooth gameplay for days. Today after BF2042 #Update 2 game is even better. Of course i'm not pleased that having such a hardware i can't run it with RT AO = ON but the game looks great either way, this doesn't mean it don't need to be fix it but from all i've tested this is the thing that works best. For some reason i suspect that BF engine uses CPU for RTX also, at least a part is being processed, or it has some serious issues at high resolutions, i'm running 3840x1600, but it also does it at 3440x1600 and saw many people at 1080p with the same problem.
All the Best, Sergio!
- 4 years ago@andressergiox Thanks. I feel you! I use 10900kf at 5.0 GHz all-cores. The 3090 running at 2100 MHz @1V (overclocked and undervolted). The 32GB RAM OCed to 4533 MHz at CL16. The CPU, GPU and RAM is custom water-cooled with 2x360 rads. And hitting the performance wall? Playing at 3440x1440 200Hz in “breakthrough” without RTAO and disabled DLSS gives me 100-130 FPS. With DLSS set to Quality it is slightly better, around 110-145 FPS. Higher downscale does not bring more FPS though. Game feel smooth, no stuttering, but got RTAO disabled since launch because it does not give any noticeable visual improvement versus HBAO but eats 30-40 FPS. In BF2042 with 128 players and massive destruction there is a lot going on on the CPU. No surprise that enabling DLSS can give even worse performance. I believe that next patches will address game’s optimization further and we will see some 30-40 FPS more. However this game won’t ever break 240 FPS @ 1080p 😉
- 4 years ago@7empePL Thanks for your reply, yes my Core i9-7980XE is at 5GHz ALL Core on DDC with massive 420 rad on one loop and the RTX 3090@ 2145Core / 22404 Mem on another loop, also as i'm on X299 i tweaked the quad channel to pump above 100GB/s on Read/Write/Copy and 50ns latency that it's a great achievement for this platform. So far, and as i already told you i gain on max fps and average but the stutter won't go away till i disable RTAO, then it hits nice FPS but i'm running 3840x1600. I will post the screens today showing the thread count (used your file) and it shows 17 Job Threads now instead of 8. I want to measure it good so i can post a before and after. In my case DLSS = Quality works pretty good, i tried all already.
Let's hope the keep fixing it!
All the Best, Sergio! - 4 years ago@7empePL here are some captures i took for you after the core tweak, this ALL Ultra, DLSS = Quality, RTAO = OFF at 3840x1600 on the heaviest map inmo.
[img]https://i.imgur.com/5528diH.jpg[/img]
[img]https://i.imgur.com/xNHhJwN.jpg[/img]
[img]https://i.imgur.com/wNOTqVy.jpg[/img]
About Battlefield 2042 Technical Issues & Bugs
Recent Discussions
- 5 hours ago
- 15 hours ago