RimWorld

RimWorld

Chibi Life Mar 9, 2023 @ 4:19am
Late game slowdowns are really a drag to be honest
I find myself quitting and restarting almost always once the slowdowns start to hit. Rimworld was created in Unity and thanks to Monobehavior, Unity is not able provide native threading support for games. It means that Rimworld is effectively running on a single core to process all the ticks per second (TPS).

Rimthreaded mod was a good idea in theory but there's far too many problems that I can't even begin to list them all here.

I use Rocketman and one other mod to help performance but it doesn't really help the late game slowdown much.

I find myself craving late-game play because of all the biotech content which encourages you to tough it out late game to gene edit (not including all the fun mods to expand on it), but the slowdown is awful.

Generally I start off getting 3000 TPS using an uncapper at max speed, by the time I hit late game I'm down to 300-500 depending on what's on the map.

I don't really use 3000 TPS unless there's legit nothing going on, but I find a base TPS of around 900 to be comfortable without boring me when I'm just watching pawns work and assigning jobs to do.

I really think since the Rimworld devs have been releasing new content for awhile now, they should see if they can do anything to assist in the late game woes. The solution is obviously to take advantage of threading and there are various tricks to thread optimization in Unity including with pathfinding which is Rimworld's biggest performance eater. The goal is to move as much of the calculations as you can off of Update methods and into threads which can be tricky.

Worse part is this problem can't be fixed with a mod unless every modder updates their mods to accommodate a threading framework which will never happen.

I can't be the only one who can no longer continue once the slowdown reaches a certain point?
< >
Showing 1-15 of 62 comments
Wasted Mar 9, 2023 @ 4:34am 
time for a new pc, thats what i did, solved the problem

might try very little or no animals. that should help
Last edited by Wasted; Mar 9, 2023 @ 4:35am
Narrowmind Mar 9, 2023 @ 4:52am 
I also got a significant rig upgrade. Made the difference and was worth it.
AldouzTek Mar 9, 2023 @ 5:10am 
Try upgrading to AMD Ryzen 9 7950X with 64 GB RAM and let us know if it made difference.
Hykal Mar 9, 2023 @ 5:57am 
Use less mods, cut down on cattle, don't go over 20 pawns, that sorta thing.
Wasted Mar 9, 2023 @ 6:16am 
Originally posted by AldouzTek:
Try upgrading to AMD Ryzen 9 7950X with 64 GB RAM and let us know if it made difference.

AMD Ryzen™ 5 7600X ($240) with 16 GB probably sufficient with a modern graphics card

I run a 5600g and it does pretty good
Last edited by Wasted; Mar 9, 2023 @ 6:17am
Narrowmind Mar 9, 2023 @ 7:47am 
I would definitely skip the 5600, though it's OKAY. That's what I upgraded from. AMD cpus are amazing, but try to avoid their video cards.
Wasted Mar 9, 2023 @ 11:29am 
i have sapphire nitro + amd 5700 xt gpu 8gb, love it .. can be found on ebay for about $190. great for 1440p or in my case 1660p gaming. can play everything high settings

if someone wants to buy a used gpu thats a solid choice
Last edited by Wasted; Mar 9, 2023 @ 11:40am
SigmaSquadron Mar 9, 2023 @ 11:35am 
Originally posted by Ratlegion:
I would definitely skip the 5600, though it's OKAY. That's what I upgraded from. AMD cpus are amazing, but try to avoid their video cards.
Absolutely not, haha. Aside from the 7000 series being simply more powerful than the competition, AMD has always had better drivers, so it's no hassle to set one up, regardless of OS. Nvidia has also been accused of price gouging and locking down their proprietary tech as much as possible, while AMD has open-sourced many of their projects, so it's not a bad idea to hold off buying Nvidia cards.
Edelgris Mar 9, 2023 @ 11:57am 
I'm playing on a Ryzen 5800X (16GB RAM) and I noticed my game started to lag to the point where it became annoying (it froze for 0.5s every minute or so). I started over with a lot less animals and it seemed to do the trick.

