ByteString I/O Performance

Donald Bruce Stewart dons at cse.unsw.edu.au
Thu Aug 30 08:04:34 EDT 2007


bulat.ziganshin:
> Hello Peter,
> 
> Thursday, August 30, 2007, 12:05:02 AM, you wrote:
> >> bufsize = 4 * 1024
> 
> i recommend you to try larger buffer. on my hardware, 256k was optimal

I agree. Something a little less than cache-sized seems best.

-- Don


More information about the Libraries mailing list