Speeding up live cd boot through optimizing file layout

Krzysztof Lichota krzysiek at lichota.net
Wed May 31 11:13:28 BST 2006

Krzysztof Lichota napisał(a):
> (Posted also to ubuntu-devel)
> I have taken a shot at optimizing boot speed of Kubuntu live CD by
> changing layout of files on CD (no changes to live CD contents).
> First results are promising. By using naive approach to sort files by
> first access during boot, I have shortened boot time by 15-20 seconds
> (from 1:53s to 1:33s on desktop machine, from 2:07s to 1:52s on laptop).
> This is time reported by bootchart, probably time until desktop appears
> is further shrunk.
> More details (including tools, bootcharts, sort file used for mksquashfs
> and ISO images) are on this page:
> http://lichota.net/~krzysiek/projects/kubuntu/dapper-livecd-optimization/
> I will try to squeeze more from this live CD, it seems there is room for
> further improvements.
> Verifications of results by some independent person would be welcome :)

I have timed boot manually until desktop appears. The results are really
interesting :)
Optimized CD boots 60 seconds faster in comparison to plain CD with
bootchart and about 35 seconds faster than original kubuntu RC1 live CD.
I haven't measured optimized CD without bootchart yet :)

Exact results:
Desktop - Athlon 1.2 Ghz, 256 MB RAM: Kubuntu with bootchart (3:44,
3:54), optimized CD with bootchart (2:47, 2:47), plain Kubuntu (3:22, 3:25)

I have updated my page
with latest results and added description how to produce trace (for
example for Ubuntu and Xubuntu).

	Krzysztof Lichota

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/kubuntu-devel/attachments/20060531/7ad2a31c/signature.pgp

More information about the kubuntu-devel mailing list