I'm curious whether a 5800X3D's V-cache would help alleviate this problem in any way. I haven't looked into exactly how V-cache works.
Wasted Mar 9, 2023 @ 12:00pm 
i don't think it would be worth switching
Narrowmind Mar 9, 2023 @ 12:33pm 
You do you, but I tried them with the Freesync, 3d ready, endless settings, whatever, and that was enough for me. Never again. Everytime I hear someone complain about Darkest Dungeon not running well enough for AMD, just the thought of them allowing their drivers to slide on the most simplest of stuff.. Yeah. lol Not going back, ever.

Originally posted by SigmaSquadron:
Originally posted by Ratlegion:
I would definitely skip the 5600, though it's OKAY. That's what I upgraded from. AMD cpus are amazing, but try to avoid their video cards.
Absolutely not, haha. Aside from the 7000 series being simply more powerful than the competition, AMD has always had better drivers, so it's no hassle to set one up, regardless of OS. Nvidia has also been accused of price gouging and locking down their proprietary tech as much as possible, while AMD has open-sourced many of their projects, so it's not a bad idea to hold off buying Nvidia cards.
Zane87 Mar 9, 2023 @ 1:27pm 
Originally posted by Neko Time:
I find myself quitting and restarting almost always once the slowdowns start to hit. Rimworld was created in Unity and thanks to Monobehavior, Unity is not able provide native threading support for games. It means that Rimworld is effectively running on a single core to process all the ticks per second (TPS).
While this is certainly true, it also is not the issue.
A ton of strategy/similar games are not build with unity but still use (mostly) one core only. The issue is the nature of how calculations happen in complex simulations - and that is sequential. Which means cacluations for task B has to wait for calculations of task A to be finished as task A's calculation can and will impact the starting point of calculation B.

In such a setting, again complex simulations almost always are, it is very hard to effectively distribute calculations over multiple cores. Unity or not.
Originally posted by Neko Time:
I find myself craving late-game play because of all the biotech content which encourages you to tough it out late game to gene edit (not including all the fun mods to expand on it), but the slowdown is awful.

Generally I start off getting 3000 TPS using an uncapper at max speed, by the time I hit late game I'm down to 300-500 depending on what's on the map.

I don't really use 3000 TPS unless there's legit nothing going on, but I find a base TPS of around 900 to be comfortable without boring me when I'm just watching pawns work and assigning jobs to do.
Trolling.
Yes you know what you did.
No we don't have to talk about it.
Yes you should feel bad..

Originally posted by Neko Time:
I really think since the Rimworld devs have been releasing new content for awhile now, they should see if they can do anything to assist in the late game woes. The solution is obviously to take advantage of threading and there are various tricks to thread optimization in Unity including with pathfinding which is Rimworld's biggest performance eater. The goal is to move as much of the calculations as you can off of Update methods and into threads which can be tricky.
While I would absolutely love and endorse that Ty and his team put more focus on performance, multi threading won't be a common thing, see my first part reply. While unoptimized scripts and code is tots on Ty, the nature of how things have to calculate in a complex, sequential setting simply is not.

And while ignorance may be a bliss, it certainly never helped any discussion. Ever.

Originally posted by Neko Time:
Worse part is this problem can't be fixed with a mod unless every modder updates their mods to accommodate a threading framework which will never happen.

I can't be the only one who can no longer continue once the slowdown reaches a certain point?
Again not the issue and now you really just show your complete and utter lack of understanding. Sorry not sorry.
Last edited by Zane87; Mar 9, 2023 @ 1:39pm
Zane87 Mar 9, 2023 @ 1:27pm 
Originally posted by Neko Time:
Rimthreaded mod was a good idea in theory but there's far too many problems that I can't even begin to list them all here.

