Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 3 [4] 5

Author Topic: Old & Huge World generation - Or; This made my laptop cataconic  (Read 9404 times)

goffrie

  • Bay Watcher
    • View Profile
Re: Old & Huge World generation - Or; This made my laptop cataconic
« Reply #45 on: May 16, 2010, 09:54:15 am »

Or you want more than about 3.5 gigs of usable memory.
DF is still 32-bit, a 64-bit OS won't help DF use any more memory.

If you have a 32 bit OS the system can only identify 4gigs worth of addresses minus everything else that is addressed on your system.  Leaving most systems with about 3.5 gigs.  I'm using 2.5 gigs idle which would leave with only 1 gig for any extra game/application.  Because I have 64 bit I have 8 gigs of addressable memory, and leaves a full 5.5 for anything extra I want to do such as DF.

DF can't use all of that 5.5 GB, though.
Logged

Draco18s

  • Bay Watcher
    • View Profile
Re: Old & Huge World generation - Or; This made my laptop cataconic
« Reply #46 on: May 16, 2010, 10:07:43 am »

Or you want more than about 3.5 gigs of usable memory.
DF is still 32-bit, a 64-bit OS won't help DF use any more memory.

If you have a 32 bit OS the system can only identify 4gigs worth of addresses minus everything else that is addressed on your system.  Leaving most systems with about 3.5 gigs.  I'm using 2.5 gigs idle which would leave with only 1 gig for any extra game/application.  Because I have 64 bit I have 8 gigs of addressable memory, and leaves a full 5.5 for anything extra I want to do such as DF.

DF can't use all of that 5.5 GB, though.

Let me re-itterate:

DF is still 32-bit, a 64-bit OS won't help DF use any more memory.
Logged

SolarShado

  • Bay Watcher
  • Psi-Blade => Your Back
    • View Profile
Re: Old & Huge World generation - Or; This made my laptop cataconic
« Reply #47 on: May 16, 2010, 11:05:47 am »

But another instance could use some of that, couldn't it? Isn't the limit per process? Or is it for the entire 32-bit subsystem?

I recall reading that back in Win9X, 16-bit apps all ran in a shared memory area (or something like that) because that's how DOS did it and I guess some apps depended on that "feature" (as i recall, this meant one poorly written app could crash the entire 16-bit sub-sys), but aren't 32-bit apps more protected from each other?
Logged
Avid (rabid?) Linux user. Preferred flavor: Arch

goffrie

  • Bay Watcher
    • View Profile
Re: Old & Huge World generation - Or; This made my laptop cataconic
« Reply #48 on: May 16, 2010, 11:08:04 am »

But another instance could use some of that, couldn't it? Isn't the limit per process? Or is it for the entire 32-bit subsystem?
Yes, multiple instances will allow you to use all of that memory.
Logged

jfs

  • Bay Watcher
    • View Profile
Re: Old & Huge World generation - Or; This made my laptop cataconic
« Reply #49 on: May 16, 2010, 12:02:08 pm »

Dwarf Fortress doesn't have the /LARGEADDRESSAWARE switch in the EXE header, but if it has that, and it doesn't do strange pointer magic (storing an extra bit of information in the top bit of pointer values, for example) then it should be able to use 4 GB instead of 2 GB of memory, when running on a 64 bit Windows system, without DF being recompiled at all.
I'm going to test that now, anyone else with MS developer tools can try it too:
Code: [Select]
EDITBIN /LARGEADDRESSAWARE dwarfort.exe
Edit: It seems to work, at least no crashes yet so I'm assuming it's safe. I don't have a worldgen requiring above 2 GB yet though.

