Welcome, Guest

Author Topic: [BUG] Update 21 FPS diminishing  (Read 3957 times)

cavok84

  • **
  • Posts: 18
[BUG] Update 21 FPS diminishing
« on: July 21, 2018, 08:45:17 PM »
I'm sure y'all know about this issue, but I'll post it here just in case. With update 21 I've noticed that if running a sim for more than 15 minutes real time, my FPS begins to steadily decrease whilst physics rate maintains over 1000. (Vsync OFF)

This occurs to the point where the 60 FPS performance limiter beings reducing simulated bodies by 35 percent and still FPS goes to around 40 FPS. It does not matter if I turn on Vsync at this point, nor does slowing the time step affect this issue.

This occurred during the default solar system simulation with Jupiter launched towards the sun with auto velocity, so that the orbit is highly eccentric and the body is eventually ejected from the sun.

My computer

CPU:  I7 6700k 4.4GHz
GPU: 1080 TI evga sc2
Ram: Trident Z 3000 Mhz
SSD:  Samsung NVME 950 Pro

Jar

  • Developer
  • *****
  • Posts: 732
    • Universe Sandbox
Re: [BUG] Update 21 FPS diminishing
« Reply #1 on: July 23, 2018, 12:18:20 PM »
This isn't something we know about, actually. Update 21 shouldn't have changed anything related to performance. I also am not able to reproduce this just by running any simulation for that long.

You said you saw it when running the default sim and Jupiter was ejected. I wonder if the issue is related to Jupiter continuing farther and farther out. Do you see the slowdown consistently in that scenario, or with any other sims?

cavok84

  • **
  • Posts: 18
Re: [BUG] Update 21 FPS diminishing
« Reply #2 on: July 29, 2018, 11:06:41 AM »
This isn't something we know about, actually. Update 21 shouldn't have changed anything related to performance. I also am not able to reproduce this just by running any simulation for that long.

You said you saw it when running the default sim and Jupiter was ejected. I wonder if the issue is related to Jupiter continuing farther and farther out. Do you see the slowdown consistently in that scenario, or with any other sims?

Just to confirm, the Jupiter that was ejected was an added object that was 'launched' toward the sun with auto-velocity, orthogonal to the ecliptic. After accomplishing many eccentric orbits, each more so than the last, it finally escaped.

This had the apparent affect of dramatically slowing down the game... What is odd is my CPU usage remained constant at around 25 percent or so amongst the cores. If I remember correctly, prior to this update with Vsync OFF my CPU usage could be fairly high depending on simulator demand; and with Vsync ON, CPU usage was at a steady 20 ish percent. It's as if something is limiting the CPU resource or bottlenecking the sim as a confounding body is introduced to the standard solar system sim.

My GPU's usage is difficult to figure out as well, occasionally jumping to 50 percent usage at near max clock, but typically hanging around 5 percent downclocked. Something has definitely changed for me though.

I'll do some more testing to see if I can reproduce the situation in other sims. Having my attracting bodies being reduced by 35 percent merely by adding a single rogue planet isn't a good development though.

Jar

  • Developer
  • *****
  • Posts: 732
    • Universe Sandbox
Re: [BUG] Update 21 FPS diminishing
« Reply #3 on: August 03, 2018, 11:58:00 AM »
Again, I can't think of anything in this update that would have had any effect like that on performance. The changes were largely relating to the new languages, which is not at all related to the simulation. It's possible something odd was going on in that specific scenario, it's hard to say. But if you do find a reproducible scenario that causes this performance hit, please let me know.