Slashdot Mirror


How To Speed Up Linux Booting

An anonymous reader writes "A common complaint about Linux is the amount of time the operating system takes to start. Like Linux itself, there are plenty of options and lots of flexibility for boot-time optimization. From dependency-based solutions like initng to event-based solutions like upstart, there's an optimization solution that should fit your needs. Using the bootchart package, you can dig in further to understand where your system is spending its boot time to optimize even more."

5 of 301 comments (clear)

  1. Fixed in Gentoo by Wonko+the+Sane · · Score: 5, Informative

    in /etc/conf.d/rc:

    rc_parallel_startup="yes"

    (actually that should be in caps, but the lameness filter doesn't like it)

  2. Ubuntu already uses Upstart by wile_e_wonka · · Score: 4, Informative

    When I went out to take advantage of the article's suggestions, I found that, according to this thread in the Ubuntu Forums that Ubuntu 6.10 already uses Upstart.

    I did used the "profile" command in my bootup once, after reading about it in another article recently. So I guess my Ubuntu is booting about as fast as it can (unless I have useless processes starting up. I'm still trying to figure that out--I'm a noobie).

  3. Re:Customize the Bootscript, Trim the Fat by Wonko+the+Sane · · Score: 4, Informative

    You can fix those yourself. For any service in /etc/init.d you can put a file of the same name in /etc/conf.d. Among other things, that file can list dependencies.

    DEPEND="foo bar"

  4. Re:An Uninformed Question by Goaway · · Score: 4, Informative

    Comparing fresh Linux and XP and OS X installs, Linux is by far the slowest to boot. If your school's XP installs boot slowly, they are probably doing a lot of work like transferring lots of data over a slow network connection.

  5. Re:Boot time not an issue. by Columcille · · Score: 5, Informative

    suspend to disk = hibernate, suspend to ram = sleep. Sleep uses the battery, hibernate doesn't. Granted sleep mode doesn't use much, but it isn't altogether negligible. If you don't want to use any power while moving around, hibernate is the way to go. Perhaps that's his scenario.

    --
    I love my sig.