Aurora 4x

C# Aurora => General Discussion => Topic started by: Graymane on June 11, 2020, 07:38:23 PM

Title: Game very slow
Post by: Graymane on June 11, 2020, 07:38:23 PM
I am 177 years in and running 5 day increments with auto selected pulses.  Each turn is taking 5 to 6 seconds to resolve.  Is this normal?  It seems really slow to me.  I haven't run a game this many turns before.  I haven't found any NPRs yet but I do have a NPR in the game from game start parameters.  Changing the pulse length doesn't matter.
Title: Re: Game very slow
Post by: SpikeTheHobbitMage on June 11, 2020, 08:43:53 PM
I am 177 turns in and running 5 day increments with auto selected pulses.  Each turn is taking 5 to 6 seconds to resolve.  Is this normal?  It seems really slow to me.  I haven't run a game this many turns before.  I haven't found any NPRs yet but I do have a NPR in the game from game start parameters.  Changing the pulse length doesn't matter.
By 'turns' do you mean years?  If you mean 177 * 5 day increments (less than 2.5 game years) then something is obviously wrong.
Are you using AuroraMod with auto-save turned on?  That could be the culprit after a long game, but still seems wrong.
How big is your database?
Title: Re: Game very slow
Post by: Froggiest1982 on June 11, 2020, 09:22:22 PM
My latest save still going on is a TN start all basic but 5% survey and 15% research. I have discovered and explored around 20 systems and encountered 2 spoiler races and 1 NPR spawn.

I have 4 colonies and 4 civilians companies (roughly 100 ships).

I have 2 auto routes for refueling and harvesting (10 ships), 20 between Geo survey and Grav survey full auto going on and on around.

I am roughly 88 years into the game.

I use mostly 5 days increments unless strictly necessary to use less. I don't use Sub Pulses. I activate Auto Turns again unless strictly necessary to do otherwise.

The increments take between 2 and 3 seconds. I went down to 4 or 5 seconds after have just started the colonization on a new system having civilians and my fleets going up and down from Sol to set up and transport all the required installations and amenities.

Title: Re: Game very slow
Post by: Graymane on June 11, 2020, 10:42:05 PM
Yes, I mean years.  The game just is getting progressively slower as the years roll on.
Title: Re: Game very slow
Post by: Froggiest1982 on June 11, 2020, 10:51:38 PM
Yes, I mean years.  The game just is getting progressively slower as the years roll on.

I would say all it's fine.

Let me put this way: If it was 177 years in VB6 you would be probably spending 177 years real time from an increment to another :)

It has been proven that fleet history (civs and state) could clutter the database causing delays in open windows etc. I think Steve added a purge after a while or at least he said he would.

My guess is that even though you purge the history you still have multiple entries from click to click and multiple interactions happening so it doesn't matter, sooner or later you will have "slow" games. I really think the commas are needed because respect to VB6 it's still a lighting bolt.
Title: Re: Game very slow
Post by: Ulzgoroth on June 11, 2020, 11:13:17 PM
If you haven't since you started seeing the problem, try saving, closing the game, and launching it again.

No guarantee it will help, but I've seen slow progression for no obvious reason go away when I did that.
Title: Re: Game very slow
Post by: UberWaffe on June 12, 2020, 01:09:43 AM
I am 177 years in and running 5 day increments with auto selected pulses.  Each turn is taking 5 to 6 seconds to resolve.  Is this normal?  It seems really slow to me.  I haven't run a game this many turns before.  I haven't found any NPRs yet but I do have a NPR in the game from game start parameters.  Changing the pulse length doesn't matter.
Do you have civilian shipping lanes enabled?
For me that noticeably impacts game performance once there are several hundred of them flying about.

