View Issue Details

IDProjectCategoryLast Update
0027499AI War 2Gameplay IssueMay 22, 2023 3:48 pm
ReporterDismiss Assigned ToDismiss  
Severityminor 
Status assignedResolutionopen 
Product Version5.018 Easier Reconnection 
Summary0027499: sim slowdown after showdown device finishes
DescriptionNotice that the sim speed isn't hitting the target 150% even while paused. And the tasks taking the longest are MetalFlowPlanning, ProtectionPlanning, and TractorPlanning.
TagsNo tags attached.

Activities

Dismiss

Jul 3, 2022 12:27 pm

developer  

image.png (2,707,292 bytes)
slow.save (1,097,640 bytes)

BadgerBadger

May 11, 2023 6:49 pm

manager   ~0067758

Seems like a good save to start the performance work you suggested in discord

BadgerBadger

May 17, 2023 5:01 pm

manager   ~0067783

Last edited: May 17, 2023 5:02 pm

I see the below Excpetion repeatedly. The game seems to be running at a pretty reasonable speed to my mind for this level of late game madness otherwise though. I see it usually as between 65-80%


5/17/2023 2:59:55 PM 5.554 SINGLEP Error! Tried to serialize 6862 but it was already back in the pool!
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDebugging.ArcenLog_InnerOnMainThreadOnly (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity, System.DateTime Timestamp) [0x00000] in <1658a0fe4f084060ae4566da657fabc4>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <1658a0fe4f084060ae4566da657fabc4>:0
  at Arcen.AIW2.Core.GameCommand.SerializeTo_AlwaysForNetworkNeverDisk (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ArcenSerializationBuffer Buffer, Arcen.Universal.SerializationCommandType SerializationCmdType) [0x00000] in <f7342719acef4708a1a3f8768aef9dfe>:0
  at Arcen.AIW2.Core.AIWar2Networking.OnClient_SendClientCommandsToServer () [0x00000] in <f7342719acef4708a1a3f8768aef9dfe>:0
  at Arcen.AIW2.Core.World_AIW2.OnClient_SendClientCommandsAndSuchToServer () [0x00000] in <f7342719acef4708a1a3f8768aef9dfe>:0
  at Arcen.AIW2.Core.Engine_AIW2.ProcessArbitraryFrameOnMainThread (System.Boolean& stalledWaitingOnConnections, System.String& reasonForNoVisualUpdates) [0x00000] in <f7342719acef4708a1a3f8768aef9dfe>:0
  at Arcen.Universal.Engine_Universal.OnUpdateEngineUniversalFromMainThread () [0x00000] in <1658a0fe4f084060ae4566da657fabc4>:0
  at Arcen.AIW2.Core.ArcenGameControllerBase.BaseUpdate () [0x00000] in <f7342719acef4708a1a3f8768aef9dfe>:0
  at ArcenGameController.Update () [0x00000] in <37480ea94fbe44d48f5ee03d59378c32>:0

Dismiss

May 22, 2023 3:48 pm

developer   ~0067790

Unrelated but I fixed the issue with that exception.

Interestingly, i get a smooth 150% sim performance if i just disable the couple of planning contexts I mentioned in initial post. Looks like something i can dig into farther and figure out how to not have them disabled but just perform reasonably in late-game situations.

Issue History

Date Modified Username Field Change
Jul 3, 2022 12:27 pm Dismiss New Issue
Jul 3, 2022 12:27 pm Dismiss File Added: image.png
Jul 3, 2022 12:27 pm Dismiss File Added: slow.save
Jul 3, 2022 12:28 pm Dismiss Product Version => 5.018 Easier Reconnection
May 11, 2023 6:48 pm BadgerBadger Assigned To => Dismiss
May 11, 2023 6:48 pm BadgerBadger Status new => assigned
May 11, 2023 6:49 pm BadgerBadger Note Added: 0067758
May 17, 2023 5:01 pm BadgerBadger Note Added: 0067783
May 17, 2023 5:02 pm BadgerBadger Note Edited: 0067783
May 22, 2023 3:48 pm Dismiss Note Added: 0067790