Boost logo

Boost Users :

Subject: [Boost-users] Increase iostream zlib filter buffer size
From: rajiv82 (rajiv82_at_[hidden])
Date: 2011-03-14 14:49:56


I am using boost serialization(binary_oarchive) with iostream zlib filter.
It is working fine but its too slow(takes 10hrs). After debugging I could
see the buffer size as 4KB. My data is about 600MB.

How can I increase the size of buffer to say 10MB.

I tried following options:-

1. passing buffer size in zlib_compressor.
2. Redefining BOOST_IOSTREAMS_DEFAULT_DEVICE_BUFFER_SIZE to 10485760

But none of above seems to work.

Please guide.

--
View this message in context: http://boost.2283326.n4.nabble.com/Increase-iostream-zlib-filter-buffer-size-tp3354705p3354705.html
Sent from the Boost - Users mailing list archive at Nabble.com.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net