I use Rocketman and one other mod to help performance but it doesn't really help the late game slowdown much.
And for everyone else with an actual, honest need for more TPS, may I suggest to download them? See below for some mods and some more general advice:
Performance Optimizer for some easy patches:
----------------------------------------------------------------------
https://steamcommunity.com/sharedfiles/filedetails/?id=2664723367
Dubs Performance Analyzer, not only for analyzing but also for it's patches
https://steamcommunity.com/sharedfiles/filedetails/?id=2038874626
Clean Pathfinding makes vanilla pathing better and more performant. Beta though
https://steamcommunity.com/sharedfiles/filedetails/?id=2887176193

Non-Steam, but Performance Fish does what no other mod does. Highly recommended:
https://github.com/bbradson/performance-fish

If you use non-vat babies, then the baby food check used to be resource intensive.
https://steamcommunity.com/sharedfiles/filedetails/?id=2874552927

Toggleable overlays, as Rimworlds UI graphic engine is resource intensive
https://steamcommunity.com/sharedfiles/filedetails/?id=2608654598
Same for your inventory overview
https://steamcommunity.com/sharedfiles/filedetails/?id=2661792499

Many mechs make many lag when not working. This changes that, and much more:
https://steamcommunity.com/sharedfiles/filedetails/?id=2888380373

And the very extreme, kinda cheaty stuff:
No social interactions make FPS go brrr
https://steamcommunity.com/sharedfiles/filedetails/?id=2131698562
No filth is filthy cheaty but reduces calculations for both dirt as well as the cleaning job
https://steamcommunity.com/sharedfiles/filedetails/?id=2517483236

----------------------------------------------------------------------
More general advices:

- Focus on a CPU that actually has high single core speed which many "gaming CPU" kinda don't have as people wrongly assumed that more cores make games go brrrr. Hardly ever true, just plain old marketing, and just as true.

- Don't go overboard with mods. Every single mod adds overhead. Use what you need and make sure you check the mods you use with Dubs performance analyzer. Some are horribly unoptimized.
- Dont go overboard with chicken or other animals either. Animals in large quantities are the woe of TPS.

- Don't choose the biggest map size. Bigger Map = Higher Pathing cost for everything
- Don't choose the biggest world size, as it results in way more world and faction calculations
- Especially when paired with many factions, especially multiple of the same.
- Don't have too many concurrent settlement calculations. Twice the settlements = twice the CPU strain from them.

- Don't have idle colonists or work priorities where every pawn has to cycle through all jobs, cut down your priority list helps a lot.
- Shifting half your colony to night shift helps here as well and increases the usage ratio of your workshop.
- Don't hoard too much stuff either and remove corpses/dirt when you can, increases lag as well.
Last edited by Zane87; Mar 9, 2023 @ 1:32pm
marcusaddamsson Mar 9, 2023 @ 1:42pm 
Two words: F&$k chickens.

I can't tell you how many games those little buggers have ruined for me. I'm like, no... it won't be that bad this time. And it totally is. All those little doods.. and they all gotta move apparently, all the time.. and then they gotta do some freaky route planning/etc. So unnecessary. But then again, you really should be angry at Unity.

All due respect to Tynan and any other Unity coders: Unity shouldn't be used in a "mature" product. Yea, I know you can get to market much faster with Unity, I get that part. But at some point, you gotta swap out the framework if you wanna make a real product. I mean, I see no good reason that RW will enjoy decent sales for the next decade at least.. but Unity pretty much guarantees that can't happen. IMHO, per usual.

Then again.. you can just wait for all of us to update our ♥♥♥♥ constantly. Which also is a way to solve it... and it would appear that as a society we've said, "Okie dokie, smokie."
brian_va Mar 9, 2023 @ 1:55pm 
Originally posted by SigmaSquadron:
AMD has always had better drivers, so it's no hassle to set one up, regardless of OS.

i guess we've all had different experiences, this certainly isn't mine, especially on linux.
< >
Showing 1-15 of 62 comments
Per page: 1530 50

Date Posted: Mar 9, 2023 @ 4:19am
Posts: 62