Michal Pryc wrote:
> Hi,
> I have already asked about this few months back:
> http://mail.opensolaris.org/pipermail/pkg-discuss/2008-March/002217.html
> 
> There is an script which shows how the description are taken from the 
> manifest file. To get GUI up and running we need to have descriptions 
> for *all* packages, so currently this is quite long task, more then that 
> this is even longer if the manifests are not in the local catalog.
> 
> The acceptable time for such option would be less then 1 seconds which 
> is far from what is now. Currently each time user starts GUI the number 
> of opened manifest files is the number of all packages, just to get 
> description, that is why I think (I might be wrong) that caching this 
> kind of information will give huge performance improvement.
> 
> If you have any other suggestions I would be very happy to go other then 
> caching way.
> 
> The bug 243 should cover this as Danek wrote in that thread:
> http://defect.opensolaris.org/bz/show_bug.cgi?id=243
> 
> I am attaching dtrace script which shows opened  and written files (O/W) 
>  running this script together with the script attached in the e-mail 
> from March would give information how much files needs to be opened and 
> how slow is getting description information.
> 
> ./print_changes.d /path/to/the/ips/catalog


Rather than caching, etc, I'd like to suggest that using the search
mechanism to retrieve information is a better  approach.

This would allow for the quick retrieval of descriptions, icons, etc,
from current or new repos.

- Bart

-- 
Bart Smaalders                  Solaris Kernel Performance
[EMAIL PROTECTED]               http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to