> 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/
This change means that by default we've switched from unbuffered subprocess I/O to a 128k in all cases. I realize that this speeds up the importing of 7z pkgs, but does it have any adverse effects elsewhere? Do we really need a 128k buffer for every subprocess that we invoke? -j _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
