This has been too long in coming, and falls a little short of what
I'd hoped for; but, it's nice to have anyway:

http://cr.opensolaris.org/~dp/ips-perf

The high level summary is:

Before fixes:

$ ptime pkg install -n redistributable
real     1:32.421
user     1:22.041
sys         6.450

After fixes:

$ ptime pkg install -n redistributable
real     1:07.109
user     1:02.011
sys         1.223

There's more we can do.  I'll keep looking at performance improvements
as I have time.  Danek gave me a patch which I don't have in this wad
which does seem to help, but which broke in some of the recent code
change.

Tonight I was pleased with this result, over our 100Mbs LAN in the
office:

# export PKG_IMAGE=/zfs/test
# pkg image-create -a ipkg=http://ipkg.eng /zfs/test
# ptime pkg install slim_install
real     6:11.868
user     1:40.812
sys        43.341

# ptime pkg image-update  (Null update)
real       15.082
user       12.764
sys         0.229

Just over 6 minutes, or about 4.5MB/s = 36Mb throughput-- not too
shabby.  And clearly, there's room to squeeze that down further,
although some of the optimizations will likely become more challenging.

Anyway, this gives an approximate idea of how fast we might be able to
provision enterprise systems in the data center, in the near future.
Indeed, it could be even faster in a datacenter with gigabit links.

        -dp

-- 
Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to