I switched them off via the game options to prevent them spawning more in, and then deleted a few to get their numbers down to something reasonable.
Title: Re: Game very slow
Post by: Black on June 12, 2020, 02:20:39 AM
I have some very long games and civilians were causing most slowdowns for me as well. So turning them off and reducing number of their ships should help.
Title: Re: Game very slow
Post by: Graymane on June 12, 2020, 08:15:22 AM
Hmmm...sounds like civilians are the problem, I will try turning them off and reducing them.  I have a lot.
Title: Re: Game very slow
Post by: Cobaia on June 12, 2020, 08:38:09 AM
I experienced the same slowdown at 220 years in.

I purged all the civilian shipping lines and the game speed is back to starting game speed.

I don't know if it is the amount of ships or the db entries.

[EDIT]

Since I removed all the shipping lines now they don't spawn.
Title: Re: Game very slow
Post by: Graymane on June 12, 2020, 09:20:17 AM
How do I do that?
Title: Re: Game very slow
Post by: Droll on June 12, 2020, 09:33:31 AM
I second the question - do you just delete them like you would normal fleets?

I have like 300 civies meandering about
Title: Re: Game very slow
Post by: Graymane on June 12, 2020, 09:59:52 AM
Guess it was easier than I though.  You can just click on a ship, fleet or entire company and hit the delete key in the fleet org.  Fixed my game immediately, I just left one company for now.
Title: Re: Game very slow
Post by: skoormit on June 13, 2020, 07:47:59 AM
Guess it was easier than I though.  You can just click on a ship, fleet or entire company and hit the delete key in the fleet org.  Fixed my game immediately, I just left one company for now.

You monster!
Title: Re: Game very slow
Post by: Micco40 on June 15, 2020, 11:08:53 AM
Quote from: Graymane link=topic=11654. msg136881#msg136881 date=1591973992
Guess it was easier than I though.   You can just click on a ship, fleet or entire company and hit the delete key in the fleet org.   Fixed my game immediately, I just left one company for now.

It's funny that I ran across this thread, since i was having the same issue with horrendous game slowdown.   I thought i had NPR's in one of the systems and frantically tried to hunt them down.   Turns out I should have been looking closer to home at the 200+ colony ships sitting in orbit around Terra.   Since i play with the Commercial Ships turned off, as soon as i turned it on i was blown away by the number of ships sitting there.   Once i deleted the worst offenders, the game is back to its old state.   

Very much appreciate the assist with figuring this out.   
Title: Re: Game very slow
Post by: Froggiest1982 on June 15, 2020, 02:48:33 PM
Quote from: Graymane link=topic=11654. msg136881#msg136881 date=1591973992
Guess it was easier than I though.   You can just click on a ship, fleet or entire company and hit the delete key in the fleet org.   Fixed my game immediately, I just left one company for now.

It's funny that I ran across this thread, since i was having the same issue with horrendous game slowdown.   I thought i had NPR's in one of the systems and frantically tried to hunt them down.   Turns out I should have been looking closer to home at the 200+ colony ships sitting in orbit around Terra.   Since i play with the Commercial Ships turned off, as soon as i turned it on i was blown away by the number of ships sitting there.   Once i deleted the worst offenders, the game is back to its old state.   

Very much appreciate the assist with figuring this out.

Before purging civilians it's a good idea to check the annual wealth and see how much they contribute to your budget, you don't want want to fast forward bankruptcy.
Title: Re: Game very slow
Post by: SpikeTheHobbitMage on June 15, 2020, 03:11:28 PM
Quote from: Graymane link=topic=11654. msg136881#msg136881 date=1591973992
Guess it was easier than I though.   You can just click on a ship, fleet or entire company and hit the delete key in the fleet org.   Fixed my game immediately, I just left one company for now.

It's funny that I ran across this thread, since i was having the same issue with horrendous game slowdown.   I thought i had NPR's in one of the systems and frantically tried to hunt them down.   Turns out I should have been looking closer to home at the 200+ colony ships sitting in orbit around Terra.   Since i play with the Commercial Ships turned off, as soon as i turned it on i was blown away by the number of ships sitting there.   Once i deleted the worst offenders, the game is back to its old state.   

