• 8
SessoSaidSo

It's been 6 months since I asked about the stutter

Question

Hi.

So back in July I was pretty upset about the stutter or micro freezing as it may be known. Now it's been pretty much concluded it is due to the GC of Unity 4.x, and I have been playing 1.0.5 and see it is worse than ever.

For reference I play off a custom rig running:

Windows 10 Home

i7-5820k

GTX 980 Ti

16 GB DDR4

I generally use a resolution of 2160p or 1440p

I have run the game from the following 3 drives:

SM951 256 m.2 SSD

850 Pro 256 SATA SSD

840 EVO 512 SATA SSD

I go back and forth playing the game with DirectX and OpenGL. Problem persists either way, so I generally stick to OpenGL for performance reasons(RAM savings are significant).

No. I do not spend all my money on computer parts. I work for a large IT vendor. 

I believe back in July I came off as a Kerb-Hole, for which I apologize. I am interested in understanding if the GC issue is a currently acknowledged issue from Squad and if the team is aware of its presence (or lack thereof) in Unity 5.x. 

 

TL;DR...too bad. Go Back up and read it.

Share this post


Link to post
Share on other sites

Recommended Posts

  • 0

So it's 2019. Has this been fixed?

Necroing two year old thread, because starting a new one, to ask about the exact same thing. would be stupid.

 

Share this post


Link to post
Share on other sites
  • 0
14 minutes ago, kokospl said:

So it's 2019. Has this been fixed?

Necroing two year old thread, because starting a new one, to ask about the exact same thing. would be stupid.

 

it's almost as if this thread is stuttering.

As far as game stuttering, if I don't pay attention I don't notice it. If I do, I notice it's there but it doesn't bother me. It's worse with more mods.

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, 5thHorseman said:

if I don't pay attention I don't notice it. If I do, I notice it's there but it doesn't bother me.

I'm sure it's nice for you that you don't notice it. I do.

1 hour ago, 5thHorseman said:

It's worse with more mods.

It's worse with more garbage-generating code running, mod or otherwise.
Stock 1.6 is actually worse wrt GC stutter than or 1.3.1 or 1.5.1, probably due to the new features.
Features which don't appear to be optimised for this at all... I'm looking at you stage DV gauges.

Stock KSP is right on the knife edge for causing intrusive GC pauses as shipped.
For a game advertised as being "mod friendly" this sure doesn't leave much room for mods before the pauses become properly obnoxious.

Edited by steve_v

Share this post


Link to post
Share on other sites
  • 0

Stock KSP without all of the dV code is pretty clean as far as garbage generation goes. I think Squad cleaned up most of the recurring (generated every, or almost every, frame) sources of garbage allocation when 1.2 came out.

But the stock dV is... not good at all. In a bad case it could, by itself, be generating more than 10X what KSP was generating each second without it. Both the dV calculations and all of the UI related to the dV values generate a lot of needless garbage. You can improve the situation a little by not opening the little dV info panels next to each stage icon. You could also try disabling the stock dV all together. Or just replace all of that garbage with Basic DeltaV.

Mods range from very good regarding garbage allocation to absolutely terrible. With a few good mods you could be generating just a few 100kB of garbage per second, or less, but with bad mods, you could be looking at 10s of MB per second, which will trigger GC pauses every few seconds.

Share this post


Link to post
Share on other sites
  • 0
3 minutes ago, DMagic said:

Mods range from very good regarding garbage allocation to absolutely terrible. With a few good mods you could be generating just a few 100kB of garbage per second, or less, but with bad mods, you could be looking at 10s of MB per second, which will trigger GC pauses every few seconds.

If notified of a specific mod with a memory issue, I'll work on fixing my code.  I'd also be willing to look at other mods if requested.  Sometimes an outside pair of eyes can be useful

Share this post


Link to post
Share on other sites
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.