Slashdot Log In
Boot Process Visualization
Posted by
timothy
on Wed Dec 15, 2004 02:51 PM
from the what-in-what-order dept.
from the what-in-what-order dept.
zigam writes "The time needed to boot desktop Linux systems is becoming an issue. That's why I recently took the challenge posted by Red Hat's Owen Taylor on the Fedora developers list and came up with a tool for visualization of the boot process. It collects performance data during the boot up and then renders an SVG or PNG performance chart. It immediately helped Red Hat developers solve some issues and I have since received boot charts from other GNU/Linux developers as well. Solaris kernel developers reported success in improving their boot process too." Update: 12/15 20:04 GMT by T : Sorry, someone decided your time was worth wasting; no more mirrored bootchart.
Related Stories
[+]
Hardware: PC Makers Try To Pinch Seconds From Their Boot Times 244 comments
Some computers are never turned off, or at least rarely see any state less active than "standby," but others (for power savings or other reasons) need rebooting — daily, or even more often. The New York Times is running a short article which says that it's not just a few makers like Asus who are trying to take away some of the pain of waiting for computers, especially laptops, to boot up. While it's always been a minor annoyance to wait while a computer slowly grinds itself to readiness, "the agitation seems more intense than in the pre-Internet days," and manufacturers are actively trying to cut that wait down to a more bearable length. How bearable? A "very good system is one that boots in under 15 seconds," according to a Microsoft blog cited, and an HP source names an 18-month goal of 20-30 seconds.
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.

IIS? (Score:5, Funny)
Re:IIS? (Score:4, Funny)
Parent
Re:IIS? (Score:5, Informative)
Here are some pictures that are not slashdotted yet: one [redhat.com], two [redhat.com], three [redhat.com].
They are taken from here [redhat.com].
Parent
Re:IIS? (Score:5, Funny)
Parent
Mirror? (Score:4, Funny)
OTOH, it *is* IIS, it could die if you blink at it the wrong way. :)
Re:Mirror? (Score:5, Informative)
Parent
Re:Mirror? (Score:5, Informative)
bootchart.sourceforge.net [sourceforge.net]
Parent
Re:Mirror? (Score:4, Funny)
*blinks furiously*
Parent
Reboot visualization (Score:5, Funny)
Re:Reboot visualization (Score:5, Funny)
Oh, wait, are we talking about the same thing here?
Parent
For starters.. (Score:4, Interesting)
On another note, I'd like to see other distros do what Red Hat is doing to Fedora's boot screen: Using X resolutions for the startup. Damn, that looks nice! Thought it would be even nicer if the pointless resolution change between bootup and main X server startup was eliminated (it's usually the same res anyway).
Re:For starters.. (Score:5, Insightful)
(* IMHO.. If I'm wrong.. I'm sure you'll let me know..)
Parent
Re:For starters.. (Score:5, Informative)
Parent
heh (Score:5, Funny)
Linux ===============
BSD ========
it's easy to speed up boot (Score:5, Interesting)
like so:
$i start&
I have been berated a coupdl times in online forum because 'some services might need it to start properly', but I have never noticed any ill effects. My machines now boots in about 6 seconds
Re:it's easy to speed up boot (Score:5, Insightful)
Parent
Re:it's easy to speed up boot (Score:5, Insightful)
Still, it's a nice thing to experiment with for people who run Linux in situations where reboots are common, laptops for instance. It's also useful if you are running something like Nessus as a daemon which takes an *age* to initialise itself and obviously has no dependencies. A better solution would be to have an additional prefix on certain init scripts - "P" for "parallel" - to tell INIT that they can safely be started in the background, something that a couple of commercial Unicies do.
Parent
Tried with the IBM enhancements? (Score:5, Interesting)
IBM has published a paper on speeding up the boot process using something like a make to launch things in parallel that are not dependent on each other.
Re:Tried with the IBM enhancements? (Score:5, Interesting)
XP not only boots processes in parallel - it monitors which sectors of the disk are read during bootup, moves them around so they all sit in order in the same place on the disk as a background process, and prefetches the whole damn thing during subsequent bootups.
It also does the same thing for application launches - you start an app, it profiles what is read from disk, reorders it, and prefetches it when you run the app again later.
Parent
Quick Link (Score:5, Informative)
http://people.redhat.com/davidz/bootchart.png.
server vs workstation (Score:5, Interesting)
On my machine, a bunch of random (but useful) things are fired up sequentially, before the prompt appears. Some things are used rarely/not at all, but they're still started. I dont want to disable them, but I dont want to wait for them either. Apache. MySQL. Privoxy.
Why doesnt inetd start all these things? Apache would get started on first use. Likewise with the other services -- I pay for the startup (once) when I want to use them.
On a server, it'll be up for forever so starting everything on boot makes sense. For a workstation, the system should be usable as fast as possible; the rest of the services can just as well wait until later.
Boot times *are* important (Score:5, Insightful)
Most people turn off their computer when they are not using it, and actually turn it on when they need it. For the average computer user, boot times mean quite a bit more since they see it more. Don't be ignorant and think that just because it means little to you, it is unimportant to improve.
Hahahah (Score:5, Funny)
Have you actually bothered to check that link? It made me spit my Coke in laughter.
Re:Bah. (Score:5, Insightful)
Some of us shut our computers off. Not every linux PC is a 24/7 server. People own laptops, shut down desktops when not in use, etc. Plus theres linux' ever-growing embedded segment. Your TiVo never gets shut off? How important is boot-time to a device like TiVo or Zaurus?
# Boot time doesn't have to be an arduous wait. Yes, on out-of-the-box distros it can be incredible, but I blame the distro, not Linux.
Yes, distros are poorly configured, and the userbase is largely stupid. Noone talks about runlevels anymore. Put "basic stuff you need to get the user going" on a lower runlevel, and "more advanced gitchy bullshit like AIM etc" on a higher runlevel. Most linux distros behave by default the way a spyware infected win98 box does, making the user wait while it starts umpteen zillion fringe services.
# If you choose to not fiddle, then you choose to have boot times that are increasing. It takes time to autoprobe everything correctly and get it set up if you're too lazy to do it yourself. Windows does it from the perspective of 'throw everything in there and take up gadzillions of RAM'. Linux says, 'I'll autosetup everything but still keep you lean'. You pay for what you get, folks.
Pure "M$ sucks rolF!" bullshit from the clueless. Windows runs a microkernel, Linux runs a monolithic kernel. They work differently. Windows loads the drivers it knows it needs (the installed ones) at boot time, linux pages the crap in and out of the kernel itself.
This is the quickest part of the boot, really. Delays come when you have dhcpcd timing out while looking for a DHCP server that doesn't exist but yet for some reason runs by default even if you have a statically configured address. Or your waiting for privoxy to load and parse its blacklists, or for squid to primp and preen its caches, etc..
# People who run IIS and then subject it to a
Most sites that stand up to a
It has more to do with being able to afford bandwidth than some magical uberneat0 perl script you found on efnet.
Parent
Re:an issue is it??? (Score:5, Insightful)
Yeah. My desire to cut my electric bill in half is "stupid." My desire to increase my energy efficiency is "stupid." Attempting to be environmentally responsible is "stupid."
Unless you need your computer to be running 24/7, leaving it on is a tremendous waste of energy, and I think it's unethical. You're an ass.
Parent