[Pending] Requested game speed set to 1 for a while after autosave

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Post Reply
iame6162013
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Jun 09, 2014 7:44 am
Contact:

[Pending] Requested game speed set to 1 for a while after autosave

Post by iame6162013 »

After an autosave while /c game.speed 2 is used, the game goes to 60UPS for a couple of seconds.

expected:
The game stays at speed 2 120UPS even after autosave.

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3700
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Requested game speed set to 1 for a while after autosave

Post by DaveMcW »

This is probably caused by the game running the save compression algorithm in the same thread as the main game.

iame6162013
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Jun 09, 2014 7:44 am
Contact:

Re: Requested game speed set to 1 for a while after autosave

Post by iame6162013 »

DaveMcW wrote:This is probably caused by the game running the save compression algorithm in the same thread as the main game.
I highly doubt that because it goes to exactly 60UPS. And shouldn't the compression happen while you wait for the game to save? And the compression shouldn't take that long on my hardware.

(Oh, and the time it lasts in this reduced speed depends on the UPS, if I go to 5x/300UPS it will go down 4x/240UPS)

Twinsen
Factorio Staff
Factorio Staff
Posts: 1330
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: Requested game speed set to 1 for a while after autosave

Post by Twinsen »

Can't reproduce

iame6162013
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Jun 09, 2014 7:44 am
Contact:

Re: Requested game speed set to 1 for a while after autosave

Post by iame6162013 »

In case it matters it's on linux, it also happens right after loading the world(sometimes). It sometimes also occurs after keeping the game paused after a (long) while.

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Requested game speed set to 1 for a while after autosave

Post by Klonan »

Thanks for the report,

I also cannot reproduce the issue:

Last edited by daniel34 on Thu Aug 04, 2016 1:05 pm, edited 1 time in total.
Reason: fixed webm link

Twinsen
Factorio Staff
Factorio Staff
Posts: 1330
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: [Pending] Requested game speed set to 1 for a while after autosave

Post by Twinsen »

Sounds like it might be some kind of power saving feature.

iame6162013
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Jun 09, 2014 7:44 am
Contact:

Re: [Pending] Requested game speed set to 1 for a while after autosave

Post by iame6162013 »

Twinsen wrote:Sounds like it might be some kind of power saving feature.
Why would it be a power saving feature? At most while playing factorio my CPU utilization is 50%, and I'm on a desktop.

(Oh and it doesn't happen after every autosave just after a lot of them)

User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: [Pending] Requested game speed set to 1 for a while after autosave

Post by TruePikachu »

It might be a workaround for those people who can't get to the console when the game is autosaving continuously because they set their speed too high.

iame6162013
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Jun 09, 2014 7:44 am
Contact:

Re: [Pending] Requested game speed set to 1 for a while after autosave

Post by iame6162013 »

TruePikachu wrote:It might be a workaround for those people who can't get to the console when the game is autosaving continuously because they set their speed too high.
You can reduce the frequency of the auto saving in one of the 'esc' key screens.
And the game can't go over 300UPS from my testing, so you should have time to reduce the UPS with the console.

Loewchen
Global Moderator
Global Moderator
Posts: 8308
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [Pending] Requested game speed set to 1 for a while after autosave

Post by Loewchen »

iame6162013 wrote:the game can't go over 300UPS from my testing, so you should have time to reduce the UPS with the console.
If the map is small and the CPU capable you can go beyond 50k.

iame6162013
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Jun 09, 2014 7:44 am
Contact:

Re: [Pending] Requested game speed set to 1 for a while after autosave

Post by iame6162013 »

I can tell you that these errors(weird dips in UPS and the UPS being capped at 300) didn't occur in my (limited) testing in 0.12.35. (nor did I notice any weirdness while playing factorio prior to .13 )

EDIT:
I can not reproduce this error(the dips in UPS, not the cap)* prior to 0.13.10 (so in 0.13.10 the error occurs sometimes, but it feels like it happens less often).
EDIT2:
The cap (the limit in ups to 300) came with update 0.13.12, if you want to I could create a new topic about that.

Post Reply

Return to “Pending”