Jump to content

Multithreaded/multicore, "Mode." Cheat for physics and other?!


Recommended Posts

What about keeping a cheat mode to activate some implementation of multithreaded physics and other processes.

It could be a purposely slow one with the equivlant of ECC checking and designed to catch the phsyics in order. Maybe by adding code to number when and what should go together. I assume this has to be done without gargable collecting problems or in a way it never needs it.

It could be done to target extremely large vessels. Maybe allowing a sweet spot for varying hardware where it's purposely laggy but possible uses the extra cores to get relatively better performance than you would get with single core. Especially as CPU's start getting much larger numbers of cores.

My current large vessels can run from 10-30 seconds real live to 1 in game second on the clock. Anything beating this would be a lifesaver. it could be good for testing large craft and for video makers. If I can go from 10-30 seconds to a guaranteed 5 seconds per second with multicore/threads it's worth it if it's stable.

Is there a simple way to implement this that would wouldn't require a lot of hassle on the programmers afterwords? Even if it's wonky, it could be done for testing and development. And being KSP, it might be fun for the explosions/weirdness as it's developed.

I'm proposing it even split the craft up. 8d Maybe a selection of cheats as to which things it splits across cores. Then you can select joint or aero or other things to be split up for testing. Maybe the feedback could be collected on the forums to help maintain it over time.

I know this is in the previous ideas thread but I was hoping this was a different enough varient and with new hardware going the way it is going it might be useful in different cases for different people. Could be good for the future of the game. It might not be long until we hit hundreds of cores per CPU. Let alone my measly 6 cores. I would love to get some better performance on my old CPU. Even if it's just a little. Large craft are potentially counted in hours of play to get into orbit. Anything would/could help.

This could also be very good for docking with large parts counts. There is a lot this could help. A minimum stabilized load could help game performance overall. Even if it's doesn't always.

Edit: 720 posts. One of my favorite numbers to use in game.

Edited by Arugela
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...