Jump to content

Question on persistent debris


Recommended Posts

I was wondering if having persistent debris enabled slows down KSP in general. While I know these debris are on rails until you are operating them directly or are within 2.2Km, does it still put any processing stresses to have them around?

Has anyone experienced any problem with having debris around?

Link to comment
Share on other sites

A thing to consider is that even if objects do not add to lag beyond 2.25kms, the more objects of any kind that exist in your game, the longer quick/autosaves and quickloads take.

As he says. It's mostly a memory thing: Once they're outside of about 2.4 KM or so they go 'on rails', and cease to have physics calculations performed on them. This means there's a minimal performance hit, but it still has to be loaded and tracked. The tracking is easy because the orbit is strictly defined, but if you have enough of them it could spike your memory usage beyond the 4GB limit and then you're in crashville.

Link to comment
Share on other sites

As he says. It's mostly a memory thing: Once they're outside of about 2.4 KM or so they go 'on rails', and cease to have physics calculations performed on them. This means there's a minimal performance hit, but it still has to be loaded and tracked. The tracking is easy because the orbit is strictly defined, but if you have enough of them it could spike your memory usage beyond the 4GB limit and then you're in crashville.

I don't know about that. The way i see it these packed vessels are described by a couple of kb, the majority of memory is in the models of the part which are loaded once irregardless whether they are used zero or a thousand time, but please correct me if I'm wrong.

Link to comment
Share on other sites

I don't know about that. The way i see it these packed vessels are described by a couple of kb, the majority of memory is in the models of the part which are loaded once irregardless whether they are used zero or a thousand time, but please correct me if I'm wrong.

Actually it's more likely to be the textures hogging up memory than the models... but I digress. Yeah, individual instances of stuff won't take up that much memory... but it'll be highly variable depending on the number of parts involved. Trick being, each piece might be a minor hit, but if you just spam absurd amounts of junk floating around, I strongly suspect it'd hit the memory harder than the CPU. I could be wrong, though.

Link to comment
Share on other sites

  • 7 months later...
Actually it's more likely to be the textures hogging up memory than the models... but I digress. Yeah, individual instances of stuff won't take up that much memory... but it'll be highly variable depending on the number of parts involved. Trick being, each piece might be a minor hit, but if you just spam absurd amounts of junk floating around, I strongly suspect it'd hit the memory harder than the CPU. I could be wrong, though.

Are you sure that they even load the models? It should be unnecessary for calculating orbits.

Link to comment
Share on other sites

After finishing out my tech tree in career mode, Kerbin has more rings than Saturn! I'll admit to being really sloppy on this save, but in spite of the junkyard I have in orbit, I'm not seeing any effect on performance. (LKO looks like the beginning of the "Sing for absolution" video by Muse!)

Link to comment
Share on other sites

I'm running KSP on a laptop so my resources are limited. Once it get over 100 pieces of debris in space, I see a significant lag. The other day, I decided to do something about it. First, I went into the tracking station and looked for any debris that was "landed" on Kerbin and recovered the debris. I viewed this as sending a truck and getting someone to pick it up. Second, I build a garbage collector and sent into space to scoop up the debris and alter it's orbit to crash on the surface starting with Kerbin and then the Mun. I'm now down to 18 pieces of debris and hope to take out 3 more tonight. My clock is once again green instead of a solid yellow. And, I've gotten much better with my rendezvous. :D

Link to comment
Share on other sites

Somebody posted a thread about this (back in December, I think), and he was getting a much greater lag effect from debris and other ships (outside of the rendering range) than I would have expected.

Link to comment
Share on other sites

I'm running KSP on a laptop so my resources are limited. Once it get over 100 pieces of debris in space, I see a significant lag.

Seconded. I also got problems past 100 debris on a laptop. The quickest solution is to lower the persistent debris limit in the options menu.

Link to comment
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
Reply to this topic...

×   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.

×
×
  • Create New...