]> pere.pagekite.me Git - homepage.git/commitdiff
New entry.
authorPetter Reinholdtsen <pere@hungry.com>
Thu, 6 May 2010 21:29:53 +0000 (21:29 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Thu, 6 May 2010 21:29:53 +0000 (21:29 +0000)
blog/data/2010-05-06-concurrent-boot.txt [new file with mode: 0644]

diff --git a/blog/data/2010-05-06-concurrent-boot.txt b/blog/data/2010-05-06-concurrent-boot.txt
new file mode 100644 (file)
index 0000000..2a1072f
--- /dev/null
@@ -0,0 +1,39 @@
+Title: Parallellizing the boot in Debian Squeeze - ready for wider testing
+Tags: english, debian
+Date: 2010-05-06 23:25
+
+<p>These days, the init.d script dependencies in Squeeze are quite
+complete, so complete that it is actually possible to run all the
+init.d scripts in parallell based on these dependencies.  If you want
+to test your Squeeze system, make sure
+<a href="http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot">dependency
+based boot sequencing</a> is enabled, and add this line to
+/etc/default/rcS:</p>
+
+<blockquote><pre>
+CONCURRENCY=makefile
+</pre></blockquote>
+
+<p>That is it.  It will cause sysv-rc to use the startpar tool to run
+scripts in parallel using the dependency information stored in
+/etc/init.d/.depend.boot, /etc/init.d/.depend.start and
+/etc/init.d/.depend.stop to order the scripts.  Startpar is configured
+to try to start the kdm and gdm scripts as early as possible, and will
+start the facilities required by kdm or gdm as early as possible to
+make this happen.</p>
+
+<p>Give it a try, and see if you like the result.  If some services
+fail to start properly, it is most likely because they have incomplete
+init.d script dependencies in their startup script (or some of their
+dependent scripts have incomplete dependencies).  Report bugs and get
+the package maintainers to fix it. :)</p>
+
+<p>Running scripts in parallel could be the default in Debian when we
+manage to get the init.d script dependencies complete and correct.  I
+expect we will get there in Squeeze+1, if we get manage to test and
+fix the remaining issues.</p>
+
+<p>If you report any problems with dependencies in init.d scripts to
+the BTS, please usertag the report to get it to show up at
+<a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=initscripts-ng-devel@lists.alioth.debian.org">the
+list of usertagged bugs related to this</a></p>