9/24/08

Bootchart on Ubuntu hardy

Today I'm searching for a way to make my box boot up faster and found this tool. Bootchart can use for analyze and visualization boot process.
To install bootchart.

pnix@pnix-a7n:~$ sudo aptitude install bootchart
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following NEW packages will be automatically installed:
librsvg2-bin
The following NEW packages will be installed:
bootchart librsvg2-bin
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 121kB of archives. After unpacking 324kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://mirror1.ku.ac.th hardy/main librsvg2-bin 2.22.2-2 [21.3kB]
Get:2 http://mirror1.ku.ac.th hardy/main bootchart 0.9-0ubuntu7 [99.8kB]
Fetched 121kB in 1s (90.6kB/s)
...
Building tag database... Done
pnix@pnix-a7n:~$

then reboot to see the result[in /var/log/bootchart].

Mine take about 34 seconds to boot. Not too bad for six years old box(Athlon XP 1700+, A7N8X-E deluxe, 1G Memory, SATA), but I want faster.
From graph I found few process i install long time ago, and some default configure to autoboot. e.g. avahi-daemon, cvsd, laptop-mode[powernowd], smokeping, winbind.
So, take it out with rcconf, reboot again and see the result.

30 seconds wow I safe 4 sec.

0 comments: