Baldur's Gate 3 Patch 2 will be "chonky," with fixes for performance issues and other issues

https://lemm.ee/post/5952443

Baldur's Gate 3 Patch 2 will be "chonky," with fixes for performance issues and other issues - lemm.ee

They desperately need to fix CPU affinity - this engine barely touches 4 threads, let alone leverage modern CPUs.

But the game is so well loved that whenever I pointed this out, I was downvoted. A criticism of the engine isn’t a criticism of the game design.

If it has that bad of a cpu affinity, and barely using 4 threads, i wonder why its hitting 100% on my 4 core 4th gen i5 and it has 47 threads… :')

and it has 47 threads

I believe you’ve made a typo. But either way, the game can only use (effectively) 4 threads. Your CPU is got 4 cores 4 threads, so 100% usage makes a ton of sense. If you upgraded to a multithreaded 4 cores 8 threads CPU, you’d see performance in this game would not scale up as it should.

Why should it? It runs 60fps at ease with a better system And no, not a typo (Trying to add a screenshot, but liftoff is acting weird)
You do not have 47 threads, friend. If this wasn’t a typo, this does mean you don’t know what a CPU thread is.

Im a developer, and ive written a thread scheduler for an os, i know what threads are :')
The game has 47 threads, which you can verify in task manager. What you are thinking of is how many threads the cpu can process in parallel, which is indeed 4 on my cpu.

However, like i said, the game runs perfectly so the engine and windows seem to balance the priority and timings of those 47 threads just nicely and i dont see why it would need to use more cpu cores to process… Nothing. Adding more threads and using more cpu cores does not always mean faster processing of data…

ive written a thread scheduler for an OS

And you’re confusing software threads with actual CPU threads, because you do not know what a thread is. Which is concerning, because you’re being very confident about this and multithreading has existed for over a decade.

Look, this is the last time ill reply to you because weve deviated far from the original topic.

There is only 1 definition of a thread. A thread is a piece of code that is executed on a processor, and which contains the state of a processor and its registers ( where in memory it was executing, memory locations, stack, state of the function it was executing,… ). Which thread gets executed is for the operating system to decide depending on several things ( priority or affinity as its called in windows , type of thread, what layer of the os requests time etc etc )

There is , at its core, no such thing as a “cpu thread”. This is marketting speak to indicate how much threads a cpu can processes at the same time. Depending on the operating system’s scheduler, the processor and the type of instruction it needs to process, a cpu could processes 16 threads at the same time on a 8 core/16thread cpu so its constantly using everything of a cpu. However, if 2 or more threads are doing similar instructions it is possible a thread has to wait for the other to process despite them not having anything to do with each other. Thats on the processor’s scheduler to decide btw.

Adding more threads to the os’ thread queue isnt magically going to make things faster. Take a look at dolphin’s thread and core usage. They have ( used to?) be against adding more threads to the emulator because it made 0 sense to do so, despite some games running slow. This resulted in dolphin at one point using 2 cores 100% on a quad core cpu, while 2 were doing nothing. Just because adding threads that would 90% of the time do nothing was a waste of resources and processing time.

I have a feeling you dont understand how this stuff works, as you have given me nothing of proof, details or anything of how any of this works. Have you profiled the game? Checked gpu busy vs cpu busy? Looked beyond the cpu % usage? Checked on different hardware?

My dude, you claimed you had a 47 thread CPU. You didn’t claim the game spawned 47 threads.

There’s no such thing as a 47 thread CPU. It’s okay to be wrong. Have a nice day.

No, i claimed the game’s process has 47 threads.