[poky] Rough timing of rpm vs opkg rootfs builds

Richard Purdie rpurdie at linux.intel.com
Sun Nov 14 09:28:08 PST 2010


On Fri, 2010-11-12 at 10:12 -0500, R P Herrold wrote:
> On Fri, 12 Nov 2010, Richard Purdie wrote:
> 
> > I suspect there is an optimisation that can be added for the rpm
> > indexing to make this incremental updating possible.
> 
> Usually naiive ('Rough') timing tests with rpm do not disable 
> un-needed checksum cross checks, key verifications, and such, 
> which are senseless in a closed or protected build environment
> 
> Publishing the testing harnesses would permit evaluation of 
> such -- absent a second person checking the methodology, it is 
> probably premature to start kinkering.  Publishing final 
> numbers without a reproduceable methodology is just not good 
> science

Whilst Saul didn't specifically mention it, these numbers come from a
build system which is designed for reproducible builds. Saul is probably
doing something like enabling the ipk or rpm package backends, then
simply running:

time bitbake poky-image-minimal

then running it again so only the rootfs generation happens. The logs
output to the console will make it clear if that is the case or not.

So the tests can easily be reproduced and I'd welcome anyone else to
look into what the rootfs task is spending its time doing. The ideas you
mention above about checksums and key verifications would be very
interesting to looking into, particularly as we're in a closed
environment.

Cheers,

Richard







More information about the poky mailing list