Liane Praza wrote:
Brock Pytlik wrote:
Webrev:
http://cr.opensolaris.org/~bpytlik/ips-13058-v1/

13058 search makes resolve go slow

This webrev cuts the time to resolve ON from 4:30 to about 15 secs. The memory used goes from about 110M to about 180M.

I tested this on x86 and get similar results. (Hoping to test on sparc later today, but I'm not sure I'll have the chance to get the environment set up.)

The code looks reasonable to me, but I'm hardly an expert.

liane
As a follow up, Liane and I both tested this on sparc.

Using the gate bits, she found resolve took 17 mins with the old version, and 33 secs with the new one. I killed the gate bits after 25 mins, which the new version took 2:46. On a second run which finished in 2:40, about 2:13 seconds was spent loading the various manifests, once that was done, resolving the dependencies took 13 seconds. It's possible that loading the manifests could be parallelized on sparc for extra speedup since the processor was essentially pegged the entire time. I'll leave that as another bug though in the interest of getting this back now.

Brock
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to