Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 6. Back-end compression
Compress an edge cluster of a smaller capacity with the compression options.
BlueStore allows two types of compression:
- BlueStore level of compression for general workload.
- Ceph Object Gateway level of compression for S3 workload.
For more information on compression algorithms, see Pool values.
You need to enable compression and ensure that no crashes occur on the cluster upon enabling compression on pools.
You can enable compression on the pools of the edge cluster in the following ways:
Enable supported compression algorithms such as snappy, zlib, and zstd and enable supported compression modes such as
None
,passive
,aggressive
, andforce
with the following commands:Syntax
ceph osd pool set POOL_NAME compression_algorithm ALGORITHM ceph osd pool set POOL_NAME compression_mode MODE
Enable various compression ratios with the following commands:
Syntax
ceph osd pool set POOL_NAME compression_required_ratio RATIO ceph osd pool set POOL_NAME compression_min_blob_size SIZE ceph osd pool set POOL_NAME compression_max_blob_size SIZE
- Create three pools and enable different compressions on those pools to ensure that no IO stoppage occurs on the pools.
- Create a fourth pool without any compression created on the pools. Write the same amount of data as pools with compression. The pool with compression uses less RAW space that the pool without compression.
To verify these algorithms are set, use ceph osd pool get POOL_NAME OPTION_NAME
command.
To unset these algorithms, use ceph osd pool unset POOL_NAME OPTION_NAME
command with the appropriate options.