Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Advice on how to best play DF with low ram  (Read 1331 times)

Sky-Streamer

  • Bay Watcher
  • You are filled with AN EXCESSIVE NUMBER OF BOLTS.
    • View Profile
Advice on how to best play DF with low ram
« on: November 29, 2020, 08:53:36 pm »

Hello everyone!

I have a really low RAM (8 GB) because I play on a laptop, so I don't know how to best play DF. I have a decent idea of how to best generate worlds, but I need some advice on what to place my population cap at, as well as some strategies to maximize RAM. Please give me some advice!
Logged
i told you about those stairs man
i TOLD you DOG

methylatedspirit

  • Bay Watcher
  • it/its
    • View Profile
Re: Advice on how to best play DF with low ram
« Reply #1 on: November 29, 2020, 09:21:01 pm »

To my understanding, 8GB of RAM is plenty for unmodded DF, unless you have something in the background taking up RAM. It's not a lot for modern games (16GB is the minimum for some AAA games, good lord), but that's more than enough for DF. I'm doing a Large worldgen with all the settings maxed out to test RAM usage, and at year 125, it's only taking up 1GB. It'll probably climb to... 3 GB max by the end of this. That is as much RAM as unmodded DF will use unless you crank up the world size to an unreasonable degree. I used to play on a PC with 8GB, and it never crashed because it specifically ran out of RAM.

Your RAM shouldn't be a problem for you. Now, the CPU, which is where most of your performance bottleneck would be... that's a different story. I admit, I don't know much on how to optimize for that, so I'll hand it off to someone else who knows more.
Logged

delphonso

  • Bay Watcher
  • menaces with spikes of pine
    • View Profile
Re: Advice on how to best play DF with low ram
« Reply #2 on: November 29, 2020, 09:35:25 pm »

I play on a pretty weak laptop. And yeah, it's the CPU.

My pop cap is between 30-60 and that's fine. 80 or 90 gets slow, but no worse than a usual fort after around 180 dwarves on a normal computer.

Lower the number of animals. Embark on small maps (2x2) and make a better-layed-out fort to increase performance speed.

bloop_bleep

  • Bay Watcher
    • View Profile
Re: Advice on how to best play DF with low ram
« Reply #3 on: November 29, 2020, 09:39:51 pm »

Actually I believe RAM speed is an important metric. 8 GB is okay though.
« Last Edit: November 29, 2020, 09:44:13 pm by bloop_bleep »
Logged
Quote from: KittyTac
The closest thing Bay12 has to a flamewar is an argument over philosophy that slowly transitioned to an argument about quantum mechanics.
Quote from: thefriendlyhacker
The trick is to only make predictions semi-seriously.  That way, I don't have a 98% failure rate. I have a 98% sarcasm rate.

methylatedspirit

  • Bay Watcher
  • it/its
    • View Profile
Re: Advice on how to best play DF with low ram
« Reply #4 on: November 29, 2020, 10:16:56 pm »

Actually I believe RAM speed is an important metric.

I suppose. Pushing 3600MHz (especially on Ryzen) would be better than 2400, doing CL16 is better than CL-whatever, there's all sorts of fun (and !!FUN!!, considering how much you'll probably crash) to be had there. Problem is, that's basically reserved for desktop and very-high-end gaming laptops. I doubt OP happens to have that.

There is a hardware upgrade that would give you some performance uplift, assuming your CPU can even run dual-channel RAM and the laptop itself has 2 RAM slots: upgrading the RAM to dual-channel. Put in two identical sticks of RAM, and assuming it's supported, you'll get an improvement to performance. I would suggest using CPU-Z to check, assuming you're running Windows. I got a 20% improvement on my laptop. I'm not quite sure if it was worth it. I did it mostly to end up with 16GB of RAM, but it was fun to see some extra speed from this thing.

Of course, dual-channel RAM only speeds DF up if your CPU is fast enough to benefit from it. I had this crappy laptop, it had some crap pre-Ryzen AMD APU (off topic, but: don't get one ever. Ryzen is so much better. If the CPU name starts with "A-" or "E-", and it's an AMD, stay the hell away from it.), and even though it ran 1866 MHz RAM, it was far slower than my computer at the time, whose RAM ran at 1600MHz. RAM speed is nice, but if it's bottlenecked by the CPU, you're not gonna gain anything from it.
Logged

PatrikLundell

  • Bay Watcher
    • View Profile
Re: Advice on how to best play DF with low ram
« Reply #5 on: November 30, 2020, 04:19:15 am »

The most important parameter for RAM is probably the embark size. Keep it down to a reasonable level and RAM amount shouldn't be the issue. The standard 4*4 should be fine, although the the FPS drop will probably set in later with a smaller one (and the FPS drop isn't due to running out of RAM, but the program reading from the RAM a lot).
Logged

Sky-Streamer

  • Bay Watcher
  • You are filled with AN EXCESSIVE NUMBER OF BOLTS.
    • View Profile
Re: Advice on how to best play DF with low ram
« Reply #6 on: November 30, 2020, 07:53:21 am »

Thank you for all the help everyone!
And, here's a quiiiick funny story as to why I made this post;

I had a massive frame drop in my current fortress because half of my dwarves (~40) were doing a diagnositian training.

EDIT: It was a raven.
Trying to get through a door.
For fuck's sake.
« Last Edit: November 30, 2020, 09:52:44 am by Sky-Streamer »
Logged
i told you about those stairs man
i TOLD you DOG

A_Curious_Cat

  • Bay Watcher
    • View Profile
Re: Advice on how to best play DF with low ram
« Reply #7 on: December 01, 2020, 05:55:07 am »

EDIT: It was a raven.
Trying to get through a door.
For fuck's sake.

I believe that is a known bug.

Edit:  ah yes, here it is.
« Last Edit: December 01, 2020, 05:58:21 am by A_Curious_Cat »
Logged
Really hoping somebody puts this in their signature.