Jump to content

[1.8.x-1.12.x] Module Manager 4.2.3 (July 03th 2023) - Fireworks season


sarbian

Recommended Posts

A couple of days ago I activated the Nvidia ShadowPlay FPS counter on my PC. So I had the frame rate displayed while loading KSP and seeing it caped at 60fps (I have VSync On) that reminded me that the game loading use co-routine and so loads only 1 item per frame. So no more than 60 items per seconds on my PC.

So I had an idea : disabling vsync while in the loading screen and setting it back to the user setting when the game reach the menu. It worked fine and my stock Dev KSP loaded about 10s faster (from about 48s to 37s). A nice improvement for 6 lines of code.

This morning I had to launch KSP a bit more than usual while struggling with some MJ code. I had not converted that install textures to DDS since 0.90, so to make things a bit faster I did it. And I launched with the new MM code that disable vsync.

KSP loaded in 13s

So I guess some may want this :D

Module Manager 2.5.9. The only change is the vsync disabling in the loading screen.

ModuleManager.2.5.9.dll

ModuleManager-2.5.9.zip

Wow!

Amazing!

Thank you!

Link to comment
Share on other sites

Great!

My RO install (incl. FASA and KW) loads ~30 sec faster.

2.5.8: 120sec on loading screen + 20 sec on DDS loading for RSS

2.5.9: 90sec on loading screen + 20 sec on DDS loading for RSS

2.5.9 with vSync OFF in nvidia control panel: 71 + 20

Amazing how efficient a code can be without lots of NOPs :)

Edited by kubi
Link to comment
Share on other sites

Yep, my game already loads 43sec faster (96 mods)

On an offtopic line, are you using ATM to handle that without eventual crashes due to 4GB+ on memory? Or, assuming you're using it, do you reach the 4GB limit even though? Thanks.

If this offtopic conversation gets more than one post response, I'll make sure to continue it through PM.

Link to comment
Share on other sites

On an offtopic line, are you using ATM to handle that without eventual crashes due to 4GB+ on memory? Or, assuming you're using it, do you reach the 4GB limit even though? Thanks.

If this offtopic conversation gets more than one post response, I'll make sure to continue it through PM.

Yes, I'm using ATM. I have ~500MB left till I reach the limit.

Link to comment
Share on other sites

Yes, I'm using ATM. I have ~500MB left till I reach the limit.

Thanks for the answer. I've tried ATM before, but I thought it would prevent those fated crashes. Unfortunately, for some reason, the game keeps accumulating more and more memory as time goes by.

[/offtopic]

Edited by Kowgan
Link to comment
Share on other sites

updated to 2.5.9

now it crashed while loading Interstellar mod. Removed it and now crash while loading B9.

Is there a link to 2.5.8 please?

https://ksp.sarbian.com/jenkins/job/ModuleManager/lastSuccessfulBuild/artifact/ModuleManager-2.5.8.zip

Would be nice if you provided us the output_log while loading using 2.5.9, though. :)

-edit-

Today, Sarbian became Naruto.

Link to comment
Share on other sites

Just updated too, and load in an existing craft, suddenly experiencing phantom acceleration, where my speed magically picks up despite all engines are off. Decoupling turns this off. Loading into a craft without engine and this has no problem...I wonder if my save file is corrupted though. Going to do more test later on when I have time.

Link to comment
Share on other sites

15 seconds saved from simply turning off Vsync during load? That's just nuts. Wonder what you could save if you totally replaced the loading screen with a dos-style window and turned off all other special effects entirely.

Not that we're going to do that, just speculation. Reminds me of the predictions people used to have when talking about solid state drives. "It'll be like... click the button on the box and before the click is done, you're booted up!" Then we found out we were being stupid and nothing loads that fast.

Link to comment
Share on other sites

15 seconds saved from simply turning off Vsync during load? That's just nuts. Wonder what you could save if you totally replaced the loading screen with a dos-style window and turned off all other special effects entirely.

Not that we're going to do that, just speculation. Reminds me of the predictions people used to have when talking about solid state drives. "It'll be like... click the button on the box and before the click is done, you're booted up!" Then we found out we were being stupid and nothing loads that fast.

Now just think how much harder brute force password hacking attempts would be if a standard 3 second delay is added after every failed attempt...

Link to comment
Share on other sites

Holy moly.. FRAPS just registered 350+ FPS :o

I'll be honest, ATM, DDSlaoder and this have made KSP so much more enjoyable for me - before, it would take like 10 minutes to load. I'd alt tab out, browse reddit or get distracted and then just kinda not bother with KSP. But now, I barely have time to get something to drink and I come back and it's loaded.. It's astounding. Thank you so much for this!

Link to comment
Share on other sites

Reminds me of the predictions people used to have when talking about solid state drives. "It'll be like... click the button on the box and before the click is done, you're booted up!" Then we found out we were being stupid and nothing loads that fast.

Nothing except 1980's micro computers with their operating systems in ROM chips. Ready to go the instant the power was turned on.

I used to have a PC running Windows 98 SE, much slower hardware than what I have now with Windows 7, that was fully booted and ready to go in only 45 seconds. That was years before the first SSD hit the market. A lot of that speed was the 7200 RPM hard drive. Now I have a 3.2 Ghz dual core with far more everything in speed and capacity than that one from the end of the 20th century, and it boots up *much slower*. Progress? What?

Back then I also had an old 300 Mhz Pentium II laptop (Toshiba Tecra 800) that with its original 4200 RPM hard drive took well over 5 minutes to boot Windows 98 SE. When I upgraded to a 5400 RPM drive of much larger capacity it reduced the boot time to under 2 minutes and it was far quicker at everything else.

Link to comment
Share on other sites

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