You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/User-Guide_Armbian-Config/System.md
+123Lines changed: 123 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -360,6 +360,28 @@ ZFS is an advanced, high-performance file system and volume manager designed for
360
360
361
361
When enabling ZFS support, Armbian checks if the running kernel can support ZFS, installs matching kernel headers if necessary, and builds the ZFS DKMS (Dynamic Kernel Module Support) module automatically.
362
362
363
+
**Performance Tuning:**
364
+
365
+
Once ZFS is installed, the **Tune ZFS** option becomes available, allowing you to fine-tune critical performance parameters:
366
+
367
+
-**ARC Cache (Adaptive Replacement Cache)**: ZFS's intelligent caching system that stores frequently accessed data in RAM. The ARC can consume 50% or more of system memory by default, which may be excessive for memory-constrained devices.
368
+
369
+
-**Dirty Data Limits**: Controls how much modified data can accumulate before being written to disk. Higher values improve performance but increase risk of data loss on power failure.
370
+
371
+
-**TXG Timeout**: Transaction Group timeout determines how often ZFS writes changes to disk. Lower values increase data safety at the cost of performance.
372
+
373
+
-**Compression**: Transparent compression that can actually improve performance by reducing I/O. LZ4 is recommended for most workloads.
374
+
375
+
**Recommended Settings for ARM Devices:**
376
+
377
+
-**ARC Max**: 1/2 to 2/3 of RAM (on 1-2GB systems, consider 256-512MB)
378
+
-**ARC Min**: 1/8 of RAM
379
+
-**Dirty Data Max**: 4% of RAM or ARC size (whichever is smaller)
380
+
-**TXG Timeout**: 5 seconds (default)
381
+
-**Compression**: lz4 (recommended)
382
+
383
+
The tuning interface provides safe defaults based on your system's memory size and allows you to adjust parameters with immediate feedback. Changes are saved to `/etc/modprobe.d/zfs.conf` and persist across reboots.
384
+
363
385
<!--- header STOP from tools/include/markdown/ZFS001-header.md --->
0 commit comments