Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Recommendation for running DF2012  (Read 1957 times)

MagmaSolutionsInc

  • Bay Watcher
  • Likes elves for their screaming, bubbling noises.
    • View Profile
Recommendation for running DF2012
« on: February 15, 2012, 07:16:02 am »

I got annoyed at hitting c.240 and having my ridiculously high spec notebook hit advanced worldgen performance issues to the extreme. It was bad enough that I actually couldn't pause/finish worldgen, even though worldgen was still progressing at a snail's pace.

So I decided to do !!SCIENCE!!

I setup XP mode on the notebook, along with VMWare Player (with a Windows 7 x64 image). These two were particularly of interest because of their ability to provide a seamless desktop app experience, as such.

The theory here is that virtualisation could deliver a better experience, or at least stronger control if it wanted to do the whole app hanging crap. There's a level of acceleration applied with virtualisation that makes both scenarios at least theoretically possible .. and the minimal graphics experience that DF delivers should be fairly well suited to virtualisation.

I won't go through the stupidly customer-unfriendly experience of installing the current VMWare Player version's Tools! But suffice to say it was setup and running both as an XP mode and a VMWare based Win7 image, set to run in Unity for a similar (not identical) operation to XP mode. Without a doubt, the VMWare image was going to outperform XP Mode, due to Win7, the ability to use multiple cores, and many other good reasons. But testing both seemed worthwhile.

XP mode, sadly, proved to be a bust. Advanced Worldgen with Large Region - my test parameters, no changes to defaults - would cause DF to crash consistently around year 200.  It was noticeably slower than running native to that point, too. I wouldn't be surprised to discover that the crash is a DF bug, perhaps even tied to XP. I did think it could've been RAM, but I bumped the VM up from 1Gb to 2Gb with no joy. It's unlikely that any higher value would have made any further difference since it wasn't even using that much RAM within the VM.

VMWare Player, though, might just be workable. Speed was possibly slightly faster than native thanks to acceleration, but more importantly - no crash. It even works with the OpenGL stuff, whereas XP mode needed the 2D setting (note, however, that there is unlikely to be any real benefit to running anything but 2D). Tilesets work fine, even the hybrid Phoebus/Ironhand customised one I've dodgied up.  I did note that load was being somewhat more balanced across the maximum 4 cores allowed by player, rather than primarily on a single core in native. That would certainly have some welcome aspects, even if the max load for DF still equated more or less to a single core. This one's entireley subjective though, and I wouldn't go counting on it to do magic.

It's still not perfect. In my first run, the app still went to not responding multiple times - but I was using VBO as a setting. Bumping this down to 2D seems to have made a noticeable difference. Running in Unity may be more annoyance than it's worth during Worldgen, since VMWare Player will keep minimising it and bringing it to foreground. But you can always go back to the full desktop and reserve Unity for actually playing.

It's still difficult to pause/finish worldgen (based on my initial test), but you get the added advantage of hibernating a VM mid-worldgen, lower impact on your native machine, and some overall incremental improvements over native handling of the process. Being able to set the priority of DF to High or even Realtime without hitting your system for six is a definite plus, too.

I'd love to throw my old employer's ESX farm at it for some real performance, but that'd be overkill.




« Last Edit: February 15, 2012, 07:35:02 am by MagmaSolutionsInc »
Logged
stopped zombie cats from adopting dwarves

... with magma.

MagmaSolutionsInc

  • Bay Watcher
  • Likes elves for their screaming, bubbling noises.
    • View Profile
Re: Recommendation for running DF2012
« Reply #1 on: February 15, 2012, 07:30:19 am »

Welp, suspend alone makes it worth the effort. Just tested and it works perfectly. Plus of course you can put the shortcut to DF on your desktop via Unity, and get straight into it. Totes worth it.
Logged
stopped zombie cats from adopting dwarves

... with magma.

blue sam3

  • Bay Watcher
    • View Profile
Re: Recommendation for running DF2012
« Reply #2 on: February 15, 2012, 07:40:16 am »

Am I the only one that isn't having worldgen problems? I mean, sure, it's slower, but I had no real trouble getting through a 250 year worldgen without any serious problems, even on my useless pile of junk laptop.
Logged

MagmaSolutionsInc

  • Bay Watcher
  • Likes elves for their screaming, bubbling noises.
    • View Profile
Re: Recommendation for running DF2012
« Reply #3 on: February 15, 2012, 07:45:09 am »

Am I the only one that isn't having worldgen problems? I mean, sure, it's slower, but I had no real trouble getting through a 250 year worldgen without any serious problems, even on my useless pile of junk laptop.

Standard worldgen is ok for me- slower but gets through ok. It's the advanced worldgen that I've had trouble with, particularly with large region (default params) at present.
Logged
stopped zombie cats from adopting dwarves

... with magma.

MagmaSolutionsInc

  • Bay Watcher
  • Likes elves for their screaming, bubbling noises.
    • View Profile
Re: Recommendation for running DF2012
« Reply #4 on: February 16, 2012, 05:10:34 am »

Well, running in VMWare Player is overall great.

Unfortunately, I hit the 2Gb memory limit sometime around year 425, and the inevitable crash  >:(

For now, I'll use standard worldgen under Unity, but looking forward to the whole worldgen being patched up somewhat (fingers crossed).
Logged
stopped zombie cats from adopting dwarves

... with magma.

mnjiman

  • Bay Watcher
    • View Profile
Re: Recommendation for running DF2012
« Reply #5 on: February 16, 2012, 05:24:44 am »

http://www.bay12forums.com/smf/index.php?topic=101046.0

That should solve your ram limit issue.
Logged
I was thinking more along the lines of this legendary champion, all clad in dented and dinged up steel plate, his blood-drenched axe slung over his back, a notch in the handle for every enemy that saw the swing of that blade as the last sight they ever saw, a battered shield strapped over his arm... and a fluffy, pink stuffed hippo hidden discretely in his breastplate.

MagmaSolutionsInc

  • Bay Watcher
  • Likes elves for their screaming, bubbling noises.
    • View Profile
Re: Recommendation for running DF2012
« Reply #6 on: February 16, 2012, 05:22:39 pm »

Shweeeet .. thanks  :D
Logged
stopped zombie cats from adopting dwarves

... with magma.