Very much appreciate the assist with figuring this out.

Before purging civilians it's a good idea to check the annual wealth and see how much they contribute to your budget, you don't want want to fast forward bankruptcy.
Unless you are in an expansion phase colonizers are worse than deadweight because not only do they not contribute anything to the economy, they keep valuable population in cryostasis.
Title: Re: Game very slow
Post by: Ulzgoroth on June 15, 2020, 03:41:46 PM
Unless you are in an expansion phase colonizers are worse than deadweight because not only do they not contribute anything to the economy, they keep valuable population in cryostasis.
You're not going to get that population back if you delete the shipping line, are you?
Title: Re: Game very slow
Post by: SpikeTheHobbitMage on June 15, 2020, 07:20:34 PM
Unless you are in an expansion phase colonizers are worse than deadweight because not only do they not contribute anything to the economy, they keep valuable population in cryostasis.
You're not going to get that population back if you delete the shipping line, are you?
Nope.  What you have to do is find a cost 0 colony that has space and set it as a destination so the civvies can unload before you delete them.  I find that it is a good policy to do this any time that I stop expanding.
Title: Re: Game very slow
Post by: Micco40 on June 16, 2020, 12:34:30 PM
Quote from: froggiest1982 link=topic=11654. msg137158#msg137158 date=1592250513

Before purging civilians it's a good idea to check the annual wealth and see how much they contribute to your budget, you don't want want to fast forward bankruptcy.

I noticed a drop in Wealth production right after I deleted the largest fleet, but i thought it was related to something else.  I'll make sure i think about the ramifications of my rash actions in the future.   

Always something that I didn't think through with Aurora.   :-)
Title: Re: Game very slow
Post by: Micco40 on June 16, 2020, 12:35:44 PM
Quote from: SpikeTheHobbitMage link=topic=11654. msg137194#msg137194 date=1592266834

Nope.   What you have to do is find a cost 0 colony that has space and set it as a destination so the civvies can unload before you delete them.   I find that it is a good policy to do this any time that I stop expanding.

Good info, i'll remember that for next time.   
Title: Re: Game very slow
Post by: Erik L on June 16, 2020, 01:08:02 PM
Just have to say I find people saying 5-6 seconds for an increment as slow is highly amusing. Something equivalent in the VB version would have taken minutes. :)
Title: Re: Game very slow
Post by: Droll on June 16, 2020, 03:20:28 PM
Quote from: Graymane link=topic=11654. msg136881#msg136881 date=1591973992
Guess it was easier than I though.   You can just click on a ship, fleet or entire company and hit the delete key in the fleet org.   Fixed my game immediately, I just left one company for now.

It's funny that I ran across this thread, since i was having the same issue with horrendous game slowdown.   I thought i had NPR's in one of the systems and frantically tried to hunt them down.   Turns out I should have been looking closer to home at the 200+ colony ships sitting in orbit around Terra.   Since i play with the Commercial Ships turned off, as soon as i turned it on i was blown away by the number of ships sitting there.   Once i deleted the worst offenders, the game is back to its old state.   

Very much appreciate the assist with figuring this out.

I think as well as number of civie ships the number of shipping companies affects performance as well. I keep around 300-400 civie ships in around 4 shipping companies in my game since their trade good traffic is around 30% of my economy (im including trade good exports and relevant taxes) and it takes me 10 seconds tops to get through a month.
Title: Re: Game very slow
Post by: liveware on June 19, 2020, 11:27:17 AM
I'm approaching year 900 in my current game with civilians disabled. No significant slow downs observed.
Title: Re: Game very slow
Post by: Droll on June 19, 2020, 11:41:19 AM
I'm approaching year 900 in my current game with civilians disabled. No significant slow downs observed.

Thats because you disabled the only thing that would have caused major slowdowns lol. How many NPRs are active for you?

I'm about 150 years in and with about 400 civilian ships total a month takes like 5 seconds (probably less) with no current active NPRs (I may or may not have conquered one...).