[PATCH] bootcharts diskstat support (was Re: boot the eeepc in 5 seconds)

Adrian-Ken Rueegsegger ken at gmx.ch
Fri Oct 24 01:51:54 CEST 2008


Hello Harald,

Harald Welte wrote:
> Hi!

[snip]

> I've noticed that Alessandro complains there are no disk (flash) usage
> statistics in bootcharts.  I've cooked up an (untested) patch to fix this for
> both mtd and mmcblk devices:

Thanks for the patch. Disk throughput/utilization is still not showing
up though. AFAIK mtd devices do not write anything to /proc/diskstats so
support for that would need to be added to the kernel in order to have
such statistics.

Since you posted this patch I assume you are also looking into boot time
:) I use rasters bare illume-image (without FSO etc) as the base of my
experiments. With my latest changes it boots in about 50 seconds. So far
my focus is on init and not kernel+uboot which take ~20 secs. I will try
to toss out some patches against oe over the weekend if anybody is
interested.

Would you mind sharing what you are focusing on? Maybe we could
coordinate/"pool ressources" to some extent?

Regards,
Adrian



More information about the devel mailing list