RimWorld

RimWorld

󠀡󠀡 Oct 22, 2019 @ 1:02pm
increasing item stack Mod decrease performance?
Played RimWorld for 1000h, but with most saves I experience 10-20fps at Late.
I have a ton of mods, so there are certainly many reasons why lag occurs.

I use mods that increase item stacks, but I think they are degrading performance.
Vegetables and herbs have a rotting time and they are constantly updated when the world is moving. Is the temperature check the same?

Observe RimWorld while checking the performance, but the memory is normal and the CPU is very quiet and stable.

I think they're affecting the performance by letting the CPU check every second.

I'm not an engineer, so it might just be a delusion...

RAM: 24GB
CPU: Core i7 7700K (Overclocked)
GPU: GTX 1080
< >
Showing 1-4 of 4 comments
Preechr Oct 22, 2019 @ 1:08pm 
I'm sure Astasia will have specifics on this, but when you stack food items of different levels of time left before they rot, they will average out (more or less) so stacking brand new meals on older meals with less time left will give you a stack of meals with a time left of somewhere in between the two original stacks.

Each meal is not individually checked for its "sell by date," so if you have a mod that allows for larger stacks of items, you are actually decreasing the amount of those checks that are happening, which should slightly increase performance rather than degrade it.
Astasia Oct 22, 2019 @ 1:18pm 
Yup, it works as Preechr says. Items are not tracked individually in the game, they are tracked by stack, things like rot timers and item health are merged together into a single averaged value, and the temperature is being applied to the stack so that's only a single update instead of many. Stack size increasing mods actually improve performance rather than negatively impact it as you have much fewer stacks on the map, not to mention the smaller base sizes required to store the same amount of items.

This is the main reason I always use the basic stack size increasing mods rather than the more complex/interesting mods that might handle storage differently, it's just a lot better for performance.
di eshor ribly Oct 22, 2019 @ 1:27pm 
I've noticed quite an improvement in my own frame rates after using Ogrestack and Stackable Chunks. As Astasia mentioned, the smaller base size was very helpful as well. I went from taking up almost 1/4 of the map as a dumping stockpile to maybe needing a 20x20 for larger maps.

You should also be keeping your perishables in a freezer of some kind, if at all possible. Those degradation checks don't occur if they're frozen. Likewise, having an interior storage room turns off the "degrading because: outside" mechanic. If it's not a chunk or raw resource like steel, it needs to be stored correctly.
󠀡󠀡 Oct 22, 2019 @ 1:31pm 
Thanks!
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Oct 22, 2019 @ 1:02pm
Posts: 4