Shawn Walker wrote:

> >Now, the times for writing are radically different than the catalog
> >caching times I see, so presumably something else is going on there
> >(sorting?), but the speedups are nice, and quite nice on read.
> 
> Catalog caching?  I assume you mean what happens during 'pkg refresh' ?

Yes.

> The dtrace profile of a 'pkg refresh --full' for the /dev repository
> seems to indicate that vast majority of the time spent is in JSON
> encode/decode.

Hm, okay.  That's what I'd understood, but writing the object I'd just
loaded in takes a second and a half on my x86 box, while an image create
takes about a minute, most of which is spent with "Caching catalog ..." as
the status.  Perhaps encoding the catalog as a JSON object is the slowdown,
or perhaps I'm timing the wrong thing, but somewhere the two don't compare
properly, which is confusing.

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

Reply via email to