Startup-Sequence boot speedup

A forum for Classic Amiga specific support issues.
Post Reply
mia
Posts: 6
Joined: Sun Oct 16, 2016 4:06 am

Startup-Sequence boot speedup

Post by mia »

just kidding, but I noticed that we can now do this with the ALL modifier on line 12 of 45.4 (28.5.2018)

C:MakeDir RAM:T RAM:Clipboards RAM:ENV/Sys ALL

:-)
User avatar
thomasrapp
Posts: 310
Joined: Sat Jun 18, 2011 11:22 pm

Re: Startup-Sequence boot speedup

Post by thomasrapp »

It shortens the command line but how does it speed up the processing?

It rather slows it down. The directories have to be created one by one anyway. With your command line it first has to recognise that ram:env does not yet exist. So it's at least one DOS call more than with all sub-directories specified explicitly.
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1714
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: Startup-Sequence boot speedup

Post by nbache »

thomasrapp wrote:It shortens the command line but how does it speed up the processing?
Maybe because MakeDir only has to be loaded once?

Best regards,

Niels
User avatar
thomasrapp
Posts: 310
Joined: Sat Jun 18, 2011 11:22 pm

Re: Startup-Sequence boot speedup

Post by thomasrapp »

nbache wrote:Maybe because MakeDir only has to be loaded once?
Maybe you should look at the code before you suggest something?

Old: C:MakeDir RAM:T RAM:Clipboards RAM:ENV RAM:ENV/Sys
New: C:MakeDir RAM:T RAM:Clipboards RAM:ENV/Sys ALL

In both cases MakeDir is loaded only once.
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1714
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: Startup-Sequence boot speedup

Post by nbache »

Yeah, sorry, I stand corrected.

I don't actually use any 3.x systems since many years, and haven't seen 3.1.4 IRL.

Best regards,

Niels
mia
Posts: 6
Joined: Sun Oct 16, 2016 4:06 am

Re: Startup-Sequence boot speedup

Post by mia »

This is in the 3.1.4 update - among other updates, the makedir command now supports creating folders recursively

I noticed that the default Startup-Sequence on the new 3.1.4 release doesn't take advantage of this yet

that's all.
Post Reply