Speeding up live cd boot through optimizing file layout

Krzysztof Lichota krzysiek at lichota.net
Wed May 31 10:24:11 BST 2006


Matt Zimmerman napisał(a):
> On Tue, May 30, 2006 at 11:22:37AM +0200, Krzysztof Lichota wrote:
>> Matt Zimmerman napisał(a):
>>> The above was written in response to a proposal to move the single most
>>> frequently accessed file to the edge of the disk; what you are describing is
>>> something quite different: grouping the files read at boot in one place on
>>> the disc.
>>>
>>> This, in fact, has a reasonable chance of improving performance, since all
>>> of these files are read in a single pass by /etc/init.d/readahead.
>> Interesting. I will try moving these files to the end of Squashfs image.
> 
> In case you didn't know, this data can be found in /etc/readahead, in
> exactly the order used for readahead during startup.

I have tried putting these files at the edge and the results are 10
seconds worse. Apparently seeks are more frequent and throughput is not
an issue.
So sorting by first access gives currently the best results.

	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/ubuntu-devel/attachments/20060531/e9bb9b06/signature.pgp


More information about the ubuntu-devel mailing list