Skip to content

Slow Writes on TrueNAS: What to Check and When You Need a SLOG

Published: · IZI Team

The “Write latency” alert means the server takes a long time to confirm writes. Game drives on the PCs may freeze while this happens. A single delay is nothing to worry about. If the alerts repeat, start with the simple causes.

CauseWhat to do
The reference was captured from a PC in useCapture references from an idle PC.
Hard drives or NVMe drives without a DRAM cacheReplace them with drives from the server requirements.
Not enough memoryIncrease it to 64 GB.
The pool is almost fullFree up space or add drives: 20% of the pool should stay free.

A PC asks the server to confirm some writes immediately. TrueNAS first saves them to a log on the same drives that hold the games. A SLOG is a separate fast drive for that log. It speeds up only these writes, not reading games. More in the TrueNAS documentation

A SLOG is worth adding if the causes above are ruled out and the alerts continue.

  • Two identical drives to build a mirror.
  • Server NVMe drives with power loss protection (PLP), for example Micron 7450 PRO.
  • Size does not matter: TrueNAS recommends 16 GB.
  1. In TrueNAS, open Storage and click View VDEVs in the VDEVs block.
  2. Click Add VDEV and go to the Log step.
  3. Choose the Mirror layout and both drives.
  4. Go to the Review step and confirm the change.

A club with up to 65 PCs, a pool of eight NVMe drives in RAIDZ1, 64 GB of memory and a 10 Gbit/s network. Game drives on the PCs sometimes froze for seconds, and writes waited in the queue for up to 3 seconds.

After adding a mirrored SLOG of two Micron 7450 PRO drives, the longest delay over two weeks was about 0.12 seconds.

Frequently asked questions

Does a new server need a SLOG?

No. A regular server built to the IZI Boot requirements is enough for most clubs. Add a SLOG only if writes are slow and other causes are ruled out.

Can I use a regular consumer SSD for a SLOG?

Better not. Consumer SSDs usually have no power loss protection, so the latest writes can be lost in a power outage.

About IZI