Poster | Thread |
Metalheart
| |
OS4 boot times..... Posted on 27-Jun-2004 11:25:10
| | [ #1 ] |
|
|
|
Elite Member |
Joined: 21-Aug-2003 Posts: 2969
From: Somewhere in the Dutch mountains.... | | |
|
| Hi all,
I just timed the (cold) boot procedure with my A1/G4@800/OS4 I goes something like this:
0 sec: Switching it on :) 7 sec: First text appears 13 sec: 5 sec countdown: 18 sec: Uboot boot delay (2 sec) 20 sec: loading kickstart 26 sec: launching kickstart: 36 sec: Screen goes black 56 sec: WB pops up 59 sec: Done
Now I was wondering if this is quite normal.
And if I (we) can shorten the boot time by reducing the 5 sec countdown at the begining (I know how to cut down the U-Boot delay, already did this) I Guess the 'loading kickstart' time will be shortened when the IDE UDMA is in place :)
Is OS4 pre still sending information to the serial port for debugging ? And is this partly the reason why it takes 30 sec after 'launching kickstart' till WB pops up, and why it takes a few seconds for the system to actually reboot after pressing CTR/WIN/WIN ? It is still ALOT faster then my Win box, but thats obvious :) Cheers,
Martin _________________ Theres a time to live and a time to die When its time to meet the maker Theres a time to live but isnt it strange That as soon as you're born you're dying |
|
Status: Offline |
|
|
tonyw
| |
Re: OS4 boot times..... Posted on 27-Jun-2004 12:57:52
| | [ #2 ] |
|
|
|
Elite Member |
Joined: 8-Mar-2003 Posts: 3240
From: Sydney (of course) | | |
|
| @lizardrock
What devices do you have on your IDE chains? If you have missing devices, there is a 20-second timeout each time it comes to a "hole".
If this is slowing your boot time, you can avoid it by connecting something (an old drive, for instance) to that position.
Also, if you have Ethernet connected to a DHCP server, it takes several seconds to negotiate the DHCP connection. You can do this in parallel by editing your Startup-Sequence to say "C:Run >NIL: AddNetInterface (etc)".
The boot time is not affected much by disk access speed. When you watch the blinkenleits, you can see that it isn't spending much time on disk accesses. And unless you have the debug kernel version enabled in U-Boot, the small amount of serial output won't slow it much either.
On my A1 with a large User-Startup, USB, Ethernet and the works, I consistently do a cold boot in 47 sec and a warm reboot in 16 sec (no DHCP).
tony
_________________ cheers tony
Hyperion Support Forum: http://forum.hyperion-entertainment.biz/index.php |
|
Status: Offline |
|
|
Metalheart
| |
Re: OS4 boot times..... Posted on 27-Jun-2004 13:32:17
| | [ #3 ] |
|
|
|
Elite Member |
Joined: 21-Aug-2003 Posts: 2969
From: Somewhere in the Dutch mountains.... | | |
|
| @tonyw
Hi,
I added the 'run >nil' stuff to my startup sequence, and it boots 10 secs faster now ! :)
I have on IDE 1 a Hardrive, on IDE 2 nothing, on IDE 3 my CDRW, and on IDE 4 nothing. Still it doesnt take 20 secs to go through the initializing of the IDE ports, it takes 18 secs till the 5 sec boot delay. Or did I misunderstand you ?
Thanks :)
Martin
_________________ Theres a time to live and a time to die When its time to meet the maker Theres a time to live but isnt it strange That as soon as you're born you're dying |
|
Status: Offline |
|
|
Deniil715
| |
Re: OS4 boot times..... Posted on 27-Jun-2004 13:56:21
| | [ #4 ] |
|
|
|
Elite Member |
Joined: 14-May-2003 Posts: 4237
From: Sweden | | |
|
| @tonyw
The debug takes a little while though. Is there any way to set the serial speed in U-Boot to f.ex. 115200 instead of the default 9600? That would speed it up 12 times! _________________ - Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes) > Amiga Classic and OS4 developer for OnyxSoft. |
|
Status: Offline |
|
|
tomazkid
| |
Re: OS4 boot times..... Posted on 28-Jun-2004 0:01:39
| | [ #5 ] |
|
|
|
Team Member |
Joined: 31-Jul-2003 Posts: 11694
From: Kristianstad, Sweden | | |
|
| @lizardrock
I coldboot in about 43 seconds. Warmboot ~12 seconds. _________________ Site admins are people too..pooff! |
|
Status: Offline |
|
|
Bodie
| |
Re: OS4 boot times..... Posted on 28-Jun-2004 1:33:00
| | [ #6 ] |
|
|
|
Super Member |
Joined: 9-Jan-2003 Posts: 1439
From: Azjol-Nerub | | |
|
| Is it possible to remap the keys for a warm reboot? (ie, ctrl-win-win). I ask because I only have one windows key on my keyboard.
Cheers |
|
Status: Offline |
|
|
STRICQ
| |
Re: OS4 boot times..... Posted on 28-Jun-2004 2:28:28
| | [ #7 ] |
|
|
|
Regular Member |
Joined: 23-Mar-2003 Posts: 221
From: Colorado Springs, CO | | |
|
| @Bodie
Quote:
Is it possible to remap the keys for a warm reboot? (ie, ctrl-win-win). I ask because I only have one windows key on my keyboard. |
Yes, it is already taken care of, as well as the ability to remap the HELP key (Scroll Lock) for those with KVMs._________________ AmigaOne XE 800Mhz/1024MB Radeon 9200 128MB 160GB HD/2x 4GB HD SII0680 PATA133 Audigy 2 3Com 100Mb PCI Card |
|
Status: Offline |
|
|
STRICQ
| |
Re: OS4 boot times..... Posted on 28-Jun-2004 2:34:54
| | [ #8 ] |
|
|
|
Regular Member |
Joined: 23-Mar-2003 Posts: 221
From: Colorado Springs, CO | | |
|
| @lizardrock
My current boot time is 36 seconds from a cold restart. I'm not going to break down the timings, but from a Ctrl-Alt-Alt to the User-Startup and WBStartup finishing, including the Workbench background loading and changing TWICE totals 36 seconds.
It seems your total UBoot delay is 7 seconds, mine is only 3. I only have one delay, not two. How do you get two countdowns? _________________ AmigaOne XE 800Mhz/1024MB Radeon 9200 128MB 160GB HD/2x 4GB HD SII0680 PATA133 Audigy 2 3Com 100Mb PCI Card |
|
Status: Offline |
|
|
tonyw
| |
Re: OS4 boot times..... Posted on 28-Jun-2004 11:34:13
| | [ #9 ] |
|
|
|
Elite Member |
Joined: 8-Mar-2003 Posts: 3240
From: Sydney (of course) | | |
|
| @Deniil715
You can set the baud rate with the U-Boot variable "baudrate", eg:
setenv baudrate 115200 saveenv
That will change your A1's baud rate to 115200. The serial prefs are not yet used (?)
tony
_________________ cheers tony
Hyperion Support Forum: http://forum.hyperion-entertainment.biz/index.php |
|
Status: Offline |
|
|
Chris_Y
| |
Re: OS4 boot times..... Posted on 28-Jun-2004 11:38:36
| | [ #10 ] |
|
|
|
Elite Member |
Joined: 21-Jun-2003 Posts: 3205
From: Beds, UK | | |
|
| @lizardrock
setenv bootdelay 0 saveenv
will remove the first countdown. Make sure you have the option to drop into the U-Boot prompt from the second countdown (space, escape, last option) before you change the above, otherwise you will run into problems if you need the prompt.
Chris _________________ "Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion Avatar is Tabitha by Eric W Schwartz |
|
Status: Offline |
|
|
Vidar
| |
Re: OS4 boot times..... Posted on 28-Jun-2004 12:44:03
| | [ #11 ] |
|
|
|
Regular Member |
Joined: 8-Mar-2003 Posts: 100
From: Norway | | |
|
| @Chris_Y
Do you know if there is a way to make Uboot to stop for each page of info? Printenv for example scrolls of the top of my screen too fast to be able to read everyting..
_________________ Vidar
NOT a self-appointed internet police.. |
|
Status: Offline |
|
|
Chris_Y
| |
Re: OS4 boot times..... Posted on 28-Jun-2004 13:15:34
| | [ #12 ] |
|
|
|
Elite Member |
Joined: 21-Jun-2003 Posts: 3205
From: Beds, UK | | |
|
| @Vidar
The only way I know to stop it, is to hit Ctrl-C as quickly as possible (ie. before it scrolls off the top of the screen) after hitting return. You have to repeat the command as many times as you need to to read the entire text.
It used to pause. I guess they have taken this out of 1.0.0 (I've not tried it).
Another option is to capture the output across a null modem cable. I don't know whether Ctrl-S or Scroll Lock will pause the display, they might be worth a try.
Chris _________________ "Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion Avatar is Tabitha by Eric W Schwartz |
|
Status: Offline |
|
|
AV
| |
Re: OS4 boot times..... Posted on 28-Jun-2004 13:18:41
| | [ #13 ] |
|
|
|
Regular Member |
Joined: 1-Aug-2003 Posts: 184
From: Unknown | | |
|
| @lizardrock
Quote:
lizardrock wrote:
[...] I Guess the 'loading kickstart' time will be shortened when the IDE UDMA is in place :) [...]
Martin |
No, that doesn't is not responsability of a1ide.device but Uboot's routines, since OS4 is not (yet) there when loading the kickmodules. To shorten that time a tuneup of the VIA inside uboot would be required. We might do that, in fact there are already plans for it , but it's low priority.
Bye.
|
|
Status: Offline |
|
|
Severin
| |
Re: OS4 boot times..... Posted on 28-Jun-2004 14:28:36
| | [ #14 ] |
|
|
|
Elite Member |
Joined: 18-Aug-2003 Posts: 2740
From: Gloucestershire UK | | |
|
| @Bodie
Type this in uboot...
setenv kbddev_norwin yes saveenv
and the 'menu' key will be used as r-amiga
_________________ OS4 Rocks X1000 beta tester, Sam440 Flex (733)
Visit the Official OS4 Support Site for more help.
It may be that your sole purpose is to serve as a warning to others. |
|
Status: Offline |
|
|
miksuh
| |
Re: OS4 boot times..... Posted on 28-Jun-2004 14:34:05
| | [ #15 ] |
|
|
|
Cult Member |
Joined: 10-Mar-2003 Posts: 731
From: Espoo, Finland | | |
|
| @Severin
I hope all these environment variables will be explained in the final OS4 documentation Or is there some UBoot manual/tutorial online ? |
|
Status: Offline |
|
|
Bodie
| |
Re: OS4 boot times..... Posted on 28-Jun-2004 14:35:55
| | [ #16 ] |
|
|
|
Super Member |
Joined: 9-Jan-2003 Posts: 1439
From: Azjol-Nerub | | |
|
| @STRICQ & Severin
Thx for the tip.
Cheers
|
|
Status: Offline |
|
|
miksuh
| |
Re: OS4 boot times..... Posted on 28-Jun-2004 14:43:28
| | [ #17 ] |
|
|
|
Cult Member |
Joined: 10-Mar-2003 Posts: 731
From: Espoo, Finland | | |
|
| OK I did find it already U-Boot documentation is atleast here (Don't know if this is latest version)
http://www.denx.de/twiki/bin/view/DULG/UBoot
|
|
Status: Offline |
|
|
Metalheart
| |
Re: OS4 boot times..... Posted on 28-Jun-2004 17:50:33
| | [ #18 ] |
|
|
|
Elite Member |
Joined: 21-Aug-2003 Posts: 2969
From: Somewhere in the Dutch mountains.... | | |
|
| @all
Thanks, very usefull tips. I will try the 'bootdelay 0' and the 'baudrate' stuff later today
I think short boot times are important, even a cold boot, so I will try to cut it down as much as I can !
Right now it already (cold) boots faster then my Amithlon box :) And my A4000/3.9 (with al its reboots and patches running)
I'll let you know if the baudrate bit (hihi..) changes the boot time.
Cheers,
Martin
_________________ Theres a time to live and a time to die When its time to meet the maker Theres a time to live but isnt it strange That as soon as you're born you're dying |
|
Status: Offline |
|
|
Metalheart
| |
Re: OS4 boot times..... Posted on 28-Jun-2004 20:21:16
| | [ #19 ] |
|
|
|
Elite Member |
Joined: 21-Aug-2003 Posts: 2969
From: Somewhere in the Dutch mountains.... | | |
|
| @ all
Hey guys !
Guess what....
I used 'setenv bootdelay 1' and it shaves 4 secs of my boot time !
Also 'setenv baudrate 115200' WORKS ! :) It makes OS4 boot 7 seconds faster !!!
GREAT ! So I'm down to 38 seconds cold boot WB fully loaded including backdrop picture, amidock and WBstartup :) (It was 59 seconds)
Thamks again.
Martin
ps, we must share this with every OS4 user out there :)
_________________ Theres a time to live and a time to die When its time to meet the maker Theres a time to live but isnt it strange That as soon as you're born you're dying |
|
Status: Offline |
|
|
The_Editor
| |
Re: OS4 boot times..... Posted on 28-Jun-2004 20:41:13
| | [ #20 ] |
|
|
|
Elite Member |
Joined: 7-Mar-2003 Posts: 7629
From: 192.168.0.02 ..Pederburgh .. Iceni | | |
|
| @lizardrock
Boot up times ?
Who cares .. Its way faster than my PC anyway..
Its the SHUTDOWN that impresses me !! _________________ ****************************************** I dont suffer from Insanity - I enjoy it
****************************************** |
|
Status: Offline |
|
|