diff options
author | Rongqi Sun <sunrongqi@huawei.com> | 2024-06-28 09:39:33 +0200 |
---|---|---|
committer | Rongqi Sun <sunrongqi@huawei.com> | 2024-08-12 12:10:00 +0200 |
commit | 317465c07b348d3b9c91f0295ae9db29fa4dddf6 (patch) | |
tree | bef68b3518d4e848314750492d6e9028c0828320 /src/include | |
parent | Merge pull request #58883 from idryomov/wip-backport-create-resourceattrerror (diff) | |
download | ceph-317465c07b348d3b9c91f0295ae9db29fa4dddf6.tar.xz ceph-317465c07b348d3b9c91f0295ae9db29fa4dddf6.zip |
uadk: add uadk support
This patch add UADK Acceleration for zlib compressor
[UADK: Userspace Acceleration Development Kit](https://github.com/Linaro/uadk)
1. Unity: one set of interfaces to support enc and comp acceleration
2. Efficiency: userspace zerocopy based on IOMMU & SVA(shared virtual address)
3. Security: the IOMMU limits the access rights and security boundaries of devices and processes
4. Compatibility: all acc devices can join this opensource project
Test on Kunpeng 920 platform, compression offload based on UadkAccel:
1. save almost 50% cpu usage compared with no-isal compression in RBD 4M workload
2. save almost 40% cpu usage compared with no-isal compression in RGW put op (4M) workload
3. lower cpu usage, better performance
Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/config-h.in.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/config-h.in.cmake b/src/include/config-h.in.cmake index c983eff3963..b10ea7c27cb 100644 --- a/src/include/config-h.in.cmake +++ b/src/include/config-h.in.cmake @@ -369,6 +369,9 @@ /* Defined if Intel QAT compress/decompress is supported */ #cmakedefine HAVE_QATZIP +/* Defined if UADK compress/decompress is supported */ +#cmakedefine HAVE_UADK + /* Define if seastar is available. */ #cmakedefine HAVE_SEASTAR |