+
Debian boots quicker and quicker
+
2009-06-24 21:40
+
+
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
+developer
+gathering. 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.
+
+
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:
+
+
+
+- Use dash as /bin/sh.
+
+- Disable the init.d/hwclock*.sh scripts and make sure the hardware
+ clock is in UTC.
+
+- Install and activate the insserv package to enable
+ dependency
+ based boot sequencing, and enable concurrent booting.
+
+
+
+These points are based on the Google summer of code work done by
+
Carlos
+Villegas.
+
+
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.
+
+
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. :)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/blog/Det_vanskelige_Lisensvalget___ikke_lag_din_egen.html b/blog/Det_vanskelige_Lisensvalget___ikke_lag_din_egen.html
index 4dfd4de28c..2a84c08a19 100644
--- a/blog/Det_vanskelige_Lisensvalget___ikke_lag_din_egen.html
+++ b/blog/Det_vanskelige_Lisensvalget___ikke_lag_din_egen.html
@@ -145,7 +145,7 @@ og endrer på betingelsene.
+
+
+ 2009-06-24 21:40
+
+
+
+
+
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
+developer
+gathering. 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.
+
+
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:
+
+
+
+- Use dash as /bin/sh.
+
+- Disable the init.d/hwclock*.sh scripts and make sure the hardware
+ clock is in UTC.
+
+- Install and activate the insserv package to enable
+ dependency
+ based boot sequencing, and enable concurrent booting.
+
+
+
+These points are based on the Google summer of code work done by
+
Carlos
+Villegas.
+
+
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.
+
+
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. :)
+
+
+
@@ -759,7 +827,7 @@ surrounded by today.
May (9)
-
June (1)
+
June (2)
@@ -785,11 +853,11 @@ surrounded by today.
aros (1)
-
debian (11)
+
debian (12)
debian edu (7)
-
english (12)
+
english (13)
fiksgatami (1)
diff --git a/blog/tags/fiksgatami/index.html b/blog/tags/fiksgatami/index.html
index 620cf4dbac..ee9aad2e81 100644
--- a/blog/tags/fiksgatami/index.html
+++ b/blog/tags/fiksgatami/index.html
@@ -84,7 +84,7 @@ med dem. Dette blir bra.
May (9)
-
June (1)
+
June (2)
@@ -110,11 +110,11 @@ med dem. Dette blir bra.
aros (1)
-
debian (11)
+
debian (12)
debian edu (7)
-
english (12)
+
english (13)
fiksgatami (1)
diff --git a/blog/tags/fildeling/index.html b/blog/tags/fildeling/index.html
index 255112db5e..802dcb4f89 100644
--- a/blog/tags/fildeling/index.html
+++ b/blog/tags/fildeling/index.html
@@ -179,7 +179,7 @@ på Slashdot.
May (9)
-
June (1)
+
June (2)
@@ -205,11 +205,11 @@ på Slashdot.
aros (1)
-
debian (11)
+
debian (12)
debian edu (7)
-
english (12)
+
english (13)
fiksgatami (1)
diff --git a/blog/tags/lenker/index.html b/blog/tags/lenker/index.html
index d0d48cb764..b14aaf419b 100644
--- a/blog/tags/lenker/index.html
+++ b/blog/tags/lenker/index.html
@@ -84,7 +84,7 @@ Word 2007 håndterer ODF dårlig
May (9)
-
June (1)
+
June (2)
@@ -110,11 +110,11 @@ Word 2007 håndterer ODF dårlig
aros (1)
-
debian (11)
+
debian (12)
debian edu (7)
-
english (12)
+
english (13)
fiksgatami (1)
diff --git a/blog/tags/ltsp/index.html b/blog/tags/ltsp/index.html
index 5ecd8166c7..4673058700 100644
--- a/blog/tags/ltsp/index.html
+++ b/blog/tags/ltsp/index.html
@@ -80,7 +80,7 @@ of these cards.
May (9)
-
June (1)
+
June (2)
@@ -106,11 +106,11 @@ of these cards.
aros (1)
-
debian (11)
+
debian (12)
debian edu (7)
-
english (12)
+
english (13)
fiksgatami (1)
diff --git a/blog/tags/multimedia/index.html b/blog/tags/multimedia/index.html
index 592692ed0a..47e110b285 100644
--- a/blog/tags/multimedia/index.html
+++ b/blog/tags/multimedia/index.html
@@ -148,7 +148,7 @@ sure hope it was using the announced Ogg Theora support. :)
May (9)
-
June (1)
+
June (2)
@@ -174,11 +174,11 @@ sure hope it was using the announced Ogg Theora support. :)
aros (1)
-
debian (11)
+
debian (12)
debian edu (7)
-
english (12)
+
english (13)
fiksgatami (1)
diff --git a/blog/tags/norsk/index.html b/blog/tags/norsk/index.html
index f7f57804ae..a56cd71f10 100644
--- a/blog/tags/norsk/index.html
+++ b/blog/tags/norsk/index.html
@@ -2419,7 +2419,7 @@ inneholdt i Iran hvis de ikke hadde hemmelige valg?
May (9)
-
June (1)
+
June (2)
@@ -2445,11 +2445,11 @@ inneholdt i Iran hvis de ikke hadde hemmelige valg?
aros (1)
-
debian (11)
+
debian (12)
debian edu (7)
-
english (12)
+
english (13)
fiksgatami (1)
diff --git a/blog/tags/nuug/index.html b/blog/tags/nuug/index.html
index 49e7333098..56d7483ac0 100644
--- a/blog/tags/nuug/index.html
+++ b/blog/tags/nuug/index.html
@@ -2509,7 +2509,7 @@ inneholdt i Iran hvis de ikke hadde hemmelige valg?
May (9)
-
June (1)
+
June (2)
@@ -2535,11 +2535,11 @@ inneholdt i Iran hvis de ikke hadde hemmelige valg?
aros (1)
-
debian (11)
+
debian (12)
debian edu (7)
-
english (12)
+
english (13)
fiksgatami (1)
diff --git a/blog/tags/opphavsrett/index.html b/blog/tags/opphavsrett/index.html
index 9805e3224f..9cca115772 100644
--- a/blog/tags/opphavsrett/index.html
+++ b/blog/tags/opphavsrett/index.html
@@ -220,7 +220,7 @@ på Slashdot.
May (9)
-
June (1)
+
June (2)
@@ -246,11 +246,11 @@ på Slashdot.
aros (1)
-
debian (11)
+
debian (12)
debian edu (7)
-
english (12)
+
english (13)
fiksgatami (1)
diff --git a/blog/tags/personvern/index.html b/blog/tags/personvern/index.html
index cbe247ec38..31e8d03024 100644
--- a/blog/tags/personvern/index.html
+++ b/blog/tags/personvern/index.html
@@ -399,7 +399,7 @@ inneholdt i Iran hvis de ikke hadde hemmelige valg?
May (9)
-
June (1)
+
June (2)
@@ -425,11 +425,11 @@ inneholdt i Iran hvis de ikke hadde hemmelige valg?
aros (1)
-
debian (11)
+
debian (12)
debian edu (7)
-
english (12)
+
english (13)
fiksgatami (1)
diff --git a/blog/tags/reprap/index.html b/blog/tags/reprap/index.html
index fb88bcb649..8326f1a88a 100644
--- a/blog/tags/reprap/index.html
+++ b/blog/tags/reprap/index.html
@@ -521,7 +521,7 @@ kommer til å bruke denne plasttypen som håndterer temperaturer mellom
May (9)
-
June (1)
+
June (2)
@@ -547,11 +547,11 @@ kommer til å bruke denne plasttypen som håndterer temperaturer mellom
aros (1)
-
debian (11)
+
debian (12)
debian edu (7)
-
english (12)
+
english (13)
fiksgatami (1)
diff --git a/blog/tags/rss/index.html b/blog/tags/rss/index.html
index 41af2ef0f5..472b8d8c5e 100644
--- a/blog/tags/rss/index.html
+++ b/blog/tags/rss/index.html
@@ -69,7 +69,7 @@ forsøk.
May (9)
-
June (1)
+
June (2)
@@ -95,11 +95,11 @@ forsøk.
aros (1)
-
debian (11)
+
debian (12)
debian edu (7)
-
english (12)
+
english (13)
fiksgatami (1)
diff --git a/blog/tags/sikkerhet/index.html b/blog/tags/sikkerhet/index.html
index b11064b4ff..dbe26b4311 100644
--- a/blog/tags/sikkerhet/index.html
+++ b/blog/tags/sikkerhet/index.html
@@ -146,7 +146,7 @@ inneholdt i Iran hvis de ikke hadde hemmelige valg?
May (9)
-
June (1)
+
June (2)
@@ -172,11 +172,11 @@ inneholdt i Iran hvis de ikke hadde hemmelige valg?
aros (1)
-
debian (11)
+
debian (12)
debian edu (7)
-
english (12)
+
english (13)
fiksgatami (1)
diff --git a/blog/tags/standard/index.html b/blog/tags/standard/index.html
index 9521179214..e21af9d192 100644
--- a/blog/tags/standard/index.html
+++ b/blog/tags/standard/index.html
@@ -296,7 +296,7 @@ bidrar positivt.
May (9)
-
June (1)
+
June (2)
@@ -322,11 +322,11 @@ bidrar positivt.
aros (1)
-
debian (11)
+
debian (12)
debian edu (7)
-
english (12)
+
english (13)
fiksgatami (1)
diff --git a/blog/tags/stavekontroll/index.html b/blog/tags/stavekontroll/index.html
index c2cdfbb12c..4a0d66fc9a 100644
--- a/blog/tags/stavekontroll/index.html
+++ b/blog/tags/stavekontroll/index.html
@@ -89,7 +89,7 @@ stavekontrollen.
May (9)
-
June (1)
+
June (2)
@@ -115,11 +115,11 @@ stavekontrollen.
aros (1)
-
debian (11)
+
debian (12)
debian edu (7)
-
english (12)
+
english (13)
fiksgatami (1)
diff --git a/blog/tags/video/index.html b/blog/tags/video/index.html
index d98291be1d..d500ec2b11 100644
--- a/blog/tags/video/index.html
+++ b/blog/tags/video/index.html
@@ -337,7 +337,7 @@ wait $pid
May (9)
-
June (1)
+
June (2)
@@ -363,11 +363,11 @@ wait $pid
aros (1)
-
debian (11)
+
debian (12)
debian edu (7)
-
english (12)
+
english (13)
fiksgatami (1)
diff --git a/blog/tags/vitenskap/index.html b/blog/tags/vitenskap/index.html
index 214f03e9a0..95f52dea35 100644
--- a/blog/tags/vitenskap/index.html
+++ b/blog/tags/vitenskap/index.html
@@ -134,7 +134,7 @@ skyskrapere. Takke meg til en tur til månen.
May (9)
-
June (1)
+
June (2)
@@ -160,11 +160,11 @@ skyskrapere. Takke meg til en tur til månen.
aros (1)
-
debian (11)
+
debian (12)
debian edu (7)
-
english (12)
+
english (13)
fiksgatami (1)
diff --git a/blog/tags/web/index.html b/blog/tags/web/index.html
index 56e3f1ebce..3b6575e281 100644
--- a/blog/tags/web/index.html
+++ b/blog/tags/web/index.html
@@ -234,7 +234,7 @@ fortløpende.
May (9)
-
June (1)
+
June (2)
@@ -260,11 +260,11 @@ fortløpende.
aros (1)
-
debian (11)
+
debian (12)
debian edu (7)
-
english (12)
+
english (13)
fiksgatami (1)