Module Parameters: update zfs_arc_max for FreeBSD

Closes: #276
This commit is contained in:
George Melikov
2022-03-26 11:20:51 +03:00
parent b535751f23
commit a3bd990124

View File

@@ -2368,8 +2368,13 @@ Versions Affected v0.6.5 and later
zfs_arc_max zfs_arc_max
~~~~~~~~~~~ ~~~~~~~~~~~
Maximum size of ARC in bytes. If set to 0 then the maximum ARC size is Maximum size of ARC in bytes.
set to 1/2 of system RAM.
If set to 0 then the maximum size of ARC
is determined by the amount of system memory installed:
* **Linux**: 1/2 of system memory
* **FreeBSD**: the larger of ``all_system_memory - 1GB`` and ``5/8 × all_system_memory``
``zfs_arc_max`` can be changed dynamically with some caveats. It cannot ``zfs_arc_max`` can be changed dynamically with some caveats. It cannot
be set back to 0 while running and reducing it below the current ARC be set back to 0 while running and reducing it below the current ARC
@@ -2391,7 +2396,7 @@ shrinking.
+-------------------+-------------------------------------------------+ +-------------------+-------------------------------------------------+
| Range | 67,108,864 to RAM size in bytes | | Range | 67,108,864 to RAM size in bytes |
+-------------------+-------------------------------------------------+ +-------------------+-------------------------------------------------+
| Default | 0 (uses default of RAM size in bytes / 2) | | Default | 0 (see description above, OS-dependent) |
+-------------------+-------------------------------------------------+ +-------------------+-------------------------------------------------+
| Change | Dynamic (see description above) | | Change | Dynamic (see description above) |
+-------------------+-------------------------------------------------+ +-------------------+-------------------------------------------------+