Re: bootcache optimization
Re: bootcache optimization
- Subject: Re: bootcache optimization
- From: Mike Smith <email@hidden>
- Date: Mon, 20 Mar 2006 10:32:47 -0800
On Mar 20, 2006, at 10:17 AM, Jonathan Guy wrote:
This is an extract from the bootcache source code
* We support preloaded cache data by checking for a Mach-O
* segment/section which can be populated with a playlist by the
* linker. This is particularly useful in the CD mastering process,
* as reading the playlist from CD is very slow and rebuilding the
* kext at mastering time is not practical
I was wondering if any one could shed any light on what this means.
If you look at /etc/rc, you'll see that BootCacheControl is invoked
to load the
BootCache playlist, which tells BootCache what to cache.
In the boot-from-CD case, getting to that point takes quite a while
and the
contents of the CD aren't going to change, so you can optimise the
process
by pre-computing the layout up front and inserting the playlist
directly into
the kext.
This is really only interesting if you are mastering or re-mastering
bootable
Mac OS media; the tools used for developing the BootCache playlist for
these media aren't distributed since this is typically something that
Apple
does internally.
= Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden