diff options
author | mav <mav@FreeBSD.org> | 2013-11-14 15:54:54 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2013-11-14 15:54:54 +0000 |
commit | 6e9db1ae07ead0c119124d91f051e1c076e63818 (patch) | |
tree | b97262b54400758d2e8588e23e8e0d9287b149fa /contrib/gcclibs/libcpp/directives.c | |
parent | 9dcbb8e88d3f051a7ee6593c53e5ad49e4904bfd (diff) | |
download | FreeBSD-src-6e9db1ae07ead0c119124d91f051e1c076e63818.zip FreeBSD-src-6e9db1ae07ead0c119124d91f051e1c076e63818.tar.gz |
Introduce allocation cache to store LZ4 compression contexts without kicking
VM subsystem twice for every written record.
Tests on 24-core system show double reduction of CPU time spent on copying
single large well-compressed file.
This patch is not really needed on illumos (while not harm either) since
their memory allocator by default uses caching for all requests up to 128K.
Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com>
Diffstat (limited to 'contrib/gcclibs/libcpp/directives.c')
0 files changed, 0 insertions, 0 deletions