Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Performance  (Read 1402 times)

Auning

  • Bay Watcher
    • View Profile
Performance
« on: April 15, 2012, 07:39:53 am »

I'm curious about what hardware would effect performance. Things like RAM and CPU? Or is the lag inescapable from potential client problems? It would be very interesting to embark in a large selection without lagging like no other. If there is a line in a .ini somewhere to increase DFs performance by allowing it to use more resources, that would be very nice to know as well. Has anyone read into this?
Logged
[DESCRIPTION:A horse-like creature susceptible to severed nerves when muscles are torn in limb, grasp and starting length are all the same.]
[BLOOD:LOCAL_CREATURE_MAT:EGG_YOLK:LIQUID]
[PUS:LOCAL_CREATURE:BIRD_ROC]

Couchmonster

  • Bay Watcher
    • View Profile
Re: Performance
« Reply #1 on: April 15, 2012, 08:12:06 am »

Ram up to 4 GB... some minor graphics card...
And all you really need for this game: Single Core CPU Power.
Get the highest CPU frequency you can get. :)
Multiple Cores will allow DF to get a dedicated core, which also helps.

dree12

  • Bay Watcher
    • View Profile
Re: Performance
« Reply #2 on: April 15, 2012, 09:02:32 am »

RAM size is not too important (>4GB is good enough), but speed is crucial. Better than DDR3 RAM is necessary to avoid FPS death from items, because DF iterates over all the items every tick.
Logged

LoSboccacc

  • Bay Watcher
  • Σὺν Ἀθηνᾷ καὶ χεῖρα κίνει
    • View Profile
Re: Performance
« Reply #3 on: April 15, 2012, 09:10:15 am »

there are performances with a standard save somewhere on the forums, I think

if I recall correctly, the new core i5 & i7 line is doing great.

can't wait for the first ivy bridge chip to show up  :P

Logged

thvaz

  • Bay Watcher
    • View Profile
Re: Performance
« Reply #4 on: April 15, 2012, 09:38:41 am »

My 2.0 ghz i7 with 250 dwarves in a 4x4 embark after 10 years is doing ok with ~70 FPS.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Performance
« Reply #5 on: April 15, 2012, 09:47:36 pm »

RAM speed is by far the most important thing for performance in this game.

Auning

  • Bay Watcher
    • View Profile
Re: Performance
« Reply #6 on: April 16, 2012, 02:00:20 am »

Ah, similar to what I suspected. Thanks for all the ideas, everyone
Logged
[DESCRIPTION:A horse-like creature susceptible to severed nerves when muscles are torn in limb, grasp and starting length are all the same.]
[BLOOD:LOCAL_CREATURE_MAT:EGG_YOLK:LIQUID]
[PUS:LOCAL_CREATURE:BIRD_ROC]

BinaryBeast1010011010

  • Bay Watcher
    • View Profile
Re: Performance
« Reply #7 on: April 17, 2012, 09:09:01 am »

how can I assign two cores to DF and forbid everything else from being used on them? and will that increase fps?
Logged
cant stop playing DF?
 : (){ :|:& };:

Rolan7

  • Bay Watcher
  • [GUE'VESA][BONECARN]
    • View Profile
Re: Performance
« Reply #8 on: April 17, 2012, 11:09:56 am »

It can only run on one core (unless the graphical stuff can run on another core... but the graphics are almost always a non-issue compared to the rest of DF.  You can test that by changing the graphical framerate in the init, defaults to 50).

Assuming windows:  You want to open the task manager, right-click the Dwarf Fortress process, and "set affinity".  Probably set it to run on a core other than the first.  Then right-click again and set the priority to "high".  "realtime" might be fine too, don't know.

This forces DF to run on a certain core, and be very greedy about using that core.  I don't know any other way to dedicate a core to a certain process ):
Logged
She/they
No justice: no peace.
Quote from: Fallen London, one Unthinkable Hope
This one didn't want to be who they was. On the Surface – it was a dull, unconsidered sadness. But everything changed. Which implied everything could change.