Ceph and Intel QAT: The Key to More Efficient and Scalable Storage

Canonical and Intel Optimize Data Compression in Data Centers with Intel® Quick Assist Technology (QAT) Hardware Acceleration, Reducing CPU Consumption and Enhancing Storage Efficiency in Ceph.

The increasing demand for cloud and data center storage has driven the search for solutions that optimize hardware usage without compromising performance. In this context, Canonical and Intel have developed an integration that allows Ceph to leverage Intel® Quick Assist Technology (QAT) to reduce processor workload in compression tasks, improving efficiency without sacrificing speed.

The Challenge of Large-Scale Storage

The cost of storing large volumes of data is largely defined by the strategy used to protect the information. Traditionally, there are two approaches:

  1. Multiple replicas, which increases redundancy but also space consumption.
  2. Erasure Coding, which optimizes storage use but requires higher processing power.

Data compression is another key strategy to reduce disk space consumption, but its implementation without specialized hardware often increases CPU consumption and degrades system performance. The solution to this problem lies in hardware acceleration, allowing these tasks to be carried out without affecting overall processing capability.

Intel® QAT: Reducing CPU Load and Increasing Efficiency

Intel® Quick Assist Technology (QAT) is a hardware acceleration solution that offloads certain compute-intensive tasks from the CPU, including:

  • Data encryption and decryption.
  • Data compression and decompression.

With the arrival of the 4th (Sapphire Rapids) and 5th Generation (Emerald Rapids) Intel® Xeon® processors, QAT engines no longer require additional PCIe cards but are instead integrated within the processor, facilitating their adoption in enterprise and data center environments.

The impact of this integration on storage with Ceph is significant, as it enables high levels of performance while reducing the amount of storage used, improving efficiency and reducing costs.

Performance Comparison: Compression with and without QAT

To assess the impact of accelerated compression, tests were conducted with a 4-node Ceph cluster and NVMe drives, using MinIO Warp to simulate object storage workloads.

Key Results:

MetricWithout CompressionWith Compression (Without QAT)With Compression + QAT
Bandwidth for writing4.66 GBps50% Reduction5.05 GBps (+8%)
Read Bandwidth21.86 GBps11.28 GBps (-48%)20.88 GBps (-4%)
CPU ConsumptionNormal+150%No Impact

Space Savings: Compression Assessment

Data compression is especially useful in previously uncompressed formats, allowing for significant storage savings.

Data TypeCompression RatioSpace Saving
Structured Data (CSV, JSON, Text)1.3325%
Compressed Images (JPEG)1.011%
Uncompressed Video (RAW YUV)3.1368%
Compressed Video (H.264)1.000%

The results indicate that compression is more effective on structured data and uncompressed multimedia files, while formats like JPEG and H.264 do not benefit from a second compression.

Implementation in Enterprise Environments

For companies interested in trying out this solution, Canonical recommends implementing MicroCeph, an optimized version of Ceph that simplifies setup in testing and production environments.

Steps to Enable Intel® QAT in Ceph

  1. Install MicroCeph with QAT support:
    snap install microceph --channel=squid/edge/qat --devmode
  2. Install the QAT engine on each storage node:
    sudo apt-get -y install qatengine
  3. Configure Ceph to enable QAT:
    ceph config set client.radosgw.gateway qat_compressor_enabled true
  4. Enable compression on object storage:
    radosgw-admin zone placement modify --rgw-zone default --placement-id default-placement --storage-class STANDARD --compression zlib
  5. Verify data compression with:
    radosgw-admin bucket stats

Impact on the Data Center Market

The implementation of QAT in Ceph represents a key advancement in storage efficiency in data centers and enterprise cloud solutions. Among the most relevant benefits are:

With the growth of data volumes in sectors such as banking, healthcare, telecommunications, and e-commerce, these innovations are essential for maintaining scalability and operational efficiency.

Conclusion: A New Standard in Scalable Storage

The combination of Ceph, Intel® QAT, and Ubuntu opens new possibilities for efficient, cost-effective, and high-performance storage. Companies and cloud service providers can optimize infrastructure without sacrificing speed or processing capacity, making this solution a strategic choice for next-generation storage environments.

via: Ubuntu

Scroll to Top