Bootchart2

This script is run instead of init during the boot process after the kernel is loaded and measures the time during this process. With the aid of an script in the project's Git repository, it generates nice charts which show when each daemon started and stopped.

Installation
You can install with the following command:

Then add the daemon to the default runlevel. This is needed to stop the bootchart process and generate the image:

Kernel
To get more verbose information:

Usage
How to enable bootchart2 during boot and access the generated charts.

Bootloader

 * For any GRUB based bootloader, the kernel commandline can be changed during boot by pressing in the boot menu, then edit the kernel commandline and press  to boot with changed parameters. The following options should be added:
 * 'initcall_debug' - append timing data to each initcall
 * 'printk.time=y' - append timing data to each message during initialization
 * 'init=/sbin/bootchartd' - replace the default command for initialization with to start our benchmark


 * To change the entry static for GRUB2 (bootchart on every boot):

Analyzing the output
The values are stored in as a compressed tarball.

A script that generates an easier-to-analyze PDF or PNG from this tarball can be found on the project's homepage, by cloning the git repository, and then running  and. The script requires.

External resources

 * homepage