meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:fs:zfs:tuning:hdd [2026/06/27 15:45] – niziak | linux:fs:zfs:tuning:hdd [2026/07/07 19:44] (current) – niziak | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| [[https:// | [[https:// | ||
| + | |||
| + | All '' | ||
| + | So for very slow 2xHDD mirror it is good to limit reads to 2 (2xHDD = 4 parallel reads), and write to 2. | ||
| <code bash> | <code bash> | ||
| Line 39: | Line 42: | ||
| </ | </ | ||
| - | Use of'' | + | <code bash> |
| + | # zfs list | ||
| + | rpool/ | ||
| + | rpool/ | ||
| + | </ | ||
| + | |||
| + | ====== bfq ====== | ||
| + | |||
| + | Use of'' | ||
| + | |||
| + | ====== prefetch ====== | ||
| + | |||
| + | By default prefetech is enabled. Enabling it generates additional '' | ||
| + | |||
| + | ''/ | ||
| + | ''/ | ||
| + | |||
| + | NOTE: Disable it ! I was unable to peform full (dirty bitmap lost after restart) KVM backup to PBS due to huge sync read queue times (up to 25s) and backup times out with error. | ||
| - | ===== SMR ===== | + | ====== SMR ====== |
| * SMR drives behaves correctly for sequential writes, but long working ZFS or LVM thin spread writes into lots of random location causing unusable IOPS. So never use SMR. | * SMR drives behaves correctly for sequential writes, but long working ZFS or LVM thin spread writes into lots of random location causing unusable IOPS. So never use SMR. | ||