Find the answer to your Linux question:
Page 1 of 4 1 2 3 4 LastLast
Results 1 to 10 of 32
I recently posted in a thread were someone brought up the booting time of Linux. I assumed it would 'always' be slow (i.e. with present linuxes) but some people explained ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429

    Make Linux boot faster.


    I recently posted in a thread were someone brought up the booting time of Linux. I assumed it would 'always' be slow (i.e. with present linuxes) but some people explained me that wasn't the case. So what I would like to see put together here is tips, tricks and tweaks y'all guys have to speed up your Linux boot. I for one disabled hardware discovery services, and lots of daemons I don't need, or ever will use.

    So I have two things.
    - disable discovery service (is this a daemon too btw?)
    - disable unused daemons

    I hope we can make this list waaaay longer . Thanks in advance for your input.
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  2. #2
    Linux User truoc444's Avatar
    Join Date
    Aug 2005
    Location
    Southern Roots, Stuck in the Mountains
    Posts
    348
    use DSL on a 3 GHz+ machine. it'll boot really fast.
    Desktop: Dual Xeon 2.8 GHz 1.5 GB RAM Ubuntu/XP Pro
    Laptop: Macbook 2 GHz C2Duo 3 GB RAM OS X/ Ubuntu/ XP Pro
    Linux Registration #396559

    Go 'Stros!

  3. #3
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    Sorry man but I'd like some serious input... I am running a fairly minimal Slackware-based distro (400 MB ISO) on 1.5 Ghz and higher systems, with 200 Mhz FSB (Athlon Xp's). So the distro itself is not the issue here.

    If anyone might suggest recompiling the kernel, I'd like to know why, and what are the options that might gain you considerable time . I once optimized my kernel for K7 but honestly didn't notice much of it.
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    personally compile your own kernel, you will improve your boot time to about 10% of what it used to be...now that is fast...
    Operating System: GNU Emacs

  6. #5
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    I'll do that again and time it . Are there other possibilities?
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  7. #6
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    disable every single thing that you don't need support for...I got fc4 booting as fast as I ever had a stage 1 gentoo boot, well within a few seconds anyway...
    Operating System: GNU Emacs

  8. #7
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    Hotplug and udev are required right? I plug in USB-stick & HD's once in a while. Right now I have this when I do # service list:
    root[stijn]# service list
    acpid : [on]
    alsa : [on]
    cups : [on]
    discover : [off]
    gpm : [on]
    hotplug : [on]
    howl : [on]
    inetd : [on]
    ip_forward : [off]
    modules : [on]
    netfilter : [on]
    nfsd : [on]
    pcmcia : [off]
    portmap : [off]
    postinstall : [off]
    serial : [off]
    sshd : [off]
    syslog : [on]
    sysvinit : [on]
    udev : [on]
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  9. #8
    Linux Engineer psic's Avatar
    Join Date
    Nov 2004
    Location
    Ljubljana, Slovenia
    Posts
    1,205

    Re: Make Linux boot faster.

    Quote Originally Posted by borromini
    I for one disabled hardware discovery services, and lots of daemons I don't need, or ever will use.

    So I have two things.
    - disable discovery service (is this a daemon too btw?)
    - disable unused daemons

    I hope we can make this list waaaay longer . Thanks in advance for your input.
    A light GUI can speed things up. Not the boot up itself, but on my laptop (which is a bit older), KDE takes over 15 seconds to start (from the login to a usable desktop), Xfce a bit over 5, Enlightenment about 3.

    One question, though: how do you disable unused daemons? Go through the /etc/rcX.d directories and toss out anything which you don't need (cups comes to mind, as I use a laptop)?

    edit: I might also mention a program I've heard of, bootchart, which visually shows you the boot up sequence so you can see what is taking a long time etc. Never used it, though.
    Stumbling around the 'net:
    www.cloudyuseful.com

  10. #9
    Banned
    Join Date
    Jul 2004
    Posts
    947
    my gentoo install is quite fast
    just coz it has what i need, not what any given company decides i need runniong

    so my advice is...\
    gentoo or lfs

  11. #10
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    You just disable a daemon by disabling the x bit: # chmod 666 /etc/rc.d/rc.hotplug for example. I have a Slackware-style system, but Zenwalk has a 'service' command. Then you just do # service disable [servicename] to disable the service.

    As for a good GUI: I already have Xfce . And I like it very much. One of my main reasons to switch from KDE was actually speed & responsiveness...

    As for distro: I'd like to stick to this one . So what I'm looking for is distro- & DE/Wm-independent tips to startup linux faster . Untill you get to the GUI that's loading, that is.

    @ the guy dressed in black: I mentioned before I'm not wanting to switch distro's . Thanks for the input anyway.
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

Page 1 of 4 1 2 3 4 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •