Tag: performance
There is no magic performance fix we can give you.
But I have []GB of RAM!!
Having a large amount of memory will not magically make the game run faster, much like having a bigger trunk wont magically make your car drive faster. TModLoader will use as much memory as it needs from your system already, you cannot and would have no benefit to 'using more RAM', much like filling your trunk with random junk wont make your car go faster.
But the CPU/GPU usage is only []%!!
Much like memory, the game will use as much processing power as it needs. Ultimately the majority of the game is single threaded with a few exceptions, and as such is usually limited by single core clock speed.
But why is it not multithreaded?!?!
Multithreading isn't a universal cure-all nor is it simple to handle. The game relies on consistent execution order to calculate things, and often the cost of lock contention, or threads waiting on others for sensitive memory, can exceed the cost of simply running everything sequentially on one thread. A full re-write of the game designed with thread safety in mind would be needed, and the gains would likely be less than expected.
But I have a GTX5090 giga super mega card!!
While having a powerful graphics card can help a little, Terraria is still largely considered a CPU bound game. Additionally, the advancements in newer cards are more focused on features such as 3D raytracing cores and tensor cores for processing things like global illumination and frame generation AI models, which wont help.
So what can I even do?!?!
The only guaranteed way to improve your performance is to use less mods, ultimately no hardware will make up for poorly made mods! Most mods are made by hobbyists and novices with limited time/knowledge.