Browse Source

blosc: increase blocksize to 16kiB

Thomas Waldmann 10 năm trước cách đây
mục cha
commit
32fa83c156
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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