slitaz-doc-wiki-data diff pages/en/guides/boottime.txt @ rev 7

Add pages/en folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 26 12:17:18 2011 +0000 (2011-02-26)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pages/en/guides/boottime.txt	Sat Feb 26 12:17:18 2011 +0000
     1.3 @@ -0,0 +1,40 @@
     1.4 +====== Boot time ======
     1.5 +
     1.6 +SliTaz boots fast! But most likely you haven't turned super fast boot on yet. To do this, just edit your ///etc/rcS.conf// :
     1.7 +<file> FAST_BOOT_X="yes" </file>
     1.8 +
     1.9 +Remove dbus, hald and slim from the RUN_DAEMONS array. That's all. Note, on some machines, FAST_BOOT_X may not boot properly. However, if Xvesa/Xorg works after you enable this feature, it's safe to leave it on. 
    1.10 +
    1.11 +Now, how do you measure the boot time? SliTaz logs time that rcS scripts take to run in the ///var/log/boot-time// file. In my case, it shows 5 secs. 
    1.12 +
    1.13 +But, how do you graph your full boot process (including the kernel-boot time)? Its quite easy on SliTaz. Just do and install the following:
    1.14 +
    1.15 +<code> # tazpkg get-install pybootchartgui </code>
    1.16 +
    1.17 +Pybootchartgui will then create a chart automatically in ///var/log//. 
    1.18 +
    1.19 +Now, just edit your //menu.lst// file for grub and add init=/sbin/bootchartd. In my case, it's like this:
    1.20 +
    1.21 +<file>
    1.22 +title slitaz with bootchart
    1.23 +root (hd0,8)
    1.24 +kernel /boot/vmlinuz-2.6.30.6-slitaz root=/dev/sda9 init=/sbin/bootchartd quiet
    1.25 +</file>
    1.26 +
    1.27 +Here's my boot chart with WPA2 wifi (under 10 secs boot time on a laptop with hard disk). This is out-of-the-box!!!:
    1.28 +
    1.29 +{{ :en:guides:image:bootchart.png?100 |My bootchart}}
    1.30 +
    1.31 +---- 
    1.32 +\\
    1.33 +^  Page Review Section  ^^ 
    1.34 +|Quality| Good  |
    1.35 +|Review| Minor Updates  |
    1.36 +|Priority| Medium |
    1.37 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
    1.38 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
    1.39 +|How to Improve| Suggest briefly|
    1.40 +|::: |  |
    1.41 +
    1.42 +\\
    1.43 +----
    1.44 \ No newline at end of file