bootchart on gentoo

Well after reading an article on OpenRC at Roys webs, I decided to take a look at my current system. I started by emerging bootchart.

Firstly I needed to unmask bootchart

echo "app-benchmarks/bootchart" >> /etc/portage/package.keywords

I then enabled the java use flag so I get the java code to generate png files

echo "app-benchmarks/bootchart java" >> /etc/portage/package.use

then I emerged it

emerge -av bootchart

I had to add init=/sbin/bootchartd to the end of the /etc/grub/grub.conf kernel line like this

kernel /boot/kernel-2.6.23-tuxonice-r11 root=/dev/sda3 init=/sbin/bootchartd

Then I editted the /etc/conf.d/rc and changed




I enabled the auto chart creation by editing /etc/bootchartd.conf and changing




This is what I got the first time.

Virtually all of my boot time is spent checking the internal tree of the 2 300Gb disks. One disk took around 17 seconds to check and the second one too around 15 seconds (its slightly smaller). Both are reiserfs. Both disks were unmounted cleanly and the fsck knew they were clean file systems, but the tree check still takes some time.

Do I really want it to not check the file system when it boot? That is the question…..

Heres the bootchart with the check disk disabled

I just changes the /etc/fstab entry from

/dev/sda3		/		reiserfs	noatime		0 1


/dev/sda3		/		reiserfs	noatime		0 0

I didnt enable the Process Accounting part so some short-lived process may not appear in the bootchart images. Ill try this next and see if I anything interesting.

One Response to “bootchart on gentoo”

  1. David Says:

    If the Gentoo user has version 1.x of the package “sys-apps/baselayout” then the user will not have to add “init=/sbin/bootchartd” to the kernel line in grub’s menu.lst, rather the post-emerge message will direct the user to set RC_USE_BOOTCHART=”yes” in /etc/conf.d/rc

Leave a Reply