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

Joel Newkirk freerunner at newkirk.us
Fri Oct 24 05:53:06 CEST 2008

On Fri, 24 Oct 2008 01:51:54 +0200, Adrian-Ken Rueegsegger <ken at gmx.ch>
> 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

Have you clocked Qi?
(http://people.openmoko.org/andy/qi-andy_ab8665e9ac10a054.udfu)  My
stopwatch tests have it booting SHR almost 30% faster than uBoot.  (though
it's got issues, like needing to hold power twice to boot, and often not
returning from suspend)


More information about the devel mailing list