Op 25 nov. 2011, om 19:15 heeft Koen Kooi het volgende geschreven: > > 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.
Retesting without PSEUDO changes: real 5m18.412s user 2m40.736s sys 0m41.374s So the PSEUDO changes don't seem to do much :(
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core