make-bcache(8)
π NAME π
okay bestie, this is make-bcache(8) from the System Manager's Manual π and it's how you create a cache device β¨
π§ SYNOPSIS π§
make-bcache [ -U UUID ] [ -b bucket-size ] device
π OPTIONS π
-Cβ the one that makes a cache π«Ά-Bβ makes a backing device, but ngl the kernel side isn't implemented yet π so this one's still a work in progress π-U UUIDβ creates a cache device with the UUID you pick π¦-b bucket-sizeβ okay this one is lowkey the most important π₯- allocation happens in terms of buckets, and cache hits get counted per bucket
- so a smaller bucket size gives you better cache utilization, but poorer write performance π₯Ί
- the bucket size is meant to match your SSD's erase blocks, which seem to be around 128k-512k for most SSDs π
- it has to be a power of two, and it takes human readable units π
- if you don't set it, it defaults to 128k β¨
bestie, the bucket size is supposed to match your SSD's erase blocks, so pick wisely π
make-bcache(8) is the vibe, bestie πΈ catch you later π β¨
π¦ where this page comes from
- alpine 3.22: bcache-tools-doc 1.1-r4 Β· GPL-2.0-or-later
- alpine 3.23: bcache-tools-doc 1.1-r5 Β· GPL-2.0-or-later
- alpine 3.24: bcache-tools-doc 1.1-r5 Β· GPL-2.0-or-later
- debian bookworm: bcache-tools 1.0.8-4 Β· GPL-2.0-only
- debian trixie: bcache-tools 1.0.8-5 Β· GPL-2.0-only
- fedora 43: bcache-tools 1.1-14.fc43 Β· GPL-2.0-only
- fedora 44: bcache-tools 1.1-16.fc44 Β· GPL-2.0-only
- nixos 26.05: bcache-tools 1.1
- nixpkgs unstable: bcache-tools 1.1
- opensuse-leap 16.0: bcache-tools 1.1+git37.a5e3753-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: bcache-tools 1.1+git37.a5e3753-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: bcache-tools 1.1+git37.a5e3753-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: bcache-tools 1.1+git37.a5e3753-160000.2.2 Β· GPL-2.0-only
- ubuntu jammy: bcache-tools 1.0.8-4ubuntu3 Β· GPL-2.0-only
- ubuntu noble: bcache-tools 1.0.8-5build1 Β· GPL-2.0-only
- ubuntu questing: bcache-tools 1.0.8-5build1 Β· GPL-2.0-only
- ubuntu resolute: bcache-tools 1.0.8-5ubuntu1 Β· GPL-2.0-only
- ubuntu stonking: bcache-tools 1.0.8-5ubuntu1 Β· GPL-2.0-only
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms