Greetings,
After our earlier discussions today about writing out a catalog cache, I
started doing further work to determine what actual benefit the cache
had. The following applies to my desktop system which has the extra,
opensolaris.org dev, and righthook punchin publishers & repositories
configured.
A pkg list -a takes about 7.2s (on average) with the gate tip version of
pkg(5).
If I instead change that to not bother loading the catalog cache at all,
but just re-generating it, that only goes up to about 7.9s. So caching
the catalogs is only gaining us about .7s, which doesn't seem like a big
benefit given that the catalog cache takes up 7.3M right now.
So, at this point, I think it's just best to ditch the catalog cache
completely.
I can revisit making other scenarios faster (such as all installed
packages or other scenarios we discussed) later.
Thoughts?
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss