Slow Writes on TrueNAS: What to Check and When You Need a SLOG
Slow Writes on TrueNAS
Section titled “Slow Writes on TrueNAS”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.
What to check first
Section titled “What to check first”| Cause | What to do |
|---|---|
| The reference was captured from a PC in use | Capture references from an idle PC. |
| Hard drives or NVMe drives without a DRAM cache | Replace them with drives from the server requirements. |
| Not enough memory | Increase it to 64 GB. |
| The pool is almost full | Free up space or add drives: 20% of the pool should stay free. |
When a SLOG helps
Section titled “When a SLOG helps”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.
Which drives to use
Section titled “Which drives to use”- 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.
How to add a SLOG
Section titled “How to add a SLOG”- In TrueNAS, open Storage and click View VDEVs in the VDEVs block.
- Click Add VDEV and go to the Log step.
- Choose the Mirror layout and both drives.
- Go to the Review step and confirm the change.
Example club
Section titled “Example club”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.
Related guides
Section titled “Related guides”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.
IZI LLC (ООО «ИЗИ»), TIN 7842227686, OGRN 1257800012249, office 1, premises 3-N, lit. A, 15-17 Perekupnoy lane, Saint Petersburg, 191024, Russia, admin@izi.is · Cookie settings