[OE-core] opkg-make-index cache failing

Koen Kooi koen at dominion.thruhere.net
Fri Nov 25 18:15:21 UTC 2011


Op 25 nov. 2011, om 17:53 heeft Richard Purdie het volgende geschreven:

> On Fri, 2011-11-25 at 16:38 +0100, Koen Kooi wrote:
>> In OE-classic the opkg-make-index cache was working pretty well,
>> do_rootfs only spent a few seconds doing opkg-make-index on
>> incremental builds. In the OE-core world the situation is different,
>> opkg-make-index will reindex every package on each do_rootfs run, so
>> after a while building images starts taking *really* long, on my
>> systemd (work/ on ssd, deploy on rotating media) it now takes
>> ±7minutes just do refresh the opkg indices.
>> 
>> Since I can't blame sstate for this I suspect that pseudo gets in the
>> way of the naive caching logic. Is there a simple way to turn off
>> pseudo when running opkg-make-index?

With a relatively small deploy:

real	6m14.611s
user	2m45.909s
sys	0m43.674s

> You could try:
> 
> PSEUDO_DISABLED=1 opkg-make-index

real	5m25.920s
user	2m41.279s
sys	0m41.681s

> or even
> 
> PSEUDO_UNLOAD=1 opkg-make-index

real	5m5.699s
user	2m37.283s
sys	0m37.508s

Now I need to double check to see if  the patches are really having effect on the opkg caching instead of just not having pseudo overhead.

regards,

Koen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111125/4e42d4e7/attachment-0002.sig>


More information about the Openembedded-core mailing list