Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [39c] History gen taking longer  (Read 1020 times)

Jingles

  • Bay Watcher
    • View Profile
[39c] History gen taking longer
« on: July 17, 2008, 10:57:41 am »

It appears to me, though it's hardly definitive cause I'm not sitting here with a stop watch, that 39c is taking a lot longer to write out the history then it did with the same parameters as in 39a or b. 

Note that I copied out the init and worlgen files from 39b rather then redoing them so I'm not sure if that has an effect.

Edit: oh yeah I'm generating the history up till 1025, before it took about an hour I'd say this time its already past an hour and only at the year 725.  Also before it used to wrap up at 1025 with about 800,000 events but here its already up to 850,000.  Needless to say though that my testing has'nt been extensive as it takes so long, so this may be an isolated case.

New Edit:  It took roughly an hour and a half (39c) to generate a new world history with 950,000 events.  The counter actually reached to 990,000 so I'm assumeing the 40,000 cut was due to the culling.
« Last Edit: July 17, 2008, 11:38:20 am by Jingles »
Logged

Jingles

  • Bay Watcher
    • View Profile
Re: [39c] History gen taking longer
« Reply #1 on: July 17, 2008, 01:12:45 pm »

Update:  I just ran it again, it took an hour and a half again.  I changed starting civs from 40 to 50 but decreased the pop cap from 20,000 to 15,000.  This time I ended up with 848,000 events although it took the same amount of time.  I suspect that the decrease amount of events its a function of the pop cap and doesn't depend on the amount of civs at all, i'll try running it with a pop cap of 5000.

I should note that my reason for running this over and over again till 1025 is that I want elves to actually be around (and prefably more then one dragon) I only had one world where elves lasted till 1025 and that was in 39b.  Also goblins suffer horribly  I only have 23 of them total in two sites.  Dwarfs seem to do fine and humans do far too well (which may be deisired I suppose but a world with nothing but humans and a few dwarfs is kinda boring IMO. 

Edit: Here are the current params BTW
Spoiler (click to show/hide)
« Last Edit: July 17, 2008, 01:16:09 pm by Jingles »
Logged

Tylui

  • Bay Watcher
  • O_o
    • View Profile
Re: [39c] History gen taking longer
« Reply #2 on: July 17, 2008, 01:17:24 pm »

Well I'll tell you what; I certainly wouldn't have the patience to regenregenregenregen since it does take quite a long time...  But!  I'm glad someone's doing it, and watching for bugs etc. like you. ^_^
Logged

Jingles

  • Bay Watcher
    • View Profile
Re: [39c] History gen taking longer
« Reply #3 on: July 17, 2008, 02:09:49 pm »

Update:
Spoiler (click to show/hide)

Created in about 45 minutes, pop cap set to 5000, civs set to 60.  Two dragons and no kobolds or elfs.  27 Goblins.  I'll run this later in 39b to see if its any slower or faster.  Oh yeah there were about 600,000 to 700,000 events so that is definitely attached to the pop cap.  Which thusly affects the amount of time.

SmileyMan

  • Bay Watcher
    • View Profile
Re: [39c] History gen taking longer
« Reply #4 on: July 17, 2008, 04:36:44 pm »

I've just set mine up to run to 2008, same as a large, with no megabeast checking and caves at 75.  I don't know if it's related to your problem, but I've noticed that as time has gone on, it gets stuck every 25 years, at years ending in 98, 23, 48 and 73.  No idea why.
Logged
In a fat-fingered moment while setting up another military squad I accidentally created a captain of the guard rather than a militia captain.  His squad of near-legendary hammerdwarves equipped with high quality silver hammers then took it upon themselves to dispense justice to all the mandate breakers in the fortress.  It was quite messy.

LASD

  • Bay Watcher
    • View Profile
Re: [39c] History gen taking longer
« Reply #5 on: July 17, 2008, 04:53:21 pm »

it gets stuck every 25 years, at years ending in 98, 23, 48 and 73.  No idea why.
Whoa, same here, even the same years. When it gets stuck, my computer tries to convince me that it's not responding, but when it goes on with the gen the comp notices how wrong it was. I didn't worry about this that much because it worked much better than the time I genned a standard world in the earlier versions with the Legendary Lands mod. It locked up my computer, hogged all the RAM, advanced only 5 years instead of 25 and then crashed after almost an hour of desperate generating. I'm dreading that this will be the future of normal DF world gen.
Logged

Draco18s

  • Bay Watcher
    • View Profile
Re: [39c] History gen taking longer
« Reply #6 on: July 17, 2008, 05:07:41 pm »

I've had speed issues with genning "Large" (normal) sized worlds, so I've always set mine to the next smallest and had world gen take seconds (up to 60, but typically down around 20-30).
Logged

Tylui

  • Bay Watcher
  • O_o
    • View Profile
Re: [39c] History gen taking longer
« Reply #7 on: July 18, 2008, 11:19:19 am »

Eep.  What happens every 25 years starting in 23?  ???
Logged

Jingles

  • Bay Watcher
    • View Profile
Re: [39c] History gen taking longer
« Reply #8 on: July 18, 2008, 11:56:58 am »

Whoops, I may have been misunderstood.  I wasn't reporting that history gen is taking longer then in 38c, but rather that my perception was that it was taking longer in 39c rather then 39b, which I only reported becasue I noticed that in the Dev notes for 39c Toady said he sped this up.  Of course none of this has been definitively tested by me.  And frankly as long as the cool new world gen works at all I'm happy. 

I've also noticed that thing with it stopping every 25 years now that you mentioned it.  Of course my computer just considers DF to be non responsive as soon as history gen starts and it considers it non responsive ever after even though its clearly chugging out new history.  Silly computer...

plexiglass

  • Escaped Lunatic
    • View Profile
Re: [39c] History gen taking longer
« Reply #9 on: July 26, 2008, 02:31:41 am »

Same here, and exactly the same years too... Creepy!  :o

All this in 39e with Legendary Lands mod.
« Last Edit: July 26, 2008, 02:33:16 am by plexiglass »
Logged

muwahahaha

  • Bay Watcher
    • View Profile
Re: [39c] History gen taking longer
« Reply #10 on: July 26, 2008, 06:51:41 am »

Looking at this 25-year thing reminds of one of my old worldgens, I need to ask, for all of those who have it pausing every 25 years, do you have history culling on?

The last time I used culling (I dont anymore, I prefer being able to know exactly what happened in every event), I found that every 25 years, on the years specified (23, 48, 73 and 98) the worldgen would pause for a second, then would cull the history.

If you are using the culling then that could be the problem, but if not, then I don't know. I don't have those problems and I normally gen worlds for a few hundred years, then regen it to a specific date with the same parameters so my civ is at war with someone.
Logged

LASD

  • Bay Watcher
    • View Profile
Re: [39c] History gen taking longer
« Reply #11 on: July 27, 2008, 03:39:39 pm »

Looking at this 25-year thing reminds of one of my old worldgens, I need to ask, for all of those who have it pausing every 25 years, do you have history culling on?
I genned the world in Legendary Lands (from my last post) in the earlier versions that didn't have culling. Also I don't remember the gen freezing while culling. So, it's not just that in my case, but it still sounds very reasonable.
Logged