mmeeks / bootchart
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
commit 07259ddce907dc4367cdfa73292916cb5a3a2061
tree 0edb33b5032a35350df1248827d38b349353ebbd
parent 8dcb1620c67518a5523a68890ad930bc161a635f
tree 0edb33b5032a35350df1248827d38b349353ebbd
parent 8dcb1620c67518a5523a68890ad930bc161a635f
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Nov 26 03:10:52 -0800 2009 | |
| |
AUTHORS | Thu Nov 26 03:34:48 -0800 2009 | |
| |
COPYING | Wed Jan 21 12:40:41 -0800 2009 | |
| |
Makefile | Tue Feb 02 02:43:43 -0800 2010 | |
| |
NEWS | Tue Feb 02 02:43:33 -0800 2010 | |
| |
README | Mon Feb 01 09:23:37 -0800 2010 | |
| |
README.pybootchart | Thu Nov 26 03:34:48 -0800 2009 | |
| |
TODO | Fri Jan 22 07:44:10 -0800 2010 | |
| |
bootchartd | Tue Feb 02 02:40:14 -0800 2010 | |
| |
bootchartd.conf | Wed Jan 20 08:02:22 -0800 2010 | |
| |
collector/ | Tue Nov 24 04:38:54 -0800 2009 | |
| |
examples/ | Wed Apr 22 12:56:12 -0700 2009 | |
| |
pybootchartgui.py | Sun Jun 14 06:39:19 -0700 2009 | |
| |
pybootchartgui/ | Mon Feb 01 09:23:37 -0800 2010 | |
| |
setup.py | Sun Jul 26 07:22:23 -0700 2009 |
README
bootchart2
------------
bootchart2 was created from the fusion of three separate
pieces of work. First - the original bootchart: a shell script, and a
Java visualisation tool written by Ziga Mahkovec. Some of the original
shell scripting, and the concept remain unchanged from this time.
bootchart2 replaces the Java visualisation with the more
friendly and flexible pybootchartgui (cf. README.pybootchart) written
by Anders Norgaard and Henning Niss, this lives mostly in the
pybootchart/ sub-directory.
bootchart2 embeds a new collector, based on a port to C of the
inner-loop of the original bootchart collector shell-script by Scott
James Remnant. This has been subsequently re-written by Michael Meeks
to use the higher granularity 'taskstat' data available via a twisted
netlink interface.
Using bootchart2 ?
--------------------
After install, simply add these options to your kernel
command-line, normally in /boot/grub/menu.lst:
initcall_debug printk.time=y quiet init=/sbin/bootchartd ...
Then - after bootup, run 'pybootchartgui -i' to get an interactive
chart rendering tool.
Why bootchart2 ?
------------------
There are a number of interesting additional features:
* higher resolution - the taskstat interface gives nanosecond
timing information, where /proc/*/stat information is far,
far less reliable and useful.
* higher performance - the C re-write allows us to collect more
data, more quickly - sampling at ~50+Hz.
* no Java dependency - with the visualisation in easy-to-hack
python, development is quicker, and dependencies more commonly
found.
* built-in visualisation - allowing some level of interaction,
zoom and so on.
* better rendering - render to png, or svg, with added event
annotation support.
* cumulative, and total CPU time graphing in the boot-chart.
* and no doubt more by the time this is actually read.
Contributing
--------------
For potential future work, see the TODO, and/or mail the authors,
all patches welcome.
