[OE-core] [PATCH] python-smartpm: Add an attempt install mode

Paul Eggleton paul.eggleton at linux.intel.com
Wed Sep 11 10:04:20 UTC 2013


Hi Mark,

On Tuesday 10 September 2013 21:04:29 Mark Hatle wrote:
> Time measurements with:
> 
> MACHINE = "qemux86"
> PACKAGE_CLASSES = "package_rpm"
> EXTRA_IMAGE_FEATURES = "dev-pkgs staticdev-pkgs doc-pkgs dbg-pkgs
> ptest-pkgs" BB_NUMBER_THREADS ?= "8"
> PARALLEL_MAKE ?= "-j 8"
> 
> image: core-image-sato
> 
> Quad Core i7 workstation...
> 
> With all of the recipes built, and just executing the do_rootfs:
> 
> Before this change:
>   real    26m2.541s
>   user    21m8.458s
>   sys     7m9.683s
> 
> After this change:
>   real    14m43.436s
>   user    15m57.525s
>   sys     5m16.412s
> 
> This is a significant performance boost when using the 'complementary'
> installs and attemptonly installs.  The performance is by doing the
> complementary installs as a batch instead of one at a time, ignoring
> failures.

This is a significant improvement, well done! My concern about not catching 
failures stands though, which is why I hadn't implemented this yet. How do we 
ensure that genuine failures are caught with this mode?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list