Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
16 crawler(s) on-line.
 50 guest(s) on-line.
 3 member(s) on-line.


 Trixie,  vox,  yoodoo2

You are an anonymous user.
Register Now!
 Trixie:  27 secs ago
 vox:  2 mins ago
 yoodoo2:  3 mins ago
 NutsAboutAmiga:  34 mins ago
 amigakit:  42 mins ago
 Karlos:  45 mins ago
 hlt:  47 mins ago
 OlafS25:  51 mins ago
 Frank:  54 mins ago
 Hypex:  56 mins ago

/  Forum Index
   /  Amiga OS4.x \ Workbench 4.x
      /  5 sec. boot delay with network enabled
Register To Post

Goto page ( 1 | 2 Next Page )
PosterThread
Mopemen 
5 sec. boot delay with network enabled
Posted on 26-Mar-2007 19:29:38
#1 ]
Regular Member
Joined: 7-Feb-2005
Posts: 147
From: The Netherlands

Hi,

Since a week I've got a multiport router/modem/thing/device so I unleashed my µA1c (OS4 final) on the big bad internet.

After making an ethernet connection with my router the boot time of my amiga is increased with 5 seconds.
A cold reboot without network connection takes ~28 secs.
A cold reboot with network connection takes ~33 secs.
A warm reboot without network connection takes ~9 secs.
A warm reboot with network connection takes ~13 secs.

Times are measured from releasing buttons (ctrl A A, power) till workbench is loaded.

It doesn't matter if I use DHCP or static IP addresses.
It also doesn't matter if I use the wizzard of not (of course, but you never know!) to make the connection.

Is this normal? After using the search I know I'm not the only one with this 'problem'...
I don't know why this should be a normal behaviour of an OS, so it must be some setting or something.

Tomorrow I'll try to make a network trace between router and the amiga to see what kind of network traffic is between them.
Maybe that will point some things out.

By the way,

Wet is a nice program!

Maurice

_________________
µA1c OS4.1 (with a dead powersupply (powersupplied))
A500

 Status: Offline
Profile     Report this post  
sundown 
Re: 5 sec. boot delay with network enabled
Posted on 26-Mar-2007 19:53:35
#2 ]
Elite Member
Joined: 30-Aug-2003
Posts: 5120
From: Right here...

@Mopemen

The delay is normal as bootup is stopped until you get a net connection. You can speed up boot time by changing a line in startup-sequence, but you will have about a 5 sec delay to get a net connection after bootup. Either way, you get the delay, but you have a choice as to when.

