Este contenido no está disponible en el idioma seleccionado.

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

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

© 2024 Red Hat, Inc.