[Cascavel-pm] OFF: Reducing Boot Time On a General Linux Distro / Bootchart

Nelson Ferraz nferraz em gmail.com
Terça Setembro 30 15:16:37 PDT 2008


Notícia interessante no slashdot:

"In this blog entry, Fred Crozat (head of Mandriva's engineering team
in France) explains in great detail how his team has been detecting
and getting rid of bottlenecks in the boot process, from the early
stages to loading the desktop environment, thus decreasing overall
boot time. An informative tour of the nuts and bolts of the boot
process and how they can be tinkered with: initrd, initscripts, udev,
modprobe calls. The basic tool they use for performance analysis is
bootchart, which produces a map of process information and resource
utilization during boot. The final trick: preloading desktop
environment files while waiting for the user to type her password."

http://linux.slashdot.org/linux/08/09/30/157211.shtml

A partir da notícia, fiquei sabendo do bootchart:

Bootchart is a tool for performance analysis and visualization of the
GNU/Linux boot process. Resource utilization and process information
are collected during the boot process and are later rendered in a PNG,
SVG or EPS encoded chart.

Bootchart provides a shell script to be run by the kernel in the init
phase. The script will run in background and collect process
information, CPU statistics and disk usage statistics from the /proc
file system. The performance data are stored in memory and are written
to disk once the boot process completes.

The boot log file is later processed using a Java application (or the
web form) which builds the process tree and renders a performance
chart in different formats.
(Vincent Caron ported the SVG renderer to Perl.)

http://www.bootchart.org/


Mais detalhes sobre a lista de discussão Cascavel-pm