 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

13th September 2004, 04:39 AM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 46

|
|
starting services in parallel
hello im a linux newbie and i want my boot up time to go much faster
i read the article from ibm developer works about starting services in parallel but im having a hard time finding service dependencies
if anyone has experience with this can they give me a link to a good resource ive looked all over and havent found anything.
thanks
|

13th September 2004, 10:26 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909

|
|
The article mentioned is here.
So far it remains mostly a concept, but there is an example Red Hat implementation. (Which is really a cool make hack.) I have opened a bug here.
This requires quite a bit of insight into the service boot process that I don't have. I know for example that the firewall should start before the networking. After networking you can start the web server, Samba shares, etc.
I also doubt starting two services that take five seconds each will finish in five seconds in parallel, although there will be a speed increase. This will really help for stuff that times out, like when some server whose share you need to mount is down. With this method you can do other boot stuff while that happens.
|

14th September 2004, 07:50 AM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 46

|
|
|
your boot time, script
how fast does your system boot, can i take a look at your script, if you dont mind.
thanks
|

14th September 2004, 08:06 AM
|
 |
Registered User
|
|
Join Date: Feb 2004
Age: 44
Posts: 8,256

|
|
|
your boot up time may take longer specially if you assigned a dsl connection to take effect and what are the specs of your pc?
by boot up time is about 45-90 secs
|

14th September 2004, 10:44 AM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 46

|
|
|
specs and current boot services
2.08 ghz AMD
512 RAM
128 NVidia Video Card
this the current runlevel 5 script
K01yum
K03rhnsd
K05saslauthd
K10cups
K10dc_server
K10psacct
K12dc_client
K12mysqld
K15httpd
K20nfs
K24irda
K25squid
K35vncserver
K40smartd
K50netdump
K50snmpd
K50snmptrapd
K50tux
K56acpid
K70aep1000
K70bcm5820
K74apmd
K87irqbalance
K89netplugd
K91isdn
K92iptables
K96pcmcia
K99cpuspeed
K99microcode_ctl
S04readahead_early
S05kudzu
S10network
S12syslog
S13portmap
S14nfslock
S18rpcgssd
S19rpcidmapd
S19rpcsvcgssd
S20random
S25netfs
S28autofs
S55sshd
S56rawdevices
S56xinetd
S58ntpd
S80sendmail
S85gpm
S90crond
S90xfs
S91smb
S95anacron
S95atd
S96readahead
S97messagebus
S99local
S99mdmonitor
S99mdmpd
everything loads pretty fast except the network conections part, that loads the slowest. if i could somehow figure out dependencies i would fix it.
any ideas?
|

14th September 2004, 11:49 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909

|
|
|
The problem is that so many things depend on the network.
Do you use DHCP to automatically get an IP address? That may slow down your network connect.
To be honest you probably will spend more time figuring it out than you will save. Although you will learn a lot about the boot process.
|

15th September 2004, 02:43 AM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 46

|
|
|
i use dhcp but im gonna go home and see if i can specify specific IP address see how that goes
do you know anywhere where they list dependencies?
if i dig trough theyre code i might find some clues, when i have some time i will do that
thanks
|

15th September 2004, 07:50 AM
|
 |
Registered User
|
|
Join Date: Feb 2004
Age: 44
Posts: 8,256

|
|
Quote:
|
Originally Posted by Jman
The problem is that so many things depend on the network.
Do you use DHCP to automatically get an IP address? That may slow down your network connect.
To be honest you probably will spend more time figuring it out than you will save. Although you will learn a lot about the boot process.
|
this is true....i agree with Jman.
|

16th September 2004, 09:45 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909

|
|
There's no dependencies like there are for installing rpms. You only get a rough order based on the number in front of the script.
The bug to follow for this issue is here.
|

17th September 2004, 12:09 AM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 46

|
|
|
thanks
thanks i will keep up to date
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 23:41 (Tuesday, 21-05-2013)
|
|
 |
 |
 |
 |
|
|