Edit 2: After going to sleep with it running, in the morning DF had simply frozen while probably using 2 GB. (I didn't get the exact number.) This flag might not work anyway.
« Last Edit: May 17, 2010, 06:40:46 am by jfs »
Logged

Draco18s

  • Bay Watcher
    • View Profile
Re: Old & Huge World generation - Or; This made my laptop cataconic
« Reply #50 on: May 16, 2010, 12:03:12 pm »

But another instance could use some of that, couldn't it? Isn't the limit per process? Or is it for the entire 32-bit subsystem?
Yes, multiple instances will allow you to use all of that memory.

Though why you'd do that is a mystery.
Logged

Mason11987

  • Bay Watcher
    • View Profile
Re: Old & Huge World generation - Or; This made my laptop cataconic
« Reply #51 on: May 16, 2010, 08:41:24 pm »

Just checked this morning to see how it's going, and it crashed:

Spoiler (click to show/hide)

More data needed.  Let's run it again!

Alright, didn't hit a hard limit on years.

Still hasn't crashed again.

More years (~5.5k)
Less Figures/deaths
More Events
Less RAM

I'll see how it is tomorrow morning.

Beeskee

  • Bay Watcher
    • View Profile
Re: Old & Huge World generation - Or; This made my laptop cataconic
« Reply #52 on: May 16, 2010, 10:46:19 pm »

If anyone wants to post some world gen specifications I can try running the generation on a dedicated computer I have. It's not very fast but it can run a df map making session for a few days instead of folding@home. :D
Logged
When a wizard is tired of looking for broken glass in his dinner, he is tired of life.

Devast

  • Bay Watcher
    • View Profile
Re: Old & Huge World generation - Or; This made my laptop cataconic
« Reply #53 on: May 17, 2010, 05:28:28 am »

I think the unasked question here is.
How badass are the badasses in a 5000 year history?
Logged

Mason11987

  • Bay Watcher
    • View Profile
Re: Old & Huge World generation - Or; This made my laptop cataconic
« Reply #54 on: May 17, 2010, 05:49:54 am »

Just checked this morning to see how it's going, and it crashed:

Spoiler (click to show/hide)

More data needed.  Let's run it again!

Alright, didn't hit a hard limit on years.

Still hasn't crashed again.

More years (~5.5k)
Less Figures/deaths
More Events
Less RAM

I'll see how it is tomorrow morning.

Spoke a little too soon:

Spoiler (click to show/hide)

Comparisons:
Year:5073
Figs: 197312
Ead: 168193
Events: 5306624
RAM: 1822868K

Year: 6574
Figs: 214099
Dead: 190786
Events: 6856366
RAM: 1966804K



It doesn't look like I've ran into any hard limit, at least not based on any obvious numbers.  I'll run it again to confirm.  Then I'll try to just gen a 6k year history before ending.

ungulateman

  • Bay Watcher
  • [PREFSTRING: haunting moos]
    • View Profile
Re: Old & Huge World generation - Or; This made my laptop cataconic
« Reply #55 on: May 17, 2010, 05:59:40 am »

My computer wouldn't last 2000 years. This is impressive.

(Yeah, I reduced worldgen size to save hard drive space.)
Logged
That's the great thing about this forum. We can derail any discussion into any other topic.
It's not an embark so much as seven dwarves having a simultaneous strange mood and going off to build an artifact fortress that menaces with spikes of awesome and hanging rings of death.

Mason11987

  • Bay Watcher
    • View Profile
Re: Old & Huge World generation - Or; This made my laptop cataconic
« Reply #56 on: May 17, 2010, 05:20:00 pm »

Just checked this morning to see how it's going, and it crashed:

Spoiler (click to show/hide)

More data needed.  Let's run it again!

Alright, didn't hit a hard limit on years.

Still hasn't crashed again.

More years (~5.5k)
Less Figures/deaths
More Events
Less RAM

I'll see how it is tomorrow morning.

Spoke a little too soon:

Spoiler (click to show/hide)

Comparisons:
Year:5073
Figs: 197312
Ead: 168193
Events: 5306624
RAM: 1822868K

Year: 6574
Figs: 214099
Dead: 190786
Events: 6856366
RAM: 1966804K



It doesn't look like I've ran into any hard limit, at least not based on any obvious numbers.  I'll run it again to confirm.  Then I'll try to just gen a 6k year history before ending.

And another failure:

Year: 3713
Figs: 156987
Dead:132321
Events:7964106
RAM: 1894720K

Spoiler (click to show/hide)


It seems it's not just about Ram, nor years, nor figures (dead or otherwise), but about events or some combination probably.

Interesting.  Now to play 31.04

Flaede

  • Bay Watcher
  • Beware the Moon Creatures.
    • View Profile
Re: Old & Huge World generation - Or; This made my laptop cataconic
« Reply #57 on: May 17, 2010, 05:50:48 pm »

I've set my computer to work. For SCIENCE!

EDIT: runtime error at 1656. I think I will cull historical figures next time.
« Last Edit: May 17, 2010, 06:20:52 pm by Flaede »
Logged
Toady typically doesn't do things by half measures.  As evidenced by turning "make hauling work better" into "implement mine carts with physics".
There are many issues with this statement.
[/quote]

Urist Imiknorris

  • Bay Watcher
  • In the flesh, on the phone and in your account...
    • View Profile
Re: Old & Huge World generation - Or; This made my laptop cataconic
« Reply #58 on: May 17, 2010, 05:54:45 pm »

Try genning a pocket world with a 50000 year history.
Logged
Quote from: LordSlowpoke
I don't know how it works. It does.
Quote from: Jim Groovester
YOU CANT NOT HAVE SUSPECTS IN A GAME OF MAFIA

ITS THE WHOLE POINT OF THE GAME
Quote from: Cheeetar
If Tiruin redirected the lynch, then this means that, and... the Illuminati! Of course!

tieme

  • Bay Watcher
    • View Profile
Re: Old & Huge World generation - Or; This made my laptop cataconic
« Reply #59 on: May 25, 2010, 01:55:38 am »

I'm finally back from vacation.  I got back yesterday to find that dwarf fortress apparently paused while I was gone.  I'm not sure why, since it is only supposed to shut the monitor off and lock the computer.  Either way, I let them continue running for a while and both crashed.  One was 1.9xx gigs and the other was 1.8xx gigs.  They always seem to crash around the same amount of memory usage. 

Maybe with 31.04 if I get bored I'll give this another shot.  Busy for the time being though.
Logged
Toady Standard Time has no fixed relationship to UTC.
Pages: 1 2 3 [4] 5