+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>Petter Reinholdtsen: Debian boots quicker and quicker</title>
+ <link rel="stylesheet" type="text/css" media="screen" href="style.css">
+ </head>
+ <body>
+
+ <div class="title">
+ <h1>
+ <a href="">Petter Reinholdtsen</a>
+
+ </h1>
+
+ </div>
+
+
+ <div class="entry">
+ <div class="title">Debian boots quicker and quicker</div>
+ <div class="date">2009-06-24 21:40</div>
+ <div class="body">
+<p>I spent Monday and tuesday this week in London with a lot of the
+people involved in the boot system on Debian and Ubuntu, to see if we
+could find more ways to speed up the boot system. This was an Ubuntu
+funded
+<a href="https://wiki.ubuntu.com/FoundationsTeam/BootPerformance/DebianUbuntuSprint">developer
+gathering</a>. It was quite productive. We also discussed the future
+of boot systems, and ways to handle the increasing number of boot
+issues introduced by the Linux kernel becoming more and more
+asynchronous and event base. The Ubuntu approach using udev and
+upstart might be a good way forward. Time will show.</p>
+
+<p>Anyway, there are a few ways at the moment to speed up the boot
+process in Debian. All of these should be applied to get a quick
+boot:</p>
+
+<ul>
+
+<li>Use dash as /bin/sh.</li>
+
+<li>Disable the init.d/hwclock*.sh scripts and make sure the hardware
+ clock is in UTC.</li>
+
+<li>Install and activate the insserv package to enable
+ <a href="http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot">dependency
+ based boot sequencing</a>, and enable concurrent booting.</li>
+
+</ul>
+
+These points are based on the Google summer of code work done by
+<a href="http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/">Carlos
+Villegas</a>.
+
+<p>Support for makefile-style concurrency during boot was uploaded to
+unstable yesterday. When we tested it, we were able to cut 6 seconds
+from the boot sequence. It depend on very correct dependency
+declaration in all init.d scripts, so I expect us to find edge cases
+where the dependences in some scripts are slightly wrong when we start
+using this.</p>
+
+<p>On our IRC channel for this effort, #pkg-sysvinit, a new idea was
+introduced by Raphael Geissert today, one that could affect the
+startup speed as well. Instead of starting some scripts concurrently
+from rcS.d/ and another set of scripts from rc2.d/, it would be
+possible to run a of them in the same process. A quick way to test
+this would be to enable insserv and run 'mv /etc/rc2.d/S* /etc/rcS.d/;
+insserv'. Will need to test if that work. :)</p>
+</div>
+
+ <div class="tags">Tags: <a href="tags/debian">debian</a>, <a href="tags/english">english</a>.</div>
+
+ </div>
+
+
+
+
+
+
+<div id="sidebar">
+
+<h2>Archive</h2>
+<ul>
+
+<li>2009
+<ul>
+
+<li><a href="archive/2009/01/">January (8)</a></li>
+
+<li><a href="archive/2009/02/">February (8)</a></li>
+
+<li><a href="archive/2009/03/">March (12)</a></li>
+
+<li><a href="archive/2009/04/">April (10)</a></li>
+
+<li><a href="archive/2009/05/">May (9)</a></li>
+
+<li><a href="archive/2009/06/">June (2)</a></li>
+
+</ul></li>
+
+<li>2008
+<ul>
+
+<li><a href="archive/2008/11/">November (5)</a></li>
+
+<li><a href="archive/2008/12/">December (7)</a></li>
+
+</ul></li>
+
+</ul>
+
+
+
+<h2>Tags</h2>
+<ul>
+
+ <li><a href="tags/3d-printer">3d-printer (11)</a></li>
+
+ <li><a href="tags/amiga">amiga (1)</a></li>
+
+ <li><a href="tags/aros">aros (1)</a></li>
+
+ <li><a href="tags/debian">debian (12)</a></li>
+
+ <li><a href="tags/debian edu">debian edu (7)</a></li>
+
+ <li><a href="tags/english">english (13)</a></li>
+
+ <li><a href="tags/fiksgatami">fiksgatami (1)</a></li>
+
+ <li><a href="tags/fildeling">fildeling (3)</a></li>
+
+ <li><a href="tags/lenker">lenker (1)</a></li>
+
+ <li><a href="tags/ltsp">ltsp (1)</a></li>
+
+ <li><a href="tags/multimedia">multimedia (2)</a></li>
+
+ <li><a href="tags/norsk">norsk (48)</a></li>
+
+ <li><a href="tags/nuug">nuug (47)</a></li>
+
+ <li><a href="tags/opphavsrett">opphavsrett (4)</a></li>
+
+ <li><a href="tags/personvern">personvern (8)</a></li>
+
+ <li><a href="tags/reprap">reprap (10)</a></li>
+
+ <li><a href="tags/rss">rss (1)</a></li>
+
+ <li><a href="tags/sikkerhet">sikkerhet (2)</a></li>
+
+ <li><a href="tags/standard">standard (4)</a></li>
+
+ <li><a href="tags/stavekontroll">stavekontroll (1)</a></li>
+
+ <li><a href="tags/video">video (6)</a></li>
+
+ <li><a href="tags/vitenskap">vitenskap (1)</a></li>
+
+ <li><a href="tags/web">web (4)</a></li>
+
+</ul>
+
+</div>
+ </body>
+</html>