Why this post exists: the homelab storage series has covered the failure modes (drive statistics, rebuild windows, scrub cadence) and the platform arithmetic (PCIe lanes, power, cooling). This one covers the write path, because it is where homelab buyers most reliably spend money on the wrong thing — a large, fast, unprotected NVMe drive bought to "speed up the pool", installed where it can do nothing for ordinary writes and, without power-loss protection, actively lies about durability. Everything below is checked against the official OpenZFS documentation set: the pool-structure page on caching and auxiliary devices, the workload-tuning page, and the zfs(4) man page for default values.

What is a SLOG, in one sentence?

A SLOG is a separate device that holds the ZFS Intent Log. ZFS satisfies POSIX durability by writing synchronous operations — anything issued with fsync() or O_SYNC — to a log before acknowledging them. That log exists on every pool by default, allocated from ordinary blocks in the main pool; a log vdev does not create it, it only relocates it onto a dedicated device. On a pool of spinning disks, that relocation is the entire point: an fsync now waits for a small write to a low-latency device instead of waiting for a head to seek.

What it is not is a cache, and the distinction is not pedantic — it decides whether the device does anything at all. OpenZFS's own words: "A SLOG is not a write cache. Asynchronous writes never touch the ZIL; they are aggregated in memory and written out at the next transaction group. If your workload has no synchronous writes, a SLOG changes nothing." That sentence rules out the most common homelab expectation. Copying a 40 GB media library onto the pool is asynchronous: those writes gather in RAM and flush at the next transaction group, and a SLOG is not consulted. A SLOG only helps when something is demanding a durability guarantee before it continues — NFS servers honouring a client's commit, databases committing transactions, hypervisors flushing a guest's virtual disk.

Why doesn't a bigger SLOG make writes faster?

Because the log is drained constantly and only needs to hold what has not yet been committed to the pool. The transaction group — the unit of commit — defaults to at most 5 seconds; the zfs(4) man page lists zfs_txg_timeout=5 as the maximum TXG duration. So the peak amount of synchronous data the log must absorb is roughly five seconds of your sustained sync-write rate. At 100 MB/s that is 500 MB; at 500 MB/s it is 2.5 GB; at 1 GB/s it is 5 GB. Capacity beyond that window buys nothing, because the log is not where data waits — it is where data is recorded as promised while the pool catches up.

This is also why an oversized SLOG does not hurt, exactly — it just wastes the difference. A 1 TB drive partitioned to a 4 GB log leaves 99.6% of the device unused, and OpenZFS recommends leaving it that way on purpose: the remainder becomes overprovisioning, which raises steady-state random-write performance and endurance. The capacity you did not use is doing work; it just is not doing the work the product page advertised.

How big should it actually be?

OpenZFS answers this directly, and the answer is smaller than almost anyone guesses: "Only about 4 GB is needed, so the rest can be left as overprovisioned storage. The choice of 4 GB is somewhat arbitrary. Most systems do not write anything close to 4 GB to ZIL between transaction group commits." The documentation then gives the ceiling: if a workload needs more, "make it no more than the maximum ARC size. Even under extreme workloads, ZFS will not benefit from more SLOG storage than the maximum ARC size" — which is half of system memory on Linux and three-quarters on illumos.

Two numbers fall out of that. First, the working range is roughly 4 GB to half your RAM; on a 32 GB Linux box, that ceiling is 16 GB, and it is a ceiling rather than a target. Second, the arithmetic that connects the two rules: 4 GB ÷ 5 s = 800 MB/s of sustained synchronous writes before the log window can overflow the recommended size. A homelab NFS server pushing 200 MB/s of sync traffic is using under a quarter of the recommended log, and a 4 GB partition on any NVMe is already generous. The 1 TB drive in the shopping cart is not a better SLOG; it is the same SLOG with 996 GB of spare area.

What happens when the log device dies?

Less than people fear, and more than they plan for. A failed log device does not corrupt the pool — ZFS falls back and keeps the intent log where it always was, inside the pool. What you lose is the synchronous writes that were recorded in the log but not yet committed to a transaction group: at most the last few seconds, and only those operations that had been acknowledged as durable. That is a real data-loss window for a database and an irrelevant one for a media server, which is precisely why the decision should be made per workload rather than per build.

The redundancy options are narrower than for data vdevs. OpenZFS: "Multiple log devices load-balance and can be mirrored; raidz is not supported for the intent log." So the only protection is a mirror of two log devices, and no parity option exists. If you care about the window, mirror it; if you do not, a single device is a defensible choice and an honest one. What is not defensible is a single consumer drive with a volatile write cache, which brings us to the only spec that decides whether the device helps or hurts.

Which homelab workloads actually benefit?

The official guidance names the beneficiaries and the precondition in one sentence: "If your workload involves fsync or O_SYNC and your pool is backed by mechanical storage, consider adding one or more SLOG devices." Both halves matter. No fsync means no ZIL activity, so no benefit. And if the pool is already all-flash, the latency gap a SLOG closes largely disappears — you are adding a device to optimise a wait that is already short. The documented typical cases are NFS servers, databases, and VM hosts with sync-heavy guests, which maps neatly onto the three things homelabs actually run: a NAS exporting to other machines, a database container, and Proxmox or ESXi with guests that flush.

Equally important is what the dataset properties let you do instead of buying hardware. sync=disabled skips the ZIL entirely, trading recent-write durability for speed — appropriate for a scratch dataset, catastrophic for a database. logbias=throughput bypasses the log devices for a dataset, which OpenZFS recommends specifically to "stop ZIL from writing twice" for database data files. Both are free, both are reversible, and both change the answer to "do I need a SLOG" more than any drive purchase will.

What should you buy in 2026?

Power-loss protection first, capacity never. OpenZFS's requirement is a "low-latency device with power-loss protection", followed by a warning worth quoting in full because it describes a failure mode that is invisible until it matters: "Consumer SSDs without it will happily report data as stable that a power cut then loses." A drive with a volatile write cache can acknowledge a flush it has not completed; the pool believes the sync write is durable, the SLOG believes it has done its job, and the power cut decides otherwise. That is worse than having no SLOG at all, because without one the write is waiting on the pool's own media.

The hardware landscape shifted in a way the docs acknowledge: Optane and other 3D XPoint SSDs "remain the best SLOG devices, but they are no longer manufactured". The replacement path OpenZFS describes is a NAND SSD with overprovisioned spare area to raise IOPS and endurance — another reason the 4 GB partition on a larger drive is the intended configuration rather than a compromise. And the interface matters less than the spec sheet: a SATA SSD with PLP and consistent latency beats a PCIe 5.0 drive with a volatile cache, because the SLOG's job is to answer "is it on disk?" quickly and truthfully, not to move bulk data.

If you want the shortest version: partition 4 GB for the log, leave the rest as overprovisioning, mirror it only if the workload's data loss window matters, and verify the drive actually has power-loss protection before it goes in the case. Then run the test that settles the entire question — measure fsync latency with and without the log device on your real workload. If the pool is all-flash, or the workload is asynchronous, the measurement will show no change, and the correct number of SLOG devices is zero.