Bcache Tuning

  • Canonical BootStack Charmers
  • Storage
Channel Revision Published Runs on
latest/stable 21 01 Nov 2023
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.10 Ubuntu 18.04 Ubuntu 16.04
latest/stable 18 28 Jul 2023
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.10 Ubuntu 18.04 Ubuntu 16.04
latest/stable 10 28 Apr 2022
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.10 Ubuntu 18.04 Ubuntu 16.04
latest/stable 8 14 Oct 2021
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.10 Ubuntu 18.04 Ubuntu 16.04
latest/candidate 21 18 Oct 2023
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.10 Ubuntu 18.04 Ubuntu 16.04
latest/candidate 18 05 Jul 2023
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.10 Ubuntu 18.04 Ubuntu 16.04
latest/candidate 10 21 Apr 2022
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.10 Ubuntu 18.04 Ubuntu 16.04
latest/candidate 8 14 Oct 2021
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.10 Ubuntu 18.04 Ubuntu 16.04
latest/edge 21 18 Oct 2023
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
latest/edge 19 14 Aug 2023
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
latest/edge 10 17 Mar 2022
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
juju deploy bcache-tuning
Show information

Platform:

Ubuntu
22.04 20.04 18.10 18.04 16.04

Getting Started

To use this charm, simple deploy and relation to principle services:

juju deploy bcache-tuning
juju add-relation bcache-tuning ceph-osd
juju add-relation bcache-tuning nova-compute

Cache Set Configuration

Disable performance based congestion behaviour - the SSD or NVMe will in all likelyhood always be faster than the underlying spindle:

congested_read_threshold_us: 0
congested_write_threshold_us: 0

Bcache Backing Device Configuration

Disable cache readahead:

readahead: 0

Disable writethrough of sequential data writes:

sequential_cutoff: 0

Set the amount of dirty data the cache device will hold before starting to persist to the backing device:

writeback_percent: 10

Sets unmanaged cache_mode:

cache_mode: unmanaged

Help improve this document in the forum (guidelines). Last updated 1 year, 2 months ago.