Difference between revisions of "Performance with many parts"

From Kerbal Space Program Wiki
Jump to: navigation, search
({{Orphan}})
(spelling, removed "How does KSP work?" section)
Line 3: Line 3:
 
===== Will strut help ? =====
 
===== Will strut help ? =====
 
No, more struts will increase the amount of interactions between components,and thus slow down the simulation.
 
No, more struts will increase the amount of interactions between components,and thus slow down the simulation.
Tested by: big batter stack. with and without sturts. (Without struts: 33fps, with: 13fps)
+
Tested by: big batter stack. with and without struts. (Without struts: 33fps, with: 13fps)
 
===== Do lamps count ? =====
 
===== Do lamps count ? =====
 
[Unconfirmed] They do, but they have less impact because they are connected to less things.
 
[Unconfirmed] They do, but they have less impact because they are connected to less things.
 
===== Are stable structures faster to simulate ? =====
 
===== Are stable structures faster to simulate ? =====
 
[Unconfirmed] Suspected not to be, as KSP doesn't seem to solve to allow minimum error.
 
[Unconfirmed] Suspected not to be, as KSP doesn't seem to solve to allow minimum error.
===== Is it multi-threaded ? =====
+
===== Is KSP multi-threaded ? =====
[Unconfirmed] No it uses a single core.
+
[Unconfirmed] No, it uses a single core.
 
===== Can I enable GPU acceleration ? =====
 
===== Can I enable GPU acceleration ? =====
 
[Unconfirmed] KSP has no GPU acceleration for physics. They might just be lacking the license and settings though.
 
[Unconfirmed] KSP has no GPU acceleration for physics. They might just be lacking the license and settings though.
 
If it would be faster is under debate. Research suggests yes.
 
If it would be faster is under debate. Research suggests yes.
 
===== Are there any settings that can help ? =====
 
===== Are there any settings that can help ? =====
You can intcrease Max Physics Delta-Time per Frame in Settings > General.
+
You can increase Max Physics Delta-Time per Frame in Settings > General.
 
The default is [Unconfirmed]0.04 . However increasing it can result in physic weirdness.
 
The default is [Unconfirmed]0.04 . However increasing it can result in physic weirdness.
 
===== What can I do ? =====
 
===== What can I do ? =====
* There is a "welding" mod, but this has several caveats named "UbioZur Welding Ltd"
+
* There is a "welding" mod, ("UbioZur Welding Ltd"), but it has several caveats:
 
* If you have a choice between 4 batteries or 1 big one: go for the big one !
 
* If you have a choice between 4 batteries or 1 big one: go for the big one !
 
* If you need to  connect more then 1 fuel tank, consider downloading mods that have bigger parts.
 
* If you need to  connect more then 1 fuel tank, consider downloading mods that have bigger parts.
Line 33: Line 33:
 
===== Which physics engine does KSP use ? =====
 
===== Which physics engine does KSP use ? =====
 
[Unconfirmed] Unity3d which in term uses PhysX
 
[Unconfirmed] Unity3d which in term uses PhysX
 
== How does KSP work ? ==
 
Unkown
 

Revision as of 00:16, 6 May 2023

This page is an orphan, as no other articles link to it.


FAQ

Will strut help ?

No, more struts will increase the amount of interactions between components,and thus slow down the simulation. Tested by: big batter stack. with and without struts. (Without struts: 33fps, with: 13fps)

Do lamps count ?

[Unconfirmed] They do, but they have less impact because they are connected to less things.

Are stable structures faster to simulate ?

[Unconfirmed] Suspected not to be, as KSP doesn't seem to solve to allow minimum error.

Is KSP multi-threaded ?

[Unconfirmed] No, it uses a single core.

Can I enable GPU acceleration ?

[Unconfirmed] KSP has no GPU acceleration for physics. They might just be lacking the license and settings though. If it would be faster is under debate. Research suggests yes.

Are there any settings that can help ?

You can increase Max Physics Delta-Time per Frame in Settings > General. The default is [Unconfirmed]0.04 . However increasing it can result in physic weirdness.

What can I do ?
  • There is a "welding" mod, ("UbioZur Welding Ltd"), but it has several caveats:
  • If you have a choice between 4 batteries or 1 big one: go for the big one !
  • If you need to connect more then 1 fuel tank, consider downloading mods that have bigger parts.
What can mod developers do ?

[Unconfirmed] There might be a way to interact with the physics and perform some optimizations: see next FAQ.

What can the developers do ?

[Unconfirmed] There are ways to speed up the simulation, by considering multiple parts to be solid. For example: lamps could be ignored in certain situations (or all). But this could have weird effects like, but not limited to:

  • lamps do not detach under extreme G forces
  • lamps have no collision box active, causing them to clip trough everything
  • lamps can not be destroy by impact
  • lamps suddenly be stuck in a rock after the game decides to reactive the physics, after the lamp has collided already clipped into a rock
What do the developers have planned ?

Unknown

Which physics engine does KSP use ?

[Unconfirmed] Unity3d which in term uses PhysX