meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:fs:zfs:tuning:hdd [2026/03/20 07:25] – created 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 26: | Line 29: | ||
| **Note: | **Note: | ||
| < | < | ||
| - | |||
| Warning: volblocksize (8192) is less than the default minimum block size (16384). | Warning: volblocksize (8192) is less than the default minimum block size (16384). | ||
| To reduce wasted space a volblocksize of 16384 is recommended. | To reduce wasted space a volblocksize of 16384 is recommended. | ||
| - | |||
| </ | </ | ||
| + | |||
| + | ====== Change volblock (by copying to new) ====== | ||
| <code bash> | <code bash> | ||
| Line 39: | Line 42: | ||
| </ | </ | ||
| - | Use of'' | + | <code bash> |
| + | # zfs list | ||
| + | rpool/ | ||
| + | rpool/ | ||
| + | </ | ||
| - | ===== SMR ===== | + | ====== 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 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. | ||
| * If SMR must be used try to set '' | * If SMR must be used try to set '' | ||
| + | |||
| + | |||