[Sugar-devel] SoaS on XO bootcharts

Wade Brainerd wadetb at gmail.com
Wed Mar 4 10:19:08 EST 2009

These charts are really interesting (and nice looking!).  The whole thing
probably requires a lot of analysis to make real gains though.  I wonder
what all those calls to 'cat' are in the first chart.  I also wonder if it
would be possible to defer network initialization until after the GUI comes
up.  Does anyone know if SoaS uses JFFS2 compression?

Also, I finally got around to posting my initscripts.  They are highly
specific to my XO, and I'm not sure how it would be possible to get anything
like them into a mainstream distro since I've essentially removed the rc.d
system.  But someone with more knowledge of the Kickstart process might be
able to figure something out.


My general approach has been to strip the init process down to the bare
minimum to boot the GUI, preferrably all inside the 'rc.sysinit' script.
Note that my 'rc' script is an empty file, so there are no runlevels. This
setup gets to my desktop in about 45 seconds off NAND with JFFS2


On Tue, Mar 3, 2009 at 5:57 PM, Martin Dengler <martin at martindengler.com>wrote:

> For my OLPC/XO-1 laptop these days, I'm using the Sugar-on-a-Stick
> kickstart files[1]. I want my XO to boot fast, not because I boot it a
> lot, but because it boots really, really slowly right now.  So I
> installed bootchart, changed olpc.fth to use it, rebooted, and voila,
> got this chart:
> http://www.martindengler.com/proj/soas/Soas-200903022241-bootchart.png
> Then I edited /etc/bootchartd.conf to use process accounting, and got
> this chart:
> http://www.martindengler.com/proj/soas/Soas-200903022241-bootchart-psacct.png
> I booted without my SD card (which isn't the boot device - I'm booting
> off NAND) inserted, and got this chart:
> http://www.martindengler.com/proj/soas/Soas-200903022241-bootchart-psacct-nosdcard.png
> So there's some work to do to fix some SD card badness...
> Meanwhile, looks like I should get more familiar with rc.sysinit.
> The data for the above charts are all available at:
> http://www.martindengler.com/proj/soas
> I figured some people might be interested in this.  Thanks to
> sdziallas, erikos, marcopg, and the whole SoaS team for their great
> work.
> Martin
> 1. slightly modified to add more personally-interesting RPMs,
> including bootchart:
> http://git.sugarlabs.org/projects/soas/repos/mtds-clone/blobs/soas-devxo/soas-developer.ks
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/sugar-devel/attachments/20090304/9a3c8073/attachment.htm 

More information about the Sugar-devel mailing list