ByteString I/O Performance

Tony Finch dot at dotat.at
Thu Aug 30 11:28:56 EDT 2007


On Thu, 30 Aug 2007, Bulat Ziganshin wrote:
> 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

Small buffer performance is important for dealing with many concurrent
low-bandwidth network connections.

Tony.
-- 
f.a.n.finch  <dot at dotat.at>  http://dotat.at/
IRISH SEA: SOUTHERLY, BACKING NORTHEASTERLY FOR A TIME, 3 OR 4. SLIGHT OR
MODERATE. SHOWERS. MODERATE OR GOOD, OCCASIONALLY POOR.


More information about the Libraries mailing list