slitaz-doc-wiki-data annotate 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 |
rev | line source |
---|---|
slaxemulator@7 | 1 ====== Boot time ====== |
slaxemulator@7 | 2 |
slaxemulator@7 | 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// : |
slaxemulator@7 | 4 <file> FAST_BOOT_X="yes" </file> |
slaxemulator@7 | 5 |
slaxemulator@7 | 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. |
slaxemulator@7 | 7 |
slaxemulator@7 | 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. |
slaxemulator@7 | 9 |
slaxemulator@7 | 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: |
slaxemulator@7 | 11 |
slaxemulator@7 | 12 <code> # tazpkg get-install pybootchartgui </code> |
slaxemulator@7 | 13 |
slaxemulator@7 | 14 Pybootchartgui will then create a chart automatically in ///var/log//. |
slaxemulator@7 | 15 |
slaxemulator@7 | 16 Now, just edit your //menu.lst// file for grub and add init=/sbin/bootchartd. In my case, it's like this: |
slaxemulator@7 | 17 |
slaxemulator@7 | 18 <file> |
slaxemulator@7 | 19 title slitaz with bootchart |
slaxemulator@7 | 20 root (hd0,8) |
slaxemulator@7 | 21 kernel /boot/vmlinuz-2.6.30.6-slitaz root=/dev/sda9 init=/sbin/bootchartd quiet |
slaxemulator@7 | 22 </file> |
slaxemulator@7 | 23 |
slaxemulator@7 | 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!!!: |
slaxemulator@7 | 25 |
slaxemulator@7 | 26 {{ :en:guides:image:bootchart.png?100 |My bootchart}} |
slaxemulator@7 | 27 |
slaxemulator@7 | 28 ---- |
slaxemulator@7 | 29 \\ |
slaxemulator@7 | 30 ^ Page Review Section ^^ |
slaxemulator@7 | 31 |Quality| Good | |
slaxemulator@7 | 32 |Review| Minor Updates | |
slaxemulator@7 | 33 |Priority| Medium | |
slaxemulator@7 | 34 |Problems| add a [[http://forum.slitaz.org|forum post link]]| |
slaxemulator@7 | 35 |::: | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]| |
slaxemulator@7 | 36 |How to Improve| Suggest briefly| |
slaxemulator@7 | 37 |::: | | |
slaxemulator@7 | 38 |
slaxemulator@7 | 39 \\ |
slaxemulator@7 | 40 ---- |