I discovered that when importing a 7z'ed package, we're reading data from
the 7z pipe one character at a time, which slows things down a bit.  I
filed

    5724 seriously suboptimal bufsize in cpiofile.py

and have fixed this globally with

    http://cr.opensolaris.org/~dduvall/pkg-bufsize/

by making the default buffer size 128k for pkgsubprocess, and confirmed
that it does speed up an import (just slurping the data out of the packages
and writing directly to a filesystem takes 11 minutes on my system now,
where I'd stopped it after 20+ minutes before, when it seemed maybe a third
to a half of the way through).

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

Reply via email to