<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-29132032</id><updated>2012-01-13T09:43:40.936-08:00</updated><category term='linux debian boot'/><title type='text'>Improve the Debian boot process - blog</title><subtitle type='html'>&lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/&gt;Project Webpage&lt;/a&gt; and &lt;a href=http://carlos.villegasramos.net&gt;my webpage&lt;/a&gt;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>41</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-29132032.post-4203069801195557441</id><published>2007-04-11T14:14:00.000-07:00</published><updated>2007-04-12T01:41:24.286-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux debian boot'/><title type='text'>Etch boots as fast as Woody...</title><content type='html'>With the Post-etch frenzy, I installed Debian 4.0 stable as soon as I could. I used the same system used a few months ago for the google Summer of Code. Under the same conditions, the system required 32 seconds until KDE started. Compared with the previous stable releases:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Woody - 32 seconds&lt;/li&gt;&lt;li&gt;Sarge  - 44 seconds&lt;/li&gt;&lt;li&gt;Etch    - 32 seconds&lt;/li&gt;&lt;/ul&gt;Nevertheless, Etch has significantly more process started at boot time and the CPU usage is more intensive --with still some room for improvement --. &lt;a href="http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#etch40"&gt;Follow this link for the bootcharts and more detailed information.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As I starting point, using dash instead of bash, the boot time is reduced to 30 seconds and it could be further improved but there is some "hald" process (maybe part of dbus) that doesn't seem to want to run in parallel. &lt;a href="http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#etch40"&gt;See bootcharts.&lt;/a&gt; Any ideas?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-4203069801195557441?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/4203069801195557441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=4203069801195557441' title='367 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/4203069801195557441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/4203069801195557441'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2007/04/etch-boots-as-fast-as-woody.html' title='Etch boots as fast as Woody...'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>367</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115774844686574225</id><published>2006-09-08T13:33:00.000-07:00</published><updated>2006-09-08T13:47:26.876-07:00</updated><title type='text'>A weird effect of discover (SoC2006)</title><content type='html'>It is funny to see that when I remove discover (/etc/rcS.d/S36discover) from the boot, a disk utilisation and cpu usage peak appear at the end of loading KDE. Would it be that discover is loaded by KDE if it wasn't loaded? Or a discover ghost :p. Well, the bootcharts for the two different cases are available &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#discover&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115774844686574225?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115774844686574225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115774844686574225' title='78 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115774844686574225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115774844686574225'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/09/weird-effect-of-discover-soc2006.html' title='A weird effect of discover (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>78</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115774168937991141</id><published>2006-09-08T11:28:00.000-07:00</published><updated>2006-09-08T11:54:49.760-07:00</updated><title type='text'>Prelinking during the boot (SoC2006)</title><content type='html'>I've tried prelinking with the aim of making the boot faster. I've used the package of prelink from debian in unstable and we get no significant time improvement. Prelinking was added after readahead in a custom script run during the boot in /etc/rcS.d/S70prelink. What the script does is to prelink: kdeinit, Xorg, kwin, kdesktop, kicker, artsd, kaccess, ktip, klipper and korgac. The bootcharts are availabe &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#prelink&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115774168937991141?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115774168937991141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115774168937991141' title='33 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115774168937991141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115774168937991141'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/09/prelinking-during-boot-soc2006.html' title='Prelinking during the boot (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>33</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115772566677237824</id><published>2006-09-08T06:35:00.000-07:00</published><updated>2006-09-08T07:27:46.896-07:00</updated><title type='text'>8 second reduction (SoC2006)</title><content type='html'>By removing useless init-scripts from the symbolic link pool (/etc/rc?.d) we got a further second improvement in the boot time. The two init-scripts removed were hotkey-setup and gdm. The former can be removed as I'm not using a laptop and the latter because I'm using KDE. The boot time was reduced from 46 to 45 seconds. See the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts/bootchart_debiansid2_dash+reorder+hwclock+readahead-gdm.png&gt;new bootchart&lt;/a&gt; and compare with the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts/bootchart_debiansid2_dash+reorder+hwclock.png&gt;reference bootchart&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115772566677237824?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115772566677237824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115772566677237824' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115772566677237824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115772566677237824'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/09/8-second-reduction-soc2006.html' title='8 second reduction (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115769949618210811</id><published>2006-09-08T00:11:00.000-07:00</published><updated>2006-09-08T00:11:36.193-07:00</updated><title type='text'>Trying to integrate Ubuntu's readahead (SoC2006).</title><content type='html'>I've been playing a bit with Ubuntu's readahead to get a better boot time on debian. At least they seem to get it. I've used strace to get the list of files for different init-scripts and generate the required /etc/readahead/boot file - containing the files to load to memory. The advantage of readahead over preload so far is that it does not affect the boot time when it is not active. I consider readahead inactive when the boot file is empty and preload when the preload script is removed from the symbolic link pools (/etc/rcX.d).&lt;br /&gt;&lt;br /&gt;By using readahead shortly after the system starts to boot (near udev), the boot time is even increased by 2 seconds (e.g. S03readahead in /etc/rcS.d). On the other side, by using some of the files used by KDE during startup there is almost a one second improvement as may be seen in the bootchart. We use readahead in /etc/rcS.d position S42. The list of files and the bootcharts may be found &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#readahead&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Besides, I've corrected the deliverable 5 including the fact that lintian incorporates now a check for lsb compliance based on our patch! The deliverable is available &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/deliverable5.html&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115769949618210811?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115769949618210811/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115769949618210811' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115769949618210811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115769949618210811'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/09/trying-to-integrate-ubuntus-readahead.html' title='Trying to integrate Ubuntu&apos;s readahead (SoC2006).'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115750639136048375</id><published>2006-09-05T16:52:00.000-07:00</published><updated>2006-09-05T18:33:11.413-07:00</updated><title type='text'>7 seconds less on the boot time (SoC2006)</title><content type='html'>With the alioth sever down, it seems our project webpage is down as well. Anyway, we are currently on a 7 second improvement of the boot time by using reordering, dash as /bin/sh and hwclock in the background. The bootchart is available &lt;a href=http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootcharts/bootchart_debiansid2_dash+reorder+hwclock.tgz?op=file&amp;rev=0&amp;sc=0&gt;here&lt;/a&gt; while that of the original &lt;a href=http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootcharts/bootchart_debiansid2_original2.png?op=file&amp;rev=0&amp;sc=0&gt;system here&lt;/a&gt;. No time was won using preload 0.4 with varied configuration combinations. Curious to see that the time is 2 seconds more even without preload in the symbolic link farm (/etc/rcX.d) when preload is installed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115750639136048375?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115750639136048375/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115750639136048375' title='93 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115750639136048375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115750639136048375'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/09/7-seconds-less-on-boot-time-soc2006.html' title='7 seconds less on the boot time (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>93</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115704503576490766</id><published>2006-08-31T10:17:00.000-07:00</published><updated>2006-08-31T10:42:54.253-07:00</updated><title type='text'>Deliverables 3 and 5 (SoC2006)</title><content type='html'>The new deliverables 3 and 5 were published. In the third deliverable we mention the effect of most hotspots, the procedure used for testing them and their bootcharts. Besides, it contains a group of combinations done with the hotspots and their effect. Deliverable 5 simply consists of the LSB guide for maintainers and the lintian patch to check LSB compliance. Both issues were published some weeks ago and this deliverable was just published to comply with the original deliverable list. Still two deliverables are missing: Deliverable 4: a proposal to change the boot system in debian according to the results from Deliverable 3 and further research, and Deliverable 6: the final report of the project. They are available in the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/deliverables.html&gt;deliverables webpage&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115704503576490766?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115704503576490766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115704503576490766' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115704503576490766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115704503576490766'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/08/deliverables-3-and-5-soc2006.html' title='Deliverables 3 and 5 (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115580276061584743</id><published>2006-08-17T01:08:00.000-07:00</published><updated>2006-08-17T16:43:27.396-07:00</updated><title type='text'>Insserv reordering and repeated init-scripts (SoC2006)</title><content type='html'>Some time ago I posted having obtained a 2 second time decrease in the boot time using insserv reordering. In that occasion, I had already deleted some repeated init scripts from the insserv modified /etc/rc2.d directory. Recently, I had problems using insserv as I thought the major change was just to change the order of some of the init-scripts (stop-bootlogd, sysklogd, klogd). Now, from a system starting in 53 seconds I got a 2 second improvement by using the same script order used some time ago. Besides, I thought I shouldn't bother to delete the repeated init-scripts as /sbin/init is supposed to ignore them. Nevertheless, by removing the remaining repeated scripts I got a further 2 second time improvement, i.e., &lt;b&gt;a 4 seconds improvement!&lt;/b&gt; The bootcharts and init order are available at the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#reorder-retried&gt;project webpage&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115580276061584743?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115580276061584743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115580276061584743' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115580276061584743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115580276061584743'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/08/insserv-reordering-and-repeated-init.html' title='Insserv reordering and repeated init-scripts (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115564574316927899</id><published>2006-08-15T05:42:00.000-07:00</published><updated>2006-08-15T05:42:23.180-07:00</updated><title type='text'>System reinstalled and testing preload again (SoC 2006)</title><content type='html'>Currently recovering from a disk failure with lots of data lost (i'll backup more often now), I'm trying to tackle with the inconsistencies sketched in the previous blog: preload and parallel booting hotspots don't perform as before. I guess the discrepancies came from playing too much with the boot process.&lt;br /&gt;The new system has originally a boot time of 52 seconds and the installation of preload 0.4 on a freshly installed system gave 1 second longer boot time during the first reboot and came back to the original time after 4 reboots and goes back to 53 seconds afterwards.&lt;br /&gt;The bootchart is available on the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#preloadrepeat&gt;bootcharts section of the project webpage&lt;/a&gt; for two preload configurations.&lt;br /&gt;&lt;br /&gt;Besides, unverbose booting was tested. Well, simply verbose was changed to "VERBOSE=no" and "VERBOSE=quiet" just making the system slower! What could this be? Manual tweaking may be probably needed. The bootcharts for the different cases are available on the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#verbose&gt;bootcharts section of the project webpage&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Finally, a laptop testing system was prepared for comparison. It has also a fresh debian sid installation on an external USB hard drive. The results using the laptop test bed were similar for unverbose booting although the boot time seem to be unconsistent! Around 2 second changes without networking and higher with networking. I _guess_ a possible reason is by using an usb hard drive.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115564574316927899?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115564574316927899/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115564574316927899' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115564574316927899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115564574316927899'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/08/system-reinstalled-and-testing-preload.html' title='System reinstalled and testing preload again (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115511484567703224</id><published>2006-08-09T01:56:00.000-07:00</published><updated>2006-08-09T02:14:05.686-07:00</updated><title type='text'>Comparing preload 0.4 and 0.2 (SoC 2006)</title><content type='html'>I've tried preload 0.2 and 0.4 to compare its effects. Unfortunately my results don't hold with the results obtained some blogs ago: preload 0.2 reduced the boot time by 2 seconds. In this occasion, time was even lost (making me remember my first tests). This may be due to some upgrades had been made to sid since. &lt;br /&gt;First I tried preload 0.2 with default with 1 second lost and a modified configuration with no boot time change. &lt;br /&gt;Then I tried preload 0.4 with  default and modified configuration both with no time change.&lt;br /&gt;The bootcharts and log file are availabe at the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#preloadcompare&gt;project webpage&lt;/a&gt;.&lt;br /&gt;Yesterday I presented a table with hotspots combinates and unlike it was expected, preload may not be helping anymore (preload 0.4 was used).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115511484567703224?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115511484567703224/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115511484567703224' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115511484567703224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115511484567703224'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/08/comparing-preload-04-and-02-soc-2006.html' title='Comparing preload 0.4 and 0.2 (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115499440646709241</id><published>2006-08-07T16:02:00.000-07:00</published><updated>2006-08-07T16:47:01.556-07:00</updated><title type='text'>Table preview of hotspots (SoC 2006)</title><content type='html'>Some hotpots combinations were tested. Unexpectedly, the use of several hotspots together didn't cause an arithmetic sum of boot time improvements. For example, let's consider the following hotspots and their corresponding boot times:&lt;br /&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;hotspot&lt;/b&gt;&lt;/td&gt;&lt;td&gt;time&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;DASH AS SH&lt;/td&gt;&lt;td&gt;4&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;PRELOADING&lt;/td&gt;&lt;td&gt;2&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;NETWORKING&lt;/td&gt;&lt;td&gt;0&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;HWCLOCK&lt;/td&gt;&lt;td&gt;2&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;REORDERING&lt;/td&gt;&lt;td&gt;2&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;PARALLEL&lt;/td&gt;&lt;td&gt;4&lt;/td&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;On the other side, while trying them together we get:&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;hotspot&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Test#1&lt;/td&gt;&lt;td&gt;Test#2&lt;/td&gt;&lt;td&gt;Test#3&lt;/td&gt;&lt;td&gt;Test#4&lt;/td&gt;&lt;td&gt;Test#5&lt;/td&gt;&lt;td&gt;Test#6&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;INSSERV&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;DASH&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;NETWORKING&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;HWCLOCK&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;PRELOAD&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;PARALLEL&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;time improve&lt;/td&gt;&lt;td&gt;4&lt;/td&gt;&lt;td&gt;6&lt;/td&gt;&lt;td&gt;6&lt;/td&gt;&lt;td&gt;6&lt;/td&gt;&lt;td&gt;6&lt;/td&gt;&lt;td&gt;4&lt;/td&gt;&lt;br /&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115499440646709241?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115499440646709241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115499440646709241' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115499440646709241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115499440646709241'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/08/table-preview-of-hotspots-soc-2006.html' title='Table preview of hotspots (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115425958734372196</id><published>2006-07-30T04:22:00.000-07:00</published><updated>2006-07-30T04:39:47.353-07:00</updated><title type='text'>Lintian patch for LSB-compliance (SoC 2006)</title><content type='html'>A patch for lintian to check runtime dependency in the init scripts is now availabe at the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/resources.html&gt;project webpage&lt;/a&gt;. It proposes modifications to two files in the lintian/checks directory and was already tested. It reports incomplete and missing dependency information as well as individual warnings per headers missing. It was reported as a patch for the &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377740&gt;#377740 bug&lt;/a&gt; previously reported.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115425958734372196?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115425958734372196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115425958734372196' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115425958734372196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115425958734372196'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/07/lintian-patch-for-lsb-compliance-soc.html' title='Lintian patch for LSB-compliance (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115359545381248663</id><published>2006-07-22T11:40:00.000-07:00</published><updated>2006-07-22T12:10:55.403-07:00</updated><title type='text'>Now preloading worked (SoC 2006)</title><content type='html'>One again I've tried the preload program from Behdad Esfahbod (a result from SoC2005) but this time positive results. The cause of the difference might have been an incorrect deinstallation of parallel booting (insserv/startpar). The boot time showed a &lt;b&gt; 2 second &lt;/b&gt; time improvement. The preload.conf parameters mapprefix  and exeprefix were set to empty such that all files would be accepted. The results were compared with mapprefix being  set to the directories  used by some of the init scripts (strace -f initscript), adjusting the quantum time of preload (cycle parameter) and changing the position of the initscript to start just after hwclockfirst.sh. The results were the same: a  2 second time improvent. See the bootcharts  &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#preloading&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115359545381248663?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115359545381248663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115359545381248663' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115359545381248663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115359545381248663'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/07/now-preloading-worked-soc-2006.html' title='Now preloading worked (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115343862449160045</id><published>2006-07-20T16:36:00.000-07:00</published><updated>2006-07-20T16:37:04.503-07:00</updated><title type='text'>Now Parallel execution works better (SoC 2006)</title><content type='html'>A bug was found when doing parallel execution with startpar. The scripts seem to have been executing twice and it is being fixed by Petter Reinholdtsen. To compare the effect of the bug, the parallel execution boot time using startpar was compared with the one using "shell". The main difference between using CONCURRENCY=startpar and CONCURRENCY=shell in /etc/default/rcS is that the latter doesn't care about the order in which messages are printed to the screen. &lt;br /&gt;&lt;br /&gt;The issue made me try things again and this time I didn't accept the default script reorder from insserv. Insserv seems to have the following reordering issues:&lt;br /&gt;&lt;br /&gt;a)repeates scripts in /etc/rc2.d that were already started in /etc/rcS.d&lt;br /&gt;b)doesn't reorder /etc/rcS.d&lt;br /&gt;c)puts stop-bootlogd near the beginning in /etc/rc2.d and bootlogd while sysklogd and klogd are at the middle.&lt;br /&gt;d)includes scripts present in /etc/init.d that were not previously executed at boot time.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Issues (a) and (c) were corrected and the boot time was 2 seconds faster than without insserv(See &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#reorder&gt;bootcharts&lt;/a&gt;).&lt;br /&gt;While testing parallel execution, using CONCURRENCY=startpar, there was no improvement (the bug hasn't been fixed) and while testing with CONCURRENCY=shell there was a 4 second time improvement from the original system without insserv. (See &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#parallel&gt;bootcharts&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115343862449160045?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115343862449160045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115343862449160045' title='21 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115343862449160045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115343862449160045'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/07/now-parallel-execution-works-better.html' title='Now Parallel execution works better (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>21</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115335513393160968</id><published>2006-07-19T17:14:00.000-07:00</published><updated>2006-07-19T17:25:33.943-07:00</updated><title type='text'>Meeting with my mentor in Dublin (SoC 2006)</title><content type='html'>In one of this extremely weird sunny and warm days in Dublin, I've met my google SoC mentor Petter Reinholdtsen. We've discussed several issues of the project and here are the main points:&lt;br /&gt;&lt;br /&gt;1. Some small issues in the LSB compliance list needed to be corrected. Some packages didn't showed their package. It was solved and now all the init-scripts have the package they belong to. &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/lsblist.html&gt;See LSB-compliance list.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. It was important to compare the results from two different ways to use dash instead of bash in the init-scripts. &lt;a href=http://lists.debian.org/debian-devel/2006/05/msg02063.html&gt; See discussion in debian-devel&lt;/a&gt;. The two approaches are:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;a) make /bin/sh point to /bin/dash&lt;/i&gt; - using the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/log/dashlog&gt;procedure&lt;/a&gt; described in /usr/share/doc/bash/README.Debian.gz, we obtain a time reduction of 4 seconds.&lt;br /&gt;&lt;i&gt;b) change #!/bin/sh for #!/bin/dash in the init-scripts &lt;/i&gt;- using the substitution function of sed, the initscripts were changed to use dash. A reduction of 2 seconds was obtained.&lt;br /&gt;&lt;br /&gt;The bootcharts are available &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#dash&gt;here&lt;/a&gt;. The difference should be because some programs are still using bash as just the first line of the initscripts was changed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115335513393160968?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115335513393160968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115335513393160968' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115335513393160968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115335513393160968'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/07/meeting-with-my-mentor-in-dublin-soc.html' title='Meeting with my mentor in Dublin (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115299323486266059</id><published>2006-07-15T12:47:00.000-07:00</published><updated>2006-07-15T12:53:54.870-07:00</updated><title type='text'>Automatic update for the LSB compliance list (SoC 2006)</title><content type='html'>We have published a list for LSB-compliance in &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/lsblist.html&gt;here&lt;/a&gt;. The script to create it was now modified to be easily updated automatically considering changes in the initscript files and new reported bugs. It will also consider special cases like with the scripts bootlogd and hostname.sh that wouldn't normally be considered as LSB compliant. The scripts are available under the GNU license at the &lt;a href= http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/code/?rev=0&amp;sc=0&gt; project repository&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115299323486266059?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115299323486266059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115299323486266059' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115299323486266059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115299323486266059'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/07/automatic-update-for-lsb-compliance.html' title='Automatic update for the LSB compliance list (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115267019865419883</id><published>2006-07-11T19:02:00.000-07:00</published><updated>2006-07-12T03:11:45.670-07:00</updated><title type='text'>testing ubuntu's readahead (SoC2006)</title><content type='html'>The base distribution I'm using for Sid changed slightly by installing ssh. There was no boot time difference. The new base bootchart (same time 49 sec) is &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_untilKtip2.png&gt; here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Based on a &lt;a href=http://lists.alioth.debian.org/pipermail/initscripts-ng-devel/2006-April/000255.html&gt;discussion in initscripts-ng-devel&lt;/a&gt; between Petter Reinholdtsen and Erich Schubert, I decided to try ubuntu's readahead to see if we will get a better or worst boot time. After installing ubuntu's readahead 1.0.1-2 but noticed not time difference. No difference was obtained by changing the boot order (S39 to S19 in rcS.d) nor by adding files read at /etc/readahead/readahead. The bootchart is &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_untilKtip2_readahead1.png&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also tried the newer readahead from ubuntu readahead 0.20050517.0220-0ubuntu3 but now with a loss of 1 second. This includes two scripts S01readahead and S39readahead-desktop in rcS.d and S99stop-readahead in rc2.d.  The bootchart is &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_untilKtip2_readahead2.png&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Next I'll try to analyze the SUSE static preload.&lt;br /&gt;&lt;br /&gt;Besides I filed an bug (&lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377941&gt;377941&lt;/a&gt;) to initramfs-tool I had with installing Etch on my laptop with a usb harddisk. Tried adding sleep 5 to /usr/share/initramfs-tools/scripts/init-premount/udev, then dpkg-reconfigure linux-image-.... but still fails :(&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115267019865419883?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115267019865419883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115267019865419883' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115267019865419883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115267019865419883'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/07/testing-ubuntus-readahead-soc2006.html' title='testing ubuntu&apos;s readahead (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115260811132795181</id><published>2006-07-11T01:52:00.000-07:00</published><updated>2006-07-11T01:55:11.336-07:00</updated><title type='text'>More bug reports and benchmark (SoC2006)</title><content type='html'>Yesterday I filed a bug report for lintian as it doesn't check for LSB compliance. Many scripts would be fixed at the moment we get an LSB check in lintian and normally we will be providing them with a patch for it with our Deliverable 5 in a few weeks. Bug report &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377740&gt;#377740&lt;/a&gt;&lt;br /&gt;I'm installing sid in my laptop --originally-- to use as benchmarking for the boot process. The installation procedure was the same as the one explained in the project webpage for sid except that it also includes the Laptop package subset. As I'm using a usb harddisk, it seems there is a problem at the boottime as /dev/sda1 takes to long to be detected and when root wants to mount it hasn't been detected yet. I currently skip this problem this by doing CTRL-S at the beginning to give it more time but this won't make a good boot process benchmark. &lt;br /&gt;New bug reports were filed:&lt;br /&gt;alsa-base &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377716&gt;#377716&lt;/a&gt;&lt;br /&gt;alsa-utils &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377717&gt;#377717&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115260811132795181?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115260811132795181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115260811132795181' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115260811132795181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115260811132795181'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/07/more-bug-reports-and-benchmark-soc2006.html' title='More bug reports and benchmark (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115238536273364909</id><published>2006-07-08T11:51:00.000-07:00</published><updated>2006-07-08T12:02:42.746-07:00</updated><title type='text'>LSB- howto, status list and check script (SoC 2006)</title><content type='html'>A guide for debian package maintainers to make the scripts LSB compliant is available in &lt;a href=http://wiki.debian.org/LSBInitScripts&gt;here&lt;/a&gt;. It is not a substitute of the &lt;a href=http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/book1.html&gt;LSB 3.1&lt;/a&gt; but intends to be used as a quick reference to create LSB-compliant init-scripts.&lt;br /&gt;&lt;br /&gt;The &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/code/checkLSB&gt;script to check the LSB compliance&lt;/a&gt; was changed to reflect the init script status according to:&lt;br /&gt;+No LSB headers - If "### BEGIN INIT INFO" is not found.&lt;br /&gt;+LSB compliance - If the headers Provides, Required-Start, Required-Stop, Default-Start and Default-Stop exist and have arguments. Besides, if Default-Start is equal to 0 or to 6, LSB compliance is satisfied only with Provides, Required-Start and Default-Start.&lt;br /&gt;+Missing LSB headers in the other cases. &lt;br /&gt;&lt;br /&gt;Finally, a list with the current LSB-compliance status of Debian init-scripts is available &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/lsblist.html&gt;here&lt;/a&gt;. It was automatically generated using a modified version of the script mentioned above and includes a link to the bug report filed to correct the scripts. The aim of this webpage is to give an overview of the work that needs to be done in Debian for LSB compliance.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115238536273364909?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115238536273364909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115238536273364909' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115238536273364909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115238536273364909'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/07/lsb-howto-status-list-and-check-script.html' title='LSB- howto, status list and check script (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115214475214995495</id><published>2006-07-05T17:10:00.000-07:00</published><updated>2006-07-06T01:22:25.160-07:00</updated><title type='text'>Bug reports for packages with missing LSB headers (SoC2006)</title><content type='html'>Yesterday I started to prepare bug reports about missing LSB headers. Since then I reported:&lt;br /&gt; -acpid script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376778&gt;#376778&lt;/a&gt;&lt;br /&gt; -atd script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376780&gt;#376780&lt;/a&gt;&lt;br /&gt; -bittorrent script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376944&gt;#376944&lt;/a&gt;&lt;br /&gt; -exim4 script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376953&gt;#376953&lt;/a&gt;&lt;br /&gt; -hotkey-setup script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376955&gt;#376955&lt;/a&gt;&lt;br /&gt; -inetd script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376956&gt;#376956&lt;/a&gt;&lt;br /&gt; -kdm script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376958&gt;#376958&lt;/a&gt;&lt;br /&gt; -lpr script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376960&gt;#376960&lt;/a&gt; &lt;br /&gt; -makedev script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376992&gt;#376992&lt;/a&gt; &lt;br /&gt; -nfs-common script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376976&gt;#376976&lt;/a&gt;.&lt;br /&gt;A summary of the bug reports with missing lsb headers can be found in &lt;a href=http://bugs.debian.org/cgi-bin/pkgreport.cgi?usertag=initscripts-ng-devel@lists.alioth.debian.org:missing-dependency&gt;here&lt;/a&gt;&lt;br /&gt;Besides, we've raised the issue of some scripts missing dependencies in the bootclean init script and the missing Should-Start dependency of bootmisc.sh in the &lt;a href=http://lists.alioth.debian.org/mailman/listinfo/pkg-sysvinit-devel&gt; sysvinit-devel mailing list&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115214475214995495?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115214475214995495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115214475214995495' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115214475214995495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115214475214995495'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/07/bug-reports-for-packages-with-missing.html' title='Bug reports for packages with missing LSB headers (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115203954790564766</id><published>2006-07-04T11:55:00.000-07:00</published><updated>2006-07-04T11:59:07.916-07:00</updated><title type='text'>Deliverable on line and LSB list</title><content type='html'>The second deliverable of the "Improve debian boot" project is available to check since yesterday night &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/deliverables.html&gt;in the webpage&lt;/a&gt;. In this report, a comparison between the boot process of the debian releases from woody to sid is presented. Besides, the first hotspots are investigated.&lt;br /&gt;&lt;br /&gt;On the other hand,I've updated the LSB compliance of the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/lsblist.html&gt;scripts in Sid&lt;/a&gt; and added some related bug reports to some of the scripts.  Besides, I've worked on new bugs on the script for LSB compliance by checking with all the scripts.&lt;br /&gt;&lt;br /&gt;btw, anybody interested on this project can always join us every day at irc.debian.org at the channel #pkg-sysvinit (Europe daytime normally :D ).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115203954790564766?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115203954790564766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115203954790564766' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115203954790564766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115203954790564766'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/07/deliverable-on-line-and-lsb-list.html' title='Deliverable on line and LSB list'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115184864275944697</id><published>2006-07-02T06:49:00.000-07:00</published><updated>2006-07-02T06:57:33.400-07:00</updated><title type='text'>Preload status and back to bechmarking (SoC 2006)</title><content type='html'>I've went back to the subject of benchmarking Debian releases in order to prepare the second deliverable. It should be available tonight for review in the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/deliverables.html&gt;project webpage&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Besides, we are trying to explore how to make the debian package of preload to work properly such that we can notice any time improvement. The default configuration and with little variations show no time difference. Anybody out there knows about some examples of how to configure preload?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115184864275944697?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115184864275944697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115184864275944697' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115184864275944697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115184864275944697'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/07/preload-status-and-back-to-bechmarking.html' title='Preload status and back to bechmarking (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115165892094164057</id><published>2006-06-30T01:59:00.000-07:00</published><updated>2006-06-30T04:40:51.853-07:00</updated><title type='text'>preload and LSB compliance webpage</title><content type='html'>I started to try another hotspot: preload. Unfortunately, I noticed no change on the boot time after installing preload. Not even after changing its boot order from /etc/rc2.d/ to /etc/rcS.d/ after the dependencies were met: in the init script it claims to require $time, $remote_fs and $local_fs. I believe seeing it in ubuntu at just the beginning of /etc/rcS.d/. The bootcharts and test procedures can be seen &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html&gt;here&lt;/a&gt;. This is an issue that has to be further investigated.&lt;br /&gt;&lt;br /&gt;On the other side, the lsb check script was debugged a little bit more. A list with the compliance of the init scripts in sid is available &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/resources.html&gt;here&lt;/a&gt;. The few LSB compliant scripts are on the top, the big incomplete majority in the middle and those without LSB headers at the bottom.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115165892094164057?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115165892094164057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115165892094164057' title='34 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115165892094164057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115165892094164057'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/06/preload-and-lsb-compliance-webpage.html' title='preload and LSB compliance webpage'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>34</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115157038564419909</id><published>2006-06-29T01:33:00.000-07:00</published><updated>2006-06-29T01:39:45.656-07:00</updated><title type='text'>Debugging the LSB check in lintian/linda.</title><content type='html'>With run-time dependencies in the init scripts (as LSB headers) we can verify the correct boot order of the system. Currently, lintian just checks the init scripts to provide start, stop, restart and force-reload actions. A small modification could allow it to check for LSB compliance as well and decrease the big amount of scripts lacking run-time dependencies until now.&lt;br /&gt;Currently we have a script to verify LSB compliance and is on a debugging phase. One of the issues is when to warn about a missing information on the stop phase, like Required-Stop, Should-Stop and Default-Stop. Changes we made were not to warn (at least for Default-Stop) when the system default start is only runtime S (initialization). &lt;br /&gt;&lt;br /&gt;Finally, there are now some way to track the bugs related to this project with BTS usertags. Most of them have been submitted by Petter Reinholdtsen. Follow &lt;a href=http://bugs.debian.org/cgi-bin/pkgreport.cgi?usertag=initscripts-ng-devel@lists.alioth.debian.org&gt;this link&lt;/a&gt; to see the bugs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115157038564419909?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115157038564419909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115157038564419909' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115157038564419909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115157038564419909'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/06/debugging-lsb-check-in-lintianlinda.html' title='Debugging the LSB check in lintian/linda.'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115149152442958839</id><published>2006-06-28T03:42:00.000-07:00</published><updated>2006-06-28T03:45:24.436-07:00</updated><title type='text'>Script for checking LSB compliance (SoC 2006)</title><content type='html'>Based on a &lt;a href=http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/check-initd-order?op=file&amp;rev=0&amp;sc=0&gt;script&lt;/a&gt; by Petter Reinholdtsen to check the correct init script order, I've made a script to check for LSB compliance. It is available on the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/resources.html&gt; project webpage&lt;/a&gt;. The script checks for the existance of each of the LSB headers and considers 4 main output cases:&lt;br /&gt;+ No LSB headers (when the START INIT INFO header is not found)&lt;br /&gt;+ Basic LSB compliance (when Should-Start, Should-Stop and the Description have no arguments.&lt;br /&gt;+ Full LSB compliance (when all headers have arguments)&lt;br /&gt;+ Partial compliance (in the other cases).&lt;br /&gt;Besides, it sends to to STDERR comments on missing headers or missing arguments in them.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115149152442958839?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115149152442958839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115149152442958839' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115149152442958839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115149152442958839'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/06/script-for-checking-lsb-compliance-soc.html' title='Script for checking LSB compliance (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115132778483862735</id><published>2006-06-26T05:23:00.000-07:00</published><updated>2006-06-26T06:16:24.946-07:00</updated><title type='text'>startpar and insserv</title><content type='html'>Yesterday I tried insserv together with startpar according to the &lt;a href=http://lists.alioth.debian.org/pipermail/initscripts-ng-devel/2006-April/000256.html&gt;post&lt;/a&gt; from Petter Reinholdtsen although the results were not what we expected as just a 2 second reduction was observed. The bootchart is &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_untilKtip_insserv.png&gt;here&lt;/a&gt;. This behaviour seems to be due to a deficient ordering of the init scripts by insserv as it may be observed by comparing the init scripts order &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/log/bootprofile_sid&gt;before&lt;/a&gt; and &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/log/insserv_bootprofile&gt;after&lt;/a&gt; ordering with insserv. &lt;br /&gt;&lt;br /&gt;In the order of the initscripts it can be observed that:&lt;br /&gt;+there are repeated versions of one initscript in the symbolic link farms (/etc/rcS.d and /etc/rc2.d) like udev. &lt;br /&gt;+some known errors in the order were not corrected (bugs &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=375388&gt;#375388&lt;/a&gt; and &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=375389&gt;#375389&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;To correct this behavior requires some modifications to the code for ordering the initscripts in insserv. This would be the next step in the project (to implement a promising hotspot) when dependency information (LSB-compliance) can be checked.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115132778483862735?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115132778483862735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115132778483862735' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115132778483862735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115132778483862735'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/06/startpar-and-insserv.html' title='startpar and insserv'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115127023227144365</id><published>2006-06-25T12:08:00.000-07:00</published><updated>2006-06-25T14:17:12.343-07:00</updated><title type='text'>BTS and Lintian</title><content type='html'>While working on the script to check for LSB compliance, and as a recommendation from Petter Reinholdtsen, I commited two bug reports to the BTS related to a wrong order of some scripts in the sysvinit package. Specifically alsa-utils and udev (Bug reports #375388 and #375389, respectively). &lt;br /&gt;&lt;br /&gt;The reason for this, besides correcting the bug itself, is to raise the issue of correct script ordering. Currently, a developer cannot know if their package is correctly placed in the /etc/rc?.d symbolic pools until a bug is reported. If lintian and/or linda included some check for init script dependency information, i.e. basic LSB-compliance, the maintainers would remember to include this information and a script could correct the order for each individual system. The script needs to be developed for debian and this is one of the next steps on the current boot project.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115127023227144365?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115127023227144365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115127023227144365' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115127023227144365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115127023227144365'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/06/bts-and-lintian.html' title='BTS and Lintian'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115115052706079563</id><published>2006-06-24T04:46:00.000-07:00</published><updated>2006-06-24T05:02:07.070-07:00</updated><title type='text'>dash and LSB check</title><content type='html'>One new boot process hotspot was tested yesterday: using dash instead of bash. Got a good reduction of 3 seconds in the boot time. The results and method used are in the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html&gt;project webpage&lt;/a&gt;. Nevertheless, this was different from the 6 seconds obtained by Margarita Manterola in her &lt;a href=http://www.marga.com.ar/~marga/debian/boottime/debconf-boot.pdf&gt;slides &lt;/a&gt; from debconf6.&lt;br /&gt;On the other side, with the aim of having a script for checking lintian rules and LSB compliance, I've started to take a look to the &lt;a href=http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/check-initd-order?op=file&amp;rev=0&amp;sc=0&gt;script&lt;/a&gt; written by Petter Reinholdtsen. It is written in perl so I took a quick tutorial of perl first :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115115052706079563?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115115052706079563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115115052706079563' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115115052706079563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115115052706079563'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/06/dash-and-lsb-check.html' title='dash and LSB check'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115106239829295348</id><published>2006-06-23T04:28:00.000-07:00</published><updated>2006-06-23T04:33:18.306-07:00</updated><title type='text'>Background and LSB compliance (SoC 2006)</title><content type='html'>Yesterday I tried another hotspot: networking on the background. In the Sarge networking script it is pretty easy to run in the background. Just have to add an ampersand after the line:&lt;br /&gt;ifup -a&lt;br /&gt;Couldn't be easier I guess. Well, there is the problem that the message "done." will appear afterwards at some random place out of context. Now, the sid version of the script is much nicer and seems to be LSB compliant!!! Grand! Well, the problem comes as "ifup -a" is inside an IF statement such that sending to the background makes no sense. So maybe it could be sent to the background in a new shell and send a message like "Configuring network interfaces...done".&lt;br /&gt;Well, as my intention was just to test the boot speed I removed the IF statement. There was no change on time! That is not what should happen. I'll have to double check. The results and scripts are available &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html&gt;here&lt;/a&gt;&lt;br /&gt;Finally, I tried removed discover from the scripts as udev is already doing the same job. This change was motivated by a comment from Marco D'Itri. Also in this case I noticed no change on the boot time. This should be hardware dependent.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115106239829295348?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115106239829295348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115106239829295348' title='35 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115106239829295348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115106239829295348'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/06/background-and-lsb-compliance-soc-2006.html' title='Background and LSB compliance (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>35</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115096884467859702</id><published>2006-06-22T02:30:00.000-07:00</published><updated>2006-06-22T02:34:04.690-07:00</updated><title type='text'>First hotspots tried  (SoC 2006)</title><content type='html'>Debian sid was installed and the installation log can be found &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/resources.html&gt;here&lt;/a&gt;. There is a link to a list of the packages installed with the distribution update from etch and the resulting init scripts. Besides, bootcharts and other resources will be available in this section.&lt;br /&gt;Using the same sid installation, from the hotspots yesterday I tried to load the hwclock on the background with a 2 seconds reduction in the boot time. The bootcharts and scripts are availabe &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/resources.html&gt;here&lt;/a&gt; as well.&lt;br /&gt;Finally, depmod is not used any more in sid's module-init-tools and this is one of the hotspots. This was removed as a result from a discussion started by Margarita Manterola in &lt;a href=http://lists.debian.org/debian-devel/2006/05/msg02081.html&gt;debian-devel&lt;/a&gt;. Just by adding it again from an old script, the 2 second reduction from hwclock was lost.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115096884467859702?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115096884467859702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115096884467859702' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115096884467859702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115096884467859702'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/06/first-hotspots-tried-soc-2006.html' title='First hotspots tried  (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115088073318842950</id><published>2006-06-21T01:22:00.000-07:00</published><updated>2006-06-21T02:05:33.436-07:00</updated><title type='text'>Sid bootcharts (SoC 2006)</title><content type='html'>Hi, another rainy summer day in ireland and another bootchart in the &lt;a href="http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html"&gt;webpage&lt;/a&gt; Now it was sid's turn. So now we have the time from grub to Kde startup for the four releases:&lt;br /&gt;Woody(32s)&lt;br /&gt;Sarge(44s)&lt;br /&gt;Etch(34s)&lt;br /&gt;Sid(33s)&lt;br /&gt;All of them use kde with autologin although boothchart stops at least 6 seconds before kde stops loading. That means that all of the times here are at least 6 seconds shorter so Sid takes 39 seconds from grub. An attempt to measure until kde finishes loading was made by changing the /sbin/bootchartd wait_boot function such that bootchart waits until the program ktip (the one that gives you a usage tip at startup).  Nevertheless, in this case bootchart takes around 6 seconds to stop logging. The bootchart is on the &lt;a href="http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html"&gt;webpage&lt;/a&gt; as well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115088073318842950?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115088073318842950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115088073318842950' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115088073318842950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115088073318842950'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/06/sid-bootcharts-soc-2006.html' title='Sid bootcharts (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115079787690710835</id><published>2006-06-20T02:51:00.000-07:00</published><updated>2006-06-20T03:04:36.920-07:00</updated><title type='text'>/sbin/bootchartd and KDE</title><content type='html'>After finding out that bootchart wasn't considering the whole time for KDE to start up, we are trying to modify bootchart so it ends up with another program. The changes doesn't seem to be working for the moment as the program selected to end logging can't be found in bootchart.tgz. Anybody familiar with this?&lt;br /&gt;On the other side, we are considering to add ELF prelinking as one of the hotpots to decrease the boot process time. Probably it could help when big programs start that need to link to many libraries, e.g. KDE.&lt;br /&gt;Well, as a remark, anonymous comments are now enabled in the blog and a contact address has been added to both, the webpage and the blog.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115079787690710835?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115079787690710835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115079787690710835' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115079787690710835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115079787690710835'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/06/sbinbootchartd-and-kde.html' title='/sbin/bootchartd and KDE'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115067542095450675</id><published>2006-06-18T16:24:00.000-07:00</published><updated>2006-06-18T17:03:40.966-07:00</updated><title type='text'>D1:State-of-the-art in the boot process and promising hotspots (SoC2006)</title><content type='html'>Finally the first deliverable (D1) is ready for revision &lt;a href="http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/deliverables.html"&gt;here.&lt;/a&gt; It can be modified according to comments and extended if it is considered that some subject should be further investigated. Besides, some hotspots were identified and, as stated in the &lt;a href="http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/proposal.html"&gt;proposal&lt;/a&gt; it is time to implement some of them. At least the 5 more promising for the second deliverable. Comments about the order will be appreciated.&lt;br /&gt;&lt;br /&gt;Together with this 5 hotspots, the second deliverable will deal with the evolution of the boot process in Debian: from woody to sid. Already, initial results were presented through this &lt;a href="http://bootdebian.blogspot.com/"&gt;blog&lt;/a&gt; during the last week concerning boot times from woody, sarge and etch.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115067542095450675?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115067542095450675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115067542095450675' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115067542095450675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115067542095450675'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/06/d1state-of-art-in-boot-process-and.html' title='D1:State-of-the-art in the boot process and promising hotspots (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115059480577186550</id><published>2006-06-17T17:52:00.000-07:00</published><updated>2006-06-17T18:40:05.826-07:00</updated><title type='text'>Bootchart vs Stopwatch  (SoC2006)</title><content type='html'>Today I did some serious polishing of the first deliverable of the boot process project and made it available &lt;a href="http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/deliverables.html"&gt;here&lt;/a&gt;. One of the things added were some hotspots ordered by how promising they are. The final version of the deliverable will be ready tomorrow evening.&lt;br /&gt;&lt;br /&gt;One question that I had today was about the relationship between Debian's update-rc.d and Fedora's chkconfig command. Both of them seem to arrange the order of execution of the init scripts. The other question was about the acceptance of file-rc and it seems that, at least for debian, it is used quite seldom (1).&lt;br /&gt;&lt;br /&gt;Finally, as a result from Petter Reinholdtsen's feedback to the previously published bootcharts of woody, sarge and etch, I compared the bootcharts time using a stopwatch. Petter considered that the times were too small and it looked like KDE autologin time was too short.  The time results (in seconds) for Sarge and Etch are:&lt;br /&gt;&lt;br /&gt;Sarge 0:44 (bootchart) and 1:06 (stopwatch). Difference = 0:22&lt;br /&gt;Etch  0:34 (bootchart) and 0:49 (stopwatch). Difference = 0:15&lt;br /&gt;&lt;br /&gt;Big difference. The stopwatch was activated when the key ENTER is pressed at the GRUB selection screen and stopped until the KDE in-progress window disappeared.It should be noticed that bootchart doesn't account for the time of initrd.&lt;br /&gt;&lt;br /&gt;Besides, from the time that the message of starting kdm appears until the KDE stops loading there is an important time difference:&lt;br /&gt;&lt;br /&gt;Sarge  ~0:06 (bootchart) and 0:23.5 (stopwatch). Difference=0:17.5&lt;br /&gt;Etch   ~0:05.5 (bootchart) and 0:19 (stopwatch). Difference=13.5&lt;br /&gt;&lt;br /&gt;Then, most of the time difference seems to be because of bootchart stopping to count the time before the KDE stops loading.&lt;br /&gt;&lt;br /&gt;Just as a final remark, the PC time from pressing the ON botton to the grub is around 11.5 second. Then the total startup times of Sarge and Etch end up being as big as 1:17.5 and 1:00.5, respectively. Both above one minute.&lt;br /&gt; &lt;br /&gt;(1)&lt;a href=http://qa.debian.org/developer.php?popcon=file-rc&gt;http://qa.debian.org/developer.php?popcon=file-rc&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115059480577186550?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115059480577186550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115059480577186550' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115059480577186550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115059480577186550'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/06/bootchart-vs-stopwatch-soc2006.html' title='Bootchart vs Stopwatch  (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115054796694795881</id><published>2006-06-17T05:32:00.000-07:00</published><updated>2006-06-17T05:39:26.966-07:00</updated><title type='text'>Benchmarking other distrubutions (SoC2006)</title><content type='html'>Hi, for the debian boot process project, the last days I looked at the SUSE, Mandriva and Fedora distributions to analyse their boot process. The most interesting so far was SUSE being LSB compliant and having insserv/startpar to set and ajust the dependencies for parallalel booting. The insserv/chkconfig combinations seems to do the same as FreeBSD's rcorder although rcorder checks dependencies in two stages: with root filesystem and with all mounted filesystems.&lt;br /&gt;&lt;br /&gt;Fedora looks like a regular sysvinit  process although it contains LSB information in the initscripts that is read by chkconfig to set dependencies in the /etc/rc&lt;x&gt;.d directories. Nevertheless, the dependencies don't adjust to added/substracted scripts.&lt;br /&gt;&lt;br /&gt;Finally Mandriva 2006 doesn't seem to have pinit/prcsys in their default configuration so it seems to have a standard sysvinit.&lt;br /&gt;&lt;br /&gt;BTW, the first deliverable is being written in latex (with pdf and html versions generated together) and available &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/deliverable1/index.html&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115054796694795881?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115054796694795881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115054796694795881' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115054796694795881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115054796694795881'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/06/benchmarking-other-distrubutions.html' title='Benchmarking other distrubutions (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115020770439784966</id><published>2006-06-13T06:59:00.000-07:00</published><updated>2006-06-13T07:08:24.396-07:00</updated><title type='text'>Woody / Sarge / Etch boot processes compared</title><content type='html'>Debian distributions booting times (up to kde with autologin) in the same &lt;a href="http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/benchmark_profile"&gt;PC&lt;/a&gt;:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Woody  - 32 sec   (&lt;a href="http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootchart_debianwoody_linux2.4.16.png"&gt;bootchart&lt;/a&gt;)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Sarge    - 44 sec   (&lt;a href="http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootchart_debiansarge_linux2.4.27.png"&gt;bootchart&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;Etch      - 34 sec   (&lt;a href="http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootchart_debianetch_linux2.6.15.png"&gt;bootchart&lt;/a&gt;)&lt;/li&gt;&lt;/ul&gt;The input-output data was just available for Etch as it requires a 2.6 linux kernel.&lt;br /&gt;&lt;a href="http://www.blogger.com/post-create.g?blogID=29132032"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115020770439784966?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115020770439784966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115020770439784966' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115020770439784966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115020770439784966'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/06/woody-sarge-etch-boot-processes.html' title='Woody / Sarge / Etch boot processes compared'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115013416598450254</id><published>2006-06-12T10:37:00.000-07:00</published><updated>2006-06-12T16:26:39.150-07:00</updated><title type='text'>Benchmarking between boot processes</title><content type='html'>For the project to improve debian boot process, I've installed debian woody and debian sarge to see the changes in debian releases. Currently installing debian etch.&lt;br /&gt;&lt;br /&gt;The first bootcharts are here for &lt;a href="http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootchart_debianwoody_linux2.4.16.png"&gt;woody&lt;/a&gt; and &lt;a href="http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootchart_debiansarge_linux2.4.27.png"&gt;sarge&lt;/a&gt; with a clean installation with autologin to kde. Funny to see woody being faster with 32 seconds while sarge has 44 seconds.&lt;br /&gt;&lt;br /&gt;For debian woody I had some problems to use bootchart but they were solved thanks to the kind help of Baruch Even. The errors were:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;bootchart requires tmpfs filesystem, &lt;/span&gt;while the kernel 2.2  that comes with woody doesn't have tmpfs. It was solved by installing kernel 2.4 and substituting tmpfs with ramfs in the /sbin/bootchartd script.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;initrd ignores the kernel call to bootchartd,&lt;/span&gt; as it ignores the arguments given to the kernel. It was solved by renaming /sbin/init (e.g. /sbin/init-moved) and making the file /sbin/init link to /sbin/bootchartd. At the end of the latter, there renamed /sbin/init is called. It's perhaps an ugly tweak but worked for our means.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;On the other hand, the first deliverable draft was added to the svn repository and is available for comments &lt;a href="http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/debianboot_d1.pdf"&gt;here&lt;/a&gt;. It is still on an early phase and needs to be converted from tex to html.&lt;br /&gt;&lt;br /&gt;Finally, I'm checking out SUSE's implementation of startpar together with insserv for parallel execution. It is interesting to see a boot process that looks to be already LSB-compliant.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-115013416598450254?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/115013416598450254/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=115013416598450254' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115013416598450254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/115013416598450254'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/06/benchmarking-between-boot-processes.html' title='Benchmarking between boot processes'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-114984657417070743</id><published>2006-06-09T02:32:00.000-07:00</published><updated>2006-06-09T02:49:34.176-07:00</updated><title type='text'>Margarita's guidelines</title><content type='html'>Another post about google's SoC project to improve the boot process written from sunny Ireland!&lt;br /&gt;&lt;br /&gt;With the first deliverable deadline nearby, I've been preparing the computer I'll use for playing with the boot process with different distributions. Iv'e lately installed debian woody and will be comparing it with Etch and Sarge (as freshly installed).&lt;br /&gt;&lt;br /&gt;From the blog of Margarita Manterola got some interesting guidelines of what to do for the beginning of the project [1]. As she had already tested boot times for several processes and got a 20 second improvement for Etch (reduced boot time to 60%!!) it looks like there is hope. It would be great to be able to watch the recorded presentation (hopefully soon to be available).&lt;br /&gt;&lt;br /&gt;So new hotspots identified:&lt;br /&gt;&lt;ul&gt;&lt;li&gt; setting up the hardware clock in the background&lt;/li&gt;&lt;li&gt;improve cpu use when starting the desktop manager.&lt;/li&gt;&lt;li&gt;make the boot less verbose&lt;/li&gt;&lt;/ul&gt;Besides, there are two programs to consider:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;serel -&gt; claims to get at least an 8% faster booting process (using parallelizaton). An interesting choice documented in [2].&lt;br /&gt;&lt;/li&gt;&lt;li&gt;rcpar -&gt; claimed to have the same functionality as the shell concurrency of /etc/init.d/rc with better handling of the output.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;[1] http://www.marga.com.ar/blog/index.cgi/debian/Parallel_booting.html&lt;br /&gt;[2] http://www.fastboot.org&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-114984657417070743?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/114984657417070743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=114984657417070743' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/114984657417070743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/114984657417070743'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/06/margaritas-guidelines.html' title='Margarita&apos;s guidelines'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-114968553338146998</id><published>2006-06-07T05:44:00.000-07:00</published><updated>2006-06-07T06:05:34.293-07:00</updated><title type='text'>Project SVN repository is up</title><content type='html'>Used part of my 6 hours in Malmo aiport to prepare the summer project webpage. Just 2 buses per day to Sturup airport (Malmo) from Copenhagen!!&lt;br /&gt;&lt;br /&gt;Well, so the webpage will be again available soon as it will be updated automatically from the SVN repository thanks to Petter.&lt;br /&gt;http://initscripts-ng.alioth.debian.org/soc2006-bootsystem&lt;br /&gt;&lt;br /&gt;For hotspots, reading Henrique de Moraes [1] got interested in serel [2] and will consider to include it in the things to test. Besides, got to read some months of initscripts-ng mailing list being interesting a comment from Erich Schubert about readahead (use it just at the very beginning and while bringing up the gdm/kde desktop) among others.&lt;br /&gt;&lt;br /&gt;[1] http://alioth.debian.org/docman/view.php/30730/38/debconf2-initscripts-bkg.pdf&lt;br /&gt;[2] http://www.fastboot.org&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-114968553338146998?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/114968553338146998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=114968553338146998' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/114968553338146998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/114968553338146998'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/06/project-svn-repository-is-up.html' title='Project SVN repository is up'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-114954845498910601</id><published>2006-06-05T15:40:00.000-07:00</published><updated>2006-06-05T16:10:13.730-07:00</updated><title type='text'>reading, hotspots and repository</title><content type='html'>This is the second post of the blog for improving the boot process. There are some logistic news and hotspots being identified together with some readings.&lt;br /&gt;&lt;br /&gt;Logistics:&lt;br /&gt;&lt;ul&gt;   &lt;li&gt;SVN repository is up at [1]&lt;/li&gt;   &lt;li&gt;place for webpage was decided and will be ready soon at [2] &lt;/li&gt;   &lt;li&gt;Project added to the debian wiki  at [3]&lt;/li&gt; &lt;/ul&gt; For the potential hotspots, some have been identified like:&lt;br /&gt;&lt;ul&gt;   &lt;li&gt;reordering bootscripts&lt;br /&gt; &lt;/li&gt;   &lt;li&gt;parallel booting (like with startpar)&lt;br /&gt; &lt;/li&gt;   &lt;li&gt;preloading (like with dynamic readahead)&lt;br /&gt; &lt;/li&gt;   &lt;li&gt;using internal functions in init scripts or dash&lt;/li&gt;   &lt;li&gt;don't run depmod at run time&lt;/li&gt; &lt;/ul&gt; Besides, some readings like "System Init scripts and Debian OS" from Henrique de Moraes and the linuces boot process benchmarking are on their way.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[1]svn+&lt;a href="ssh://svn.debian.org/svn/initscripts-ng"&gt;ssh://svn.debian.org/svn/initscripts-ng&lt;/a&gt;&lt;br /&gt;[2] http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/&lt;br /&gt;[3] http://wiki.debian.org/SummerOfCode2006&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-114954845498910601?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/114954845498910601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=114954845498910601' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/114954845498910601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/114954845498910601'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/06/reading-hotspots-and-repository.html' title='reading, hotspots and repository'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-114920013836869709</id><published>2006-06-01T15:08:00.000-07:00</published><updated>2006-06-01T15:15:38.376-07:00</updated><title type='text'>Fist message</title><content type='html'>It is exciting to be in the summer of code 2006 with debian!&lt;br /&gt;&lt;br /&gt;I will use this blog to include new advances, my current work and ideas and links to the deliverables. I still don't kow where will be the webpage used to host the project itself and the deliverables but that should be decided soon.&lt;br /&gt;&lt;br /&gt;In the next days I'll prepare the first deliverable with the state of the art of linuces boot process and identifying some hotspots to increase the boot speed.&lt;br /&gt;&lt;br /&gt;For the moment I'm looking at suse, ubuntu and FreeBSD.  I'll write down some summary so anybody interested can send me some comments before preparing the deliverable.&lt;br /&gt;&lt;br /&gt;pos eso es todo por hoy :D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29132032-114920013836869709?l=bootdebian.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bootdebian.blogspot.com/feeds/114920013836869709/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29132032&amp;postID=114920013836869709' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/114920013836869709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29132032/posts/default/114920013836869709'/><link rel='alternate' type='text/html' href='http://bootdebian.blogspot.com/2006/06/fist-message.html' title='Fist message'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
