ZPOOL-PREFETCH(8)

πŸ“¦
version 2.4.4 Β· 3 versions
, in alpine 3.23, alpine 3.24, nixos 26.05, nixpkgs unstable, ubuntu resolute, ubuntu stonking

πŸ’– ZPOOL-PREFETCH πŸ’–

okay so bestie, this is a page from the System Manager's Manual β€” it's zpool-prefetch, and it's genuinely one of those little glow-up commands that makes everything feel faster later. it's giving "prep now, slay later" energy ✨


🌸 NAME 🌸

zpool-prefetch β€” Prefetches pool metadata into ARC

like literally, it grabs pool metadata ahead of time and yeets it into the ARC so your later operations don't have to wait around. no cap. 🫢


✨ SYNOPSIS ✨

zpool prefetch [-t type] pool

that's the whole vibe. one command, one optional type, one pool. periodt. πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

Massively prefetch metadata of a specific type for the given pool into the ARC to reduce latency of some operations later. Massively, bestie β€” this is not a shy little peek, it's a full-on main character entrance for your metadata. πŸ¦‹

If no type is specified, all types are prefetched. so like, you can be lazy and it'll just do everything for you. iconic behaviour honestly. πŸ‘‘

The following types are supported:

  • brt β€” Prefetch the BRT (block reference table). This may improve performance for block cloning operations, and frees for earlier cloned blocks. 🌈 so if you're doing a lot of block cloning, this one's your girlie.
  • ddt β€” Prefetch the DDT (deduplication table). This may improve performance of writes when deduplication is enabled, and frees for earlier deduplicated blocks. πŸ’œ dedup girlies, this is your moment β€” it can speed up writes and frees for earlier deduplicated blocks.
heads up bestie: both of these are "may improve" situations, not promises β€” the page says may, so we say may. don't come for me, i'm just the messenger. 😭

and that's the whole page, fr fr. 🌸

this one's brought to you by OpenZFS, dated February 14, 2024 β€” yes, valentine's day, because apparently even the manpages are in love. πŸŽ€πŸ’– mwah, go prefetch something. ✨

πŸ“¦ where this page comes from