aboutsummaryrefslogtreecommitdiff
path: root/Documentation/performance.txt
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-06-20 21:22:00 +0200
committerJakob Unterwurzacher2017-06-20 21:22:00 +0200
commit3c6fe98eb1e5dada2613664182ead18be9e68819 (patch)
tree46b9a79ff38db49b203fe6773b9eb046e3b7b64e /Documentation/performance.txt
parent609343accf37505fbf0f7916044f0318f35dac4f (diff)
contentenc: use sync.Pool memory pools for encryption
We use two levels of buffers: 1) 4kiB+overhead for each ciphertext block 2) 128kiB+overhead for each FUSE write (32 ciphertext blocks) This commit adds a sync.Pool for both levels. The memory-efficiency for small writes could be improved, as we now always use a 128kiB buffer.
Diffstat (limited to 'Documentation/performance.txt')
0 files changed, 0 insertions, 0 deletions