Booting Debian in 14 Seconds | Linux Today

Booting Debian in 14 Seconds

Written By
Web Webster
Web Webster
Nov 12, 2008

“Instrumenting the boot process

“Your first step should be to measure how the time is currently
being spent while your machine boots. Then optimise the slow bits,
and don’t worry about the bits that are already fast.

“A couple of tools are available for measuring the time taken
during boot and visualising the results. I suggest that you install
these tools first and save their results somewhere safe: I have not
done so, and so I can no longer show you how slowly my machine
booted before I started fixing it, which is a shame The total time
was, IIRC, 33 seconds from the end of Grub to the xdm login dialog
being visible; I’ve knocked 19 seconds off that.

bootchart
“bootchart is available as a Debian package. Install it and boot
with “init=/sbin/bootchartd” added to the kernel command line. (In
Grub, select the kernel using the cursor keys, press e, select the
line with the kernel command line, press e, edit, press return, and
then press b.) Then run the bootchart utility which reads the log
written during boot and creates an SVG graph. You can view the
resulting file using most web browsers, or you can try “see” which
will probably launch inkscape.

“The bootchart will show you which processes took the most time,
and you can also see how much time was spent waiting for I/O and
how much time was CPU-limited. If the results don’t seem to make
much sense, try running bootchart with its -n option; this makes
the results more verbose.”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.