Fedora Linux Support Community & Resources Center
  #1  
Old 13th September 2004, 04:39 AM
paxromana Offline
Registered User
 
Join Date: Sep 2004
Posts: 46
Question 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
Reply With Quote
  #2  
Old 13th September 2004, 10:26 PM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 28
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.
Reply With Quote
  #3  
Old 14th September 2004, 07:50 AM
paxromana Offline
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
Reply With Quote
  #4  
Old 14th September 2004, 08:06 AM
imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 46
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
__________________
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills :D
Reply With Quote
  #5  
Old 14th September 2004, 10:44 AM
paxromana Offline
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?
Reply With Quote
  #6  
Old 14th September 2004, 11:49 PM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 28
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.
Reply With Quote
  #7  
Old 15th September 2004, 02:43 AM
paxromana Offline
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
Reply With Quote
  #8  
Old 15th September 2004, 07:50 AM
imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 46
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.
__________________
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills :D
Reply With Quote
  #9  
Old 16th September 2004, 09:45 PM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 28
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.
Reply With Quote
  #10  
Old 17th September 2004, 12:09 AM
paxromana Offline
Registered User
 
Join Date: Sep 2004
Posts: 46
thanks

thanks i will keep up to date
Reply With Quote
Reply

Tags
parallel, services, starting

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
httpd services not starting in fedora 11 suryakiran13 Using Fedora 6 7th September 2009 08:08 AM
Starting services in screenie at boot seabird Servers & Networking 1 2nd April 2009 09:26 AM
GUI for starting/stopping Services has disappeared! Hidalgo Using Fedora 3 12th April 2008 12:34 AM
FC4 trouble starting services D@ Mick Servers & Networking 0 9th December 2005 10:47 AM
Make services start parallel to each other JohnUdo Using Fedora 2 3rd March 2005 03:58 AM


Current GMT-time: 16:48 (Friday, 24-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Yelabuga Instagram Photos - Dasha - Dalnegorsk