Run >NIL: C:AddNetInterface QUIET DEVS:NetInterfaces/~(#?.info)

_________________
Hate tends to make you look stupid...

 Status: Offline
Profile     Report this post  
ssolie 
Re: 5 sec. boot delay with network enabled
Posted on 26-Mar-2007 20:16:26
#3 ]
Elite Member
Joined: 10-Mar-2003
Posts: 2755
From: Alberta, Canada

@Mopemen
Quote:
Tomorrow I'll try to make a network trace between router and the amiga to see what kind of network traffic is between them.
Maybe that will point some things out.

Please do. It is best to fully understand why it is taking so long to make that network connection. Hold off on any "run" tricks until you know what is going on.

_________________
ExecSG Team Lead

 Status: Offline
Profile     Report this post  
thinkchip 
Re: 5 sec. boot delay with network enabled
Posted on 26-Mar-2007 22:44:07
#4 ]
Super Member
Joined: 26-Mar-2004
Posts: 1185
From: Salt Lake City, Utah, USA

@Mopemen

Maybe you could check your UBOOT settings and see if network is in your boot sequence.

_________________
X5000 / microA1(OS4.1 FE U2) / CodeBench / Imagine / Blender
Lightwave 2019 / Microsoft Visual C++

 Status: Offline
Profile     Report this post  
Mopemen 
Re: 5 sec. boot delay with network enabled
Posted on 27-Mar-2007 11:55:36
#5 ]
Regular Member
Joined: 7-Feb-2005
Posts: 147
From: The Netherlands

@thinkchip

Ok, I didn't checked the UBOOT settings. When I'm at home I'll check this.

@sundown

The startup-sequence has
Quote:
C:AddNetInterface QUIET DEVS:NetInterfaces/~(#?.info)

in it. But without
Quote:
Run >NIL:

in front of it, as far I can remember.

What difference does this make?

Your declaration of the delay sounds reasonable. Because it seems like OS4 adds the network connection at the end of startup, but the screen remains black until this is done. That's quite annoying. I don't mind waiting for a network connection after workbench is loaded. But that's my opinion.

@ssolie

I won't change the startup-sequence before I did some network investigation.
I hope to do this this evening.

_________________
µA1c OS4.1 (with a dead powersupply (powersupplied))
A500

 Status: Offline
Profile     Report this post  
thomas 
Re: 5 sec. boot delay with network enabled
Posted on 27-Mar-2007 13:20:37
#6 ]
Super Member
Joined: 28-May-2003
Posts: 1148
From: Germany

@Mopemen

The AddNetInterface command waits until the net interface has been added before it continues. That's your 5 seconds delay. The Run command moves the processing into the background. Every command started with Run is executed in the background and the script can continue in the meantime. The >NIL: sends Run's output into the trashcan. Otherwise a console window would open and a "process 2 created" message or something similar would be displayed.

Bye,
Thomas

_________________
Email: thomas-rapp@web.de
Home: thomas-rapp.homepage.t-online.de

 Status: Offline
Profile     Report this post  
Mopemen 
Re: 5 sec. boot delay with network enabled
Posted on 27-Mar-2007 14:03:03
#7 ]
Regular Member
Joined: 7-Feb-2005
Posts: 147
From: The Netherlands

@thomas

Ok, so if I add Run >NIL: in front of the
Quote:
C:AddNetInterface QUIET DEVS:NetInterfaces/~(#?.info)

command and I move this line to the beginning of the startup-sequence, the command will be executed while the rest of the startup-sequence is executed.

Sounds good, but I don't understand why this isn't the default setting in the OS4 final startup-sequence file.

I will try it later. Thanks for the explanation!

_________________
µA1c OS4.1 (with a dead powersupply (powersupplied))
A500

 Status: Offline
Profile     Report this post  
AmiDog 
Re: 5 sec. boot delay with network enabled
Posted on 27-Mar-2007 14:06:22
#8 ]
Cult Member
Joined: 1-Jun-2004
Posts: 917
From: Kumla, Sweden

@Mopemen

Don't move the line (as AddNetInterface may not like getting run before everything else), just add the run >NIL: part...

 Status: Offline
Profile     Report this post  
Mopemen 
Re: 5 sec. boot delay with network enabled
Posted on 27-Mar-2007 18:52:19
#9 ]
Regular Member
Joined: 7-Feb-2005
Posts: 147
From: The Netherlands

@all

Well, I used a sniffer (Ethereal 0.99) to do some network investigation this evening.
The network behaviour is normal, just like any other network-computer traffic.

I did 3 traces:
1. A1 with a static IP address and Wet loaded at WB startup.
2. like 1, but without Wet at WB startup.
3. A1 with a DHCP provided IP address (without Wet).

So, if somebody is interested in the sniffer files, let me know.

A funny thing to see is that the sniffer shows no network activity (except broadcast traffic of course) until the network interface is loaded.
This happens in the extended (approx. 5 secs) 'black screen'-moment before Workbench is fully loaded. Well, just as expected but still nice to see and understand how it works.

Let's edit the startup-sequence file.

To be continued....

_________________
µA1c OS4.1 (with a dead powersupply (powersupplied))
A500

 Status: Offline
Profile     Report this post  
Mopemen 
Re: 5 sec. boot delay with network enabled
Posted on 27-Mar-2007 19:35:23
#10 ]
Regular Member
Joined: 7-Feb-2005
Posts: 147
From: The Netherlands

Update

I edited the statrup-sequence and put the mentioned 'Run >NIL:'
before the AddNetInterface line.

Results?

The delay is gone!!
The boottime now back to normal:

Cold reboot: ~29 seconds
Warm reboot: ~9 seconds

Another step in understanding OS4.



@all
Thanks a lot for your help!!


Maurice

_________________
µA1c OS4.1 (with a dead powersupply (powersupplied))
A500

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: 5 sec. boot delay with network enabled
Posted on 27-Mar-2007 19:52:10
#11 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12931
From: Norway

@Mopemen

Just one more thing, if like to boost speed even more you can edit the kickstart layout file, remove all drivers you do not need for ATA controllers.

And also, you should disable all Unit you do not use on your ATA controller,
If you do not the ATA controllers will way for hard drives, until it times out and continues.

The CDROM and hard drive should be on different IDE cables, to limit any bandwidth problems.

CDROM = Master,
Harddrive = Secondary master.

And you can set all kinds of delays in uboot to 1, this will help as well.

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
Mopemen 
Re: 5 sec. boot delay with network enabled
Posted on 28-Mar-2007 6:58:00
#12 ]
Regular Member
Joined: 7-Feb-2005
Posts: 147
From: The Netherlands

@NutsAboutAmiga

Thanks, I might consider this for further tweaking.

At the moment the CDROM and HD are on the same IDE cable.
I know that it is not the prefered situation.
Burning data to DVD tooks ages.

The µA1c unfortunately have just one 40 pin and one 44 pin connector, so I bought an SATA controller and HD last month to seperate the CDROM and HD from each other.
Maybe it will speed things up. If it's not, bad luck. But a nice try after all.

Maurice

_________________
µA1c OS4.1 (with a dead powersupply (powersupplied))
A500

 Status: Offline
Profile     Report this post  
sundown 
Re: 5 sec. boot delay with network enabled
Posted on 28-Mar-2007 7:18:41
#13 ]
Elite Member
Joined: 30-Aug-2003
Posts: 5120
From: Right here...

@Mopemen

Quote:
The µA1c unfortunately have just one 40 pin and one 44 pin connector, so I bought an SATA controller and HD last month to seperate the CDROM and HD from each other.

Two things I want for my micro is a fast IDE controller card & a better gfx card. I'm not so sure any cards work in the micro yet except those with newer uboot firmware & only beta testers have it. Please let us know how you get on the the new card.

_________________
Hate tends to make you look stupid...

 Status: Offline
Profile     Report this post  
Mopemen 
Re: 5 sec. boot delay with network enabled
Posted on 28-Mar-2007 10:57:55
#14 ]
Regular Member
Joined: 7-Feb-2005
Posts: 147
From: The Netherlands

@sundown

I bought the SATA (SII 3112) controller at amigakit.com.
It comes with a install guide with all sorts of UBOOT voodoo commands.
I don't expect any trouble installing the card and HD. In theory.

At this moment I use FFS as a filesystem.
I'm going to try to install/enable SFS as a filesystem.
I am not confident about that...

But first things first.

_________________
µA1c OS4.1 (with a dead powersupply (powersupplied))
A500

 Status: Offline
Profile     Report this post  
sundown 
Re: 5 sec. boot delay with network enabled
Posted on 28-Mar-2007 18:05:24
#15 ]
Elite Member
Joined: 30-Aug-2003
Posts: 5120
From: Right here...

@Mopemen

Quote:
At this moment I use FFS as a filesystem. I'm going to try to install/enable SFS as a filesystem. I am not confident about that...

All my partitions are set to SFS, the speed difference is to great to go back to FFS. Start with 1 partition that you use a lot, back it up & make the change as you need to re-format. Like others, I'm sure you'll be amazed at the speedup.

_________________
Hate tends to make you look stupid...

 Status: Offline
Profile     Report this post  
ssolie 
Re: 5 sec. boot delay with network enabled
Posted on 28-Mar-2007 19:15:27
#16 ]
Elite Member
Joined: 10-Mar-2003
Posts: 2755
From: Alberta, Canada

@Mopemen
Quote:
So, if somebody is interested in the sniffer files, let me know.

Please send me a copy of the logs (ssolie at telus.net) so I can take a look at them.

Quote:
A funny thing to see is that the sniffer shows no network activity (except broadcast traffic of course) until the network interface is loaded.

The "AddNetInterface" command is actually two in one. It adds the network interface and it configures it at the same time unless told not to. The ConfigureNetInterface command is the one that really configures the network interface.

_________________
ExecSG Team Lead

 Status: Offline
Profile     Report this post  
RacerX 
Re: 5 sec. boot delay with network enabled
Posted on 30-Mar-2007 3:45:57
#17 ]
Super Member
Joined: 21-Aug-2003
Posts: 1158
From: Parts Unknown, USA

Is there a way to reduce the delay itself? It's about 6-9 seconds on my system.

_________________
'unfixed' A1XE, 512mb RAM, plug-in USB card, Sil 0680 IDE card, Radeon 9250, built-in sound, OS4.1 update 5.

 Status: Offline
Profile     Report this post  
RacerX 
Re: 5 sec. boot delay with network enabled
Posted on 3-Apr-2007 0:14:12
#18 ]
Super Member
Joined: 21-Aug-2003
Posts: 1158
From: Parts Unknown, USA

Or would it be feasible for UBoot to configure the Ethernet in the background while it's doing other things?

_________________
'unfixed' A1XE, 512mb RAM, plug-in USB card, Sil 0680 IDE card, Radeon 9250, built-in sound, OS4.1 update 5.

 Status: Offline
Profile     Report this post  
Mopemen 
Re: 5 sec. boot delay with network enabled
Posted on 3-Apr-2007 11:05:59
#19 ]
Regular Member
Joined: 7-Feb-2005
Posts: 147
From: The Netherlands

@RacerX

I don't think so.

There is not much network stuff to configure in Uboot AFAIK.
The only thing I saw is the networkboot (in combination with a TFTP server) option in the Uboot menu.

Like thomas and sundown explained in post #2 and #6, editing the startup-sequence will do the trick.

_________________
µA1c OS4.1 (with a dead powersupply (powersupplied))
A500

 Status: Offline
Profile     Report this post  
thomas 
Re: 5 sec. boot delay with network enabled
Posted on 3-Apr-2007 12:25:30
#20 ]
Super Member
Joined: 28-May-2003
Posts: 1148
From: Germany

@RacerX

Quote:
Is there a way to reduce the delay itself? It's about 6-9 seconds on my system.


Use static IP addresses (no DHCP). I have no delay at all.

Bye,
Thomas

_________________
Email: thomas-rapp@web.de
Home: thomas-rapp.homepage.t-online.de

 Status: Offline
Profile     Report this post  
Goto page ( 1 | 2 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle