浏览代码

Merge branch 'blosc' into merge-all

Thomas Waldmann 10 年之前
父节点
当前提交
6f1ea66b1e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      attic/key.py

+ 1 - 1
attic/key.py

@@ -210,7 +210,7 @@ class BLOSCCompressor(object):
             raise NotImplemented("%s compression needs blosc from PyPi" % self.CNAME)
         if self.CNAME not in blosc.compressor_list():
             raise NotImplemented("%s compression is not supported by blosc" % self.CNAME)
-        blosc.set_blocksize(8192)  # maybe 8 threads processing a 64KB chunks -> 8KB block
+        blosc.set_blocksize(16384)  # 16kiB is the minimum, so 64kiB are enough for 4 threads
 
     def _get_level(self):
         raise NotImplemented