[email protected] wrote:
One of the use cases that used to be problematic was the full list of packages in the catalog. I think that's equivalent to list -af in today's code. Any idea how the removal of the cache affects the performance of that case?
It has a negligible impact (less than second on average) on a fast system (Core 2 Duo E8400 @ 3.0 GHz) with lots of memory (8GB).
On a slower system (Core 2 Duo T7700 @ 2.4GHz) with far less memory (2GB), it's slightly slower (by as much as a few seconds).
As Danek pointed out, most of the performance improvement for list came from not stat'ing "a zillion files."
Still, for the reasons I outlined in another reply, it seems better to keep the catalog cache for now until a more detailed performance analysis of different parts of the system can be performed.
I do have an improved version though I'll send out a webrev for soon. Cheers, -- Shawn Walker _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
