On Tue, Feb 10, 2009 at 01:14:08PM -0800, Brock Pytlik wrote:

> [email protected] wrote:
>
>> I'd be happy to write the module, when I get some more free time.
>> Provided we'll actually use it to make sensible decisions about buffer
>> size.
>
> This would be great to have.

It does help to actually check these things out.  Use os.statvfs().f_bsize.

> In the bit of the search was I'm working on, I think changing the buffer
> size from the default up to 128k gave about a 20-30% speed boost in
> overall install time.

That was on pipes, though; statvfs() wouldn't have helped there, as there
was no vfs to stat (at least, not one reachable by a pathname).

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

Reply via email to