Startup Time 1.79

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Startup Time 1.79

Post by cim »

Thargoid wrote:
Looks like a winner - start-up with a flushed cache in about 2 minutes. I can live with that, given the low power of this machine.
That's definitely more reasonable.

Comparing the formats directly here with just over 100 installed, full debug build:
- mostly installed as OXZs: 11 seconds cold start, 6-7 seconds warm start
- mostly installed as OXPs: 8 seconds cold start, 5 seconds warm start

and same set, deployment build:
- mostly installed as OXZs: 8 seconds cold start, 4-5 seconds warm start
- mostly installled as OXPs: 5-6 seconds cold start, 3-4 seconds warm start

There's one more possible optimisation I've spotted in how ship scripts / JS AIs are loaded from disk - though it's more for ongoing play rather than startup savings, and should help OXP format a bit as well.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Startup Time 1.79

Post by Thargoid »

OK, now we're really getting somewhere.

Full load-out except Gallery, without a cache flush - 53s startup.
Full load-out with new version of Gallery and a cache flush - 111s startup.

This is for a full debug build (the only one I'm ever likely to be using I think), so all points to a lot of nice optimising there. Nice one, a Right On Commander all round methinks, and nicely in time for 1.80.
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Startup Time 1.79

Post by cim »

Norby wrote:
But the problem points further: every system.addShips() need exponentially more time in 1.79 if many OXZs are installed.
Well spotted - there's a nasty inefficiency in the plist AI loader that I probably introduced when adjusting it to allow JS AIs. Fixed in 8218ab5 so that should be considerably faster in tonight's nightly.
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Startup Time 1.79

Post by Diziet Sma »

Some nice detective work, guys!
Thargoid wrote:
Acer Aspire One 722 netbook, although mine has been upgraded to 4GB RAM but a 1GHz C-50 processor (the latter being the limiting factor).
Thargoid wrote:
To my knowledge there's nothing special about the installation (Windows 7 Home Prem SP1)
It would be interesting one day to see how your machine would handle without being hamstrung by Win7. That's a lot of overhead for such a low-spec laptop.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Startup Time 1.79

Post by Thargoid »

It has flown dual-boot with both Ubuntu and Mint in the past (including a USB live disk of Ubuntu 14.02 a couple of days ago to try and help resolve my deceased MyPassport hard drive). It's not too bad, but also not significantly better than Win7 for general usage and I took the attitude that generally it isn't broken so I didn't bother to "fix it".

Fundamentally the processor isn't too powerful, but it serves the needs I have for it, and does trade off (along with a chunky battery) that it'll run all day when away from mains power.
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Startup Time 1.79

Post by Norby »

cim wrote:
(more fixes yesterday)
Well done cim, my first:second loading times with 165 OXZs are dropped from 160s:110s to 23s:9s.

After Gallery and CCL updates my startup times are down to 10s:3s! :shock:

My 1GHz 1GB netbook started in 118s:34s, acceptable from a machine which can draw 15FPS only in the game.
Post Reply