Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: 32-bit vs 64-bit?  (Read 3407 times)

nimbus25

  • Bay Watcher
    • View Profile
32-bit vs 64-bit?
« on: October 29, 2016, 10:07:55 pm »

How much of a difference in FPS does 64 make? I decided to try it, not having played since 42.06, and the lack of 3rd party programs is a bit annoying. DFHack is prone to crashes and no Dwarf Therapist at all is a bit annoying to manage, so I wanted to know how much FPS does 64-bit actually save you?
Logged

Shonai_Dweller

  • Bay Watcher
    • View Profile
Re: 32-bit vs 64-bit?
« Reply #1 on: October 29, 2016, 10:23:04 pm »

In theory it should save you nothing as that's not what the 64 bit release was about.
Having said that various people have reported various levels of improvement in both fortress and adventurer, but it's very difficult to compare as there's no easy way to generate identical world's in both versions and there's a lot of elements that contribute towards fps death that make it different every time.

So, don't expect any change at all. But 64 bit won't crash when you hit a 32 bit memory limit so there's no real downside to using it.
Logged

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: 32-bit vs 64-bit?
« Reply #2 on: October 29, 2016, 10:32:33 pm »

There is a downside - there is DT memory layout for 32-bit windows, but not 64-bit.

Though, Max™ did anecdotally report 64bit being faster in worldgen: Major performance improvement with 64 bit?

King Kitteh

  • Bay Watcher
  • [SAVAGE][CRAZED]
    • View Profile
Re: 32-bit vs 64-bit?
« Reply #3 on: October 30, 2016, 04:26:45 am »

All you get with 64-bit is more RAM AFAIK.

Less crashes due to running out of memory, so you can generate worlds for longer and such.
Logged
goodnight, speep tighht, don't let the bedbugs bite

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: 32-bit vs 64-bit?
« Reply #4 on: October 30, 2016, 08:11:13 am »

All you get with 64-bit is more RAM AFAIK.

x64 also provides more general-purpose registers, potentially allowing the compiler to generate more efficient code (e.g. by avoiding repeated memory accesses). Then again, it also increases memory usage because pointers are twice as large, but that increase is fairly minor in the grand scheme of things.
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

Glitchy

  • Bay Watcher
    • View Profile
Re: 32-bit vs 64-bit?
« Reply #5 on: October 30, 2016, 01:10:20 pm »

Well, someone has fixed dwarf therapist for 32-bit version using their own code.(and I can confirm their fix does work for 43.05).

So I'd stick to 32-bit.
Logged

azrael4h

  • Bay Watcher
    • View Profile
    • My Dwarf Fortress-centric You Tube videos, part of my nominally vintage gaming channel.
Re: 32-bit vs 64-bit?
« Reply #6 on: October 30, 2016, 07:41:04 pm »

I can't say for certain, since my experience with 64bit DF has been on a newly built computer that I never ran 32bit on, but for Rewardpages, I have a population of 154 dwarves, and have been hovering at 45-51 FPS for a year, even during sieges. This will likely go up as there are a couple hundred corpses on the map, along with assorted junk. The caverns are also burning eternally, as there's a flame-bodied FB wandering around setting crundles on fire. I'm currently cleaning up the corpse problem, and have a chute to the magma sea for trash, so part of the issue will be taken care of shortly.

I run 1, mostly open, cavern layer for FPS reasons. My fortress is also relatively compact, though again I have a LOT of trash.

My old computer would have been running around 20-30fps at a similar stage of development, with significant drops during sieges.
Logged

Dozus

  • Bay Watcher
    • View Profile
Re: 32-bit vs 64-bit?
« Reply #7 on: January 30, 2017, 05:57:52 pm »

Relatedly, can 64 bit saves run on the 32 bit program?
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: 32-bit vs 64-bit?
« Reply #8 on: January 30, 2017, 07:42:30 pm »

Relatedly, can 64 bit saves run on the 32 bit program?
Yes.
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

Libash_Thunderhead

  • Bay Watcher
    • View Profile
Re: 32-bit vs 64-bit?
« Reply #9 on: January 30, 2017, 07:59:25 pm »

Well on my computer, they are the same. :P
Or at least, don't expect magical fps improvement, for now.
« Last Edit: January 30, 2017, 08:01:06 pm by Libash_Thunderhead »
Logged