[Initscripts-ng-commits] r107 - in /trunk/www/soc2006-bootsystem:
./ code/ log/
dvictoria-guest at users.alioth.debian.org
dvictoria-guest at users.alioth.debian.org
Wed Aug 9 08:53:06 UTC 2006
Author: dvictoria-guest
Date: Wed Aug 9 08:50:38 2006
New Revision: 107
URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=107
Log:
preload version comparison
Added:
trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809.png (with props)
trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809.tgz (with props)
trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preload0p4Default.png (with props)
trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preload0p4Default.tgz (with props)
trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preload0p4Modified.png (with props)
trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preload0p4Modified.tgz (with props)
trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preloadDefault.png (with props)
trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preloadDefault.tgz (with props)
trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preloadModified.png (with props)
trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preloadModified.tgz (with props)
trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash+insserv+preload+hwclock+networking.png (with props)
trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash+insserv+preload+hwclock+networking.tgz (with props)
trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash+shell+insserv+preload+hwclock+networking.png (with props)
trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash+shell+insserv+preload+hwclock+networking.tgz (with props)
trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash+shell+insserv+preload.png (with props)
trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash+shell+insserv+preload.tgz (with props)
trunk/www/soc2006-bootsystem/bootchart_sidKtip_shell+insserv+preload.png (with props)
trunk/www/soc2006-bootsystem/bootchart_sidKtip_shell+insserv+preload.tgz (with props)
trunk/www/soc2006-bootsystem/code/testhotspots.sh (with props)
trunk/www/soc2006-bootsystem/log/preloadcompare
Modified:
trunk/www/soc2006-bootsystem/bootcharts.html
trunk/www/soc2006-bootsystem/resources.html
trunk/www/soc2006-bootsystem/sitewide.css
Added: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809.png
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809.png?rev=107&op=file
==============================================================================
Binary file - no diff available.
Propchange: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809.tgz
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809.tgz?rev=107&op=file
==============================================================================
Binary file - no diff available.
Propchange: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809.tgz
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preload0p4Default.png
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preload0p4Default.png?rev=107&op=file
==============================================================================
Binary file - no diff available.
Propchange: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preload0p4Default.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preload0p4Default.tgz
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preload0p4Default.tgz?rev=107&op=file
==============================================================================
Binary file - no diff available.
Propchange: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preload0p4Default.tgz
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preload0p4Modified.png
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preload0p4Modified.png?rev=107&op=file
==============================================================================
Binary file - no diff available.
Propchange: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preload0p4Modified.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preload0p4Modified.tgz
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preload0p4Modified.tgz?rev=107&op=file
==============================================================================
Binary file - no diff available.
Propchange: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preload0p4Modified.tgz
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preloadDefault.png
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preloadDefault.png?rev=107&op=file
==============================================================================
Binary file - no diff available.
Propchange: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preloadDefault.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preloadDefault.tgz
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preloadDefault.tgz?rev=107&op=file
==============================================================================
Binary file - no diff available.
Propchange: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preloadDefault.tgz
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preloadModified.png
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preloadModified.png?rev=107&op=file
==============================================================================
Binary file - no diff available.
Propchange: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preloadModified.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preloadModified.tgz
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preloadModified.tgz?rev=107&op=file
==============================================================================
Binary file - no diff available.
Propchange: trunk/www/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_060809_preloadModified.tgz
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash+insserv+preload+hwclock+networking.png
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash%2Binsserv%2Bpreload%2Bhwclock%2Bnetworking.png?rev=107&op=file
==============================================================================
Binary file - no diff available.
Propchange: trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash+insserv+preload+hwclock+networking.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash+insserv+preload+hwclock+networking.tgz
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash%2Binsserv%2Bpreload%2Bhwclock%2Bnetworking.tgz?rev=107&op=file
==============================================================================
Binary file - no diff available.
Propchange: trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash+insserv+preload+hwclock+networking.tgz
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash+shell+insserv+preload+hwclock+networking.png
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash%2Bshell%2Binsserv%2Bpreload%2Bhwclock%2Bnetworking.png?rev=107&op=file
==============================================================================
Binary file - no diff available.
Propchange: trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash+shell+insserv+preload+hwclock+networking.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash+shell+insserv+preload+hwclock+networking.tgz
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash%2Bshell%2Binsserv%2Bpreload%2Bhwclock%2Bnetworking.tgz?rev=107&op=file
==============================================================================
Binary file - no diff available.
Propchange: trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash+shell+insserv+preload+hwclock+networking.tgz
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash+shell+insserv+preload.png
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash%2Bshell%2Binsserv%2Bpreload.png?rev=107&op=file
==============================================================================
Binary file - no diff available.
Propchange: trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash+shell+insserv+preload.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash+shell+insserv+preload.tgz
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash%2Bshell%2Binsserv%2Bpreload.tgz?rev=107&op=file
==============================================================================
Binary file - no diff available.
Propchange: trunk/www/soc2006-bootsystem/bootchart_sidKtip_dash+shell+insserv+preload.tgz
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/www/soc2006-bootsystem/bootchart_sidKtip_shell+insserv+preload.png
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootchart_sidKtip_shell%2Binsserv%2Bpreload.png?rev=107&op=file
==============================================================================
Binary file - no diff available.
Propchange: trunk/www/soc2006-bootsystem/bootchart_sidKtip_shell+insserv+preload.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/www/soc2006-bootsystem/bootchart_sidKtip_shell+insserv+preload.tgz
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootchart_sidKtip_shell%2Binsserv%2Bpreload.tgz?rev=107&op=file
==============================================================================
Binary file - no diff available.
Propchange: trunk/www/soc2006-bootsystem/bootchart_sidKtip_shell+insserv+preload.tgz
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: trunk/www/soc2006-bootsystem/bootcharts.html
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootcharts.html?rev=107&op=diff
==============================================================================
--- trunk/www/soc2006-bootsystem/bootcharts.html (original)
+++ trunk/www/soc2006-bootsystem/bootcharts.html Wed Aug 9 08:50:38 2006
@@ -57,6 +57,7 @@
<p>
<a name=preloading><b>Preloading</b></a> The Preload program from Behdad Esfahbod (a result from SoC2005) was tried again and after two reboots it showed a <b> 2 second </b> time improvement. mapprefix and exeprefix were set to empty such that all files would be accepted. The results were compared with mapprefix being <a href=log/dirpreload> set to the directories </a> 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 <b> 2 second</b> time improvent. See the <a href=bootchart_sidKtip_preload.png>bootchart of preload accepting all files</a><a href=bootchart_sidKtip_preload.tgz>(tgz)</a>and <a href=bootchart_sidKtip_preload2.png>the bootchart with a selected set of directories from mapprefix</a><a href=bootchart_sidKtip_preload2.tgz>(tgz)</a>. The boot of the reference system requires 53 seconds <a href=bootchart_sidKtip_060720.png>(png)</a><a href=bootchart_sidKtip_060720.tgz>(tgz)</a>.
</p>
+<p><a name=preloadcompare>Preload 0.2 and 0.4</a> were compared with no good results. See <a href=log/preloadcompare>log file</a>. For preload 0.2 the <a href=bootchart_debiansid_linux2.6.16_060809_preload0p4Default.png>default</a> gave 1 second more while <a href=bootchart_debiansid_linux2.6.16_060809_preload0p4Modified.png>the modified configuration</a> showed no time difference. With preload 0.4 both <a href=bootchart_debiansid_linux2.6.16_060809_preloadDefault.png>default</a> and <a href=bootchart_debiansid_linux2.6.16_060809_preloadModified.png>the modified configuration</a>.The <a href=bootchart_debiansid_linux2.6.16_060809.png>original</a> system took 51 seconds to boot.
Added: trunk/www/soc2006-bootsystem/code/testhotspots.sh
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/code/testhotspots.sh?rev=107&op=file
==============================================================================
--- trunk/www/soc2006-bootsystem/code/testhotspots.sh (added)
+++ trunk/www/soc2006-bootsystem/code/testhotspots.sh Wed Aug 9 08:50:38 2006
@@ -1,0 +1,144 @@
+#! /bin/bash
+
+date=`date +%y%m%d`
+
+
+if [[ "$2" == "dash" || "$3" == "dash" || "$4" == "dash" || "$5" == "dash" || "$6" == "dash" ]] ;
+then
+ dash=1;
+ echo "# Dash Hotspot to be tested"
+else
+ dash=0;
+fi
+
+
+if [[ "$2" == "networking" || "$3" == "networking" || "$4" == "networking" || "$5" == "networking" || "$6" == "networking" ]];
+then
+ networking=1;
+ echo "# Networking Hotspot to be tested"
+else
+ networking=0;
+fi
+
+
+if [[ "$2" == "hwclock" || "$3" == "hwclock" || "$4" == "hwclock" || "$5" == "hwclock" || "$6" == "hwclock" ]];
+then
+ hwclock=1;
+ echo "# Hardware clock Hotspot to be tested"
+else
+ hwclock=0;
+fi
+
+if [[ "$2" == "insserv" || "$3" == "insserv" || "$4" == "insserv" || "$5" == "insserv" || "$6" == "insserv" ]];
+then
+ insserv=1;
+ echo "# Reordering with Insserv Hotspot to be tested"
+else
+ insserv=0;
+fi
+
+if [[ "$2" == "parallel" || "$3" == "parallel" || "$4" == "parallel" || "$5" == "parallel" || "$6" == "parallel" ]];
+then
+ parallel=1;
+ echo "# Parallel Hotspot to be tested"
+else
+ parallel=0;
+fi
+
+
+if [[ "$2" == "preload" || "$3" == "preload" || "$4" == "preload" || "$5" == "preload" || "$6" == "preload" ]];
+then
+ preload=1;
+ echo "# Preload Hotspot to be tested"
+else
+ preload=0;
+fi
+
+
+case "$1" in
+change)
+
+
+ echo cp -r /etc/init.d /etc/init.d_$date
+
+
+ if [[ "$networking" == 1 ]];
+ then
+ echo cp /etc/init.d_new/networking /etc/init.d/
+ fi
+
+
+ if [[ "$hwclock" == 1 ]];
+ then
+ echo cp /etc/init.d_new/hwclock.sh /etc/init.d/
+ fi
+
+ if [[ "$insserv" == 1 ]];
+ then
+ echo apt-get install insserv
+ echo update-bootsystem-insserv
+ echo "Check for a correct boot order"
+ fi
+
+ if [[ "$parallel" == 1 ]];
+ then
+ echo mv /etc/default/rcS /etc/default/rcS_old
+ echo mv /etc/default/rcS_shell /etc/default/rcS
+ fi
+
+ if [[ "$preload" == 1 ]];
+ then
+ echo apt-get install preload
+ echo "Adjust the /etc/proload.conf"
+ fi
+
+
+ if [[ "$dash" == 1 ]];
+ then
+ echo apt-get install dash;
+ echo dpkg-divert --add /bin/sh;
+ echo mv /bin/sh /bin/sh_old;
+ echo cd /bin
+ echo ln -s dash sh
+ echo cd -
+ fi
+
+ ;;
+restore)
+
+ if [[ "$dash" == 1 ]];
+ then
+ echo dpkg-divert --remove /bin/sh
+ echo rm /bin/sh
+ echo mv /bin/sh_old /bin/sh
+ echo apt-get remove --purge dash
+ echo apt-get install --reinstall bash
+ fi
+
+ if [[ "$insserv" == 1 ]];
+ then
+ echo update-bootsystem-insserv restore
+ echo apt-get remove --purge insserv
+ fi
+
+ if [[ "$parallel" == 1 ]];
+ then
+ echo mv /etc/default/rcS /etc/default/rcS_shell
+ echo mv /etc/default/rcS_old /etc/default/rcS
+ fi
+
+ if [[ "$preload" == 1 ]];
+ then
+ echo apt-get remove --purge preload
+ fi
+
+ echo rm -r /etc/init.d
+ echo cp -r /etc/init.d_$date /etc/init.d
+
+ ;;
+*)
+ echo "Usage: testhotpots.sh [ change | restore ] hotspot-name1 hotspot-name2 ..."
+ ;;
+esac
+
+
Propchange: trunk/www/soc2006-bootsystem/code/testhotspots.sh
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/www/soc2006-bootsystem/log/preloadcompare
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/log/preloadcompare?rev=107&op=file
==============================================================================
--- trunk/www/soc2006-bootsystem/log/preloadcompare (added)
+++ trunk/www/soc2006-bootsystem/log/preloadcompare Wed Aug 9 08:50:38 2006
@@ -1,0 +1,22 @@
+Preload 0.2 and 0.4 comparison
+
+The installation for 0.2 was from the testing repository and 0.4 from the unstable repository. Both were removed and purged before testing the other.
+
+The bootcharts are obtained after at least 2 reboots.
+
+The configurations used for both cases are:
+
+**default configuration**
+script started in /etc/rc2.d/
+order: S95preload after S89cron before S99gdm
+/etc/preload.conf (modified to adjust to original default)
+mapprefix =
+exeprefix =
+
+**modified configuration**
+script started in /etc/rcS.d
+order: S04preload after S04mountdevsubfs.sh before S05bootlogd
+/etc/preload.conf contains
+mapprefix = /lib; /lib/lsb/; /lib/terminfo/x; /lib/tls; /usr/lib; /usr/lib/gconv; /usr/lib/locale
+exeprefix = !/usr/sbin;/usr;!/
+
Modified: trunk/www/soc2006-bootsystem/resources.html
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/resources.html?rev=107&op=diff
==============================================================================
--- trunk/www/soc2006-bootsystem/resources.html (original)
+++ trunk/www/soc2006-bootsystem/resources.html Wed Aug 9 08:50:38 2006
@@ -47,6 +47,8 @@
<a href=code/checkLSB>Script to check LSB compliance.</a>
<p>
Patch for lintian to check LSB compliance: <a href=code/lintian_init.d>lintian/checks/init.d</a> and <a href=code/lintian_init.d.desc>lintian/checks/init.d.desc</a>.
+ <p>
+ Script used to test different hotspots: <a href=code/testhotspots.sh>testhotspots.sh</a>
<h3>LSB compliance</h3>
Modified: trunk/www/soc2006-bootsystem/sitewide.css
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/sitewide.css?rev=107&op=diff
==============================================================================
--- trunk/www/soc2006-bootsystem/sitewide.css (original)
+++ trunk/www/soc2006-bootsystem/sitewide.css Wed Aug 9 08:50:38 2006
@@ -211,16 +211,16 @@
background-color: #f09005;
}
table.pkg tr.yellow {
- color: #000000;
- background-color: #ffff00;
+ color: #000;
+ background-color: #ff0;
}
table.pkg tr.green {
- color: #000000;
- background-color: #00ff00;
+ color: #000;
+ background-color: #0f0;
}
table.pkg tr.red {
- color: #000000;
- background-color: #ff0000;
+ color: #000;
+ background-color: #f33;
}
table.pkg tr.othered {
color: #000000;
More information about the Initscripts-ng-commits
mailing list