slitaz-doc-wiki-data view 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 source
1 ====== Boot time ======
3 SliTaz boots fast! But most likely you haven't turned super fast boot on yet. To do this, just edit your ///etc/rcS.conf// :
4 <file> FAST_BOOT_X="yes" </file>
6 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.
8 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.
10 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:
12 <code> # tazpkg get-install pybootchartgui </code>
14 Pybootchartgui will then create a chart automatically in ///var/log//.
16 Now, just edit your //menu.lst// file for grub and add init=/sbin/bootchartd. In my case, it's like this:
18 <file>
19 title slitaz with bootchart
20 root (hd0,8)
21 kernel /boot/vmlinuz-2.6.30.6-slitaz root=/dev/sda9 init=/sbin/bootchartd quiet
22 </file>
24 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!!!:
26 {{ :en:guides:image:bootchart.png?100 |My bootchart}}
28 ----
29 \\
30 ^ Page Review Section ^^
31 |Quality| Good |
32 |Review| Minor Updates |
33 |Priority| Medium |
34 |Problems| add a [[http://forum.slitaz.org|forum post link]]|
35 |::: | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
36 |How to Improve| Suggest briefly|
37 |::: | |
39 \\
40 ----