ragamer wrote:1) There are a couple of "write to logfile #9918" (At lines 218 & 235) on the Complex Search Loop in the "plugin.LI.GPR.Search.V2". After 2 or 3 hours of gametime (with around 100 stations in complexes) the Log grows and the game starts to visibly stutter. If I comment this 2 "write to log" operations the stuttering completely dissapears (The logfile at this moment was ramping up above 10Mb size
).
I've been working hard on expanding my complexes, and as always, using Complex Cleaner. There's a stutter which has been appearing approximately every 4.2 seconds, or 0.42 seconds with SETA x 10 enabled. I've just spent 4 hours searching for the cause. I first saved and made a backup of my save folder. Then I destroyed every one of my ships except a couple of TLs, Kestrel and Hyperion which has the tractor beam. I couldn't find the "self destruct" for my ships so I just told them to fly to sector Xenon 598 or whatever. This didn't get rid of the stutter. I then used Complex Cleaner self destruct on each of my complexes, and found that each time I destroyed the CCKs (along with complex hub), the stutter decreased. I did try destroying the FACTs as well, but this made no difference. When I removed the last complex hub, the stutter had completely disappeared. Then I reloaded and destroyed the CCKs only, leaving all FACTs intact. Zero stutter.
Note that I'm using a "monster PC". Everything is on steroids so there's no question of hardware being a significant bottleneck. In particular, the C: drive is a two way RAID 0 SSD with timings 550MB/sec sustained reads/writes and <0.1ms latency. The log file would have to be at least 150MB and be blocking other processing to cause the stutter I'm seeing.
If the problem still can't be found, I can do more checks, like setting up logging of IO operations with and without GPR enabled. As this is hard work and I'd rather play, I'll wait to see if this is necessary first.
I installed GPR a week ago but haven't actually done a report yet. I'll simply disable it until there's a solution available.
thanks,
Glen