Shoveling snow

The snow-shoveling I’ve been taking part in over the last couple of weeks is best described with a set of graphs:

openSUSE boot time improvements on netbook

So far, we’ve been able to lop about 23 seconds - or 48% - off the time it takes to boot openSUSE 11.1 on this particular netbook, without sacrificing much in the way of functionality. It boots straight into GNOME and its usual trappings, including the panel, Nautilus, “slab” main menu, nm-applet, PackageKit updater, printing applet (written in Python…), CUPS, etc.

It’s important to note that this time is measured from the moment bootchart starts until everything settles and is ready to use, easily identified in the chart as the moment where CPU activity falls to the baseline of noise from bootchartd itself.

It’s also important to note that this is on a netbook with a slow CPU, slow-to-init X driver/graphics hardware and fast SSD I/O. I’m hearing a lot of numbers being bandied about these days, e.g. “distribution Foo boots in 10 seconds”, and these numbers are meaningless without hardware specifications and a list of features you get. GNOME delivers a different feature set from Xfce, and netbooks and workstations usually perform very differently. Then there are questions of flexibility; is the system open-ended? Can you get server features by just installing packages and configuring them?

IMO, openSUSE has had unacceptable boot times on workstations for a long time now. Hopefully these changes will make it into future releases, upstream where possible.

For more details, see the wiki page. Note that for various reasons I haven’t been able to keep the text up to date. The graphs are representative, though.

7 Comments

  1. Simon Says:

    To what extent is this work specific to the openSUSE boot process, versus changes to packages that all distros can benefit from?

  2. boergen Says:

    According to the latest graph, http://files.opensuse.org/opensuse/en/c/ce/Alt-20090213-4.png , it takes only 9 seconds until xdm starts up - compared to more than 20 seconds?
    That is great!
    But could you also test this with KDE?
    Keep on the good work!

  3. Hans Petter Jansson Says:

    Simon: I’d say it’s about 50-50 between openSUSE-specific and universal. There’s an upstreamability gradient going from “fixing and reordering our RC scripts”, which is clearly openSUSE-specific, to “make GConf load XML faster, and make there be less XML to parse in the common case” (courtesy of the inimitable Mr. Meeks), which can go all the way upstream. In between, there are ideas that can be re-used in other distros, but that aren’t clean or general enough for upstream packagers.

  4. Hans Petter Jansson Says:

    boergen: Thanks. KDE is not my area of expertise, so I’m not working on that, but I suspect that the KDE guys at Novell are looking into their desktop. This is a team effort, so improvements are being made all over the operating system.

  5. Simon Says:

    Ok, that’s good to hear, then.

  6. mbs Says:

    ooh, that’s satisfying.

  7. el adlair Says:

    Oh! that sounds good. Cheers! and wellcome back!

Leave a Reply

Please copy the string v8FBDm to the field below: