Este conteúdo não está disponível no idioma selecionado.

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, and force 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.

Red Hat logoGithubRedditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja oBlog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

© 2024 Red Hat, Inc.