diff options
author | Alexander Motin <[email protected]> | 2022-05-24 12:46:35 -0400 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2022-09-26 14:55:27 -0700 |
commit | 33223cbc3cbed37fdcecedc18b4b82406c73c01b (patch) | |
tree | 68a60589313fde3a77248647071134969ec89261 /man | |
parent | 91e02156ddea27d980fa8e5f7f3d10dda06139d2 (diff) |
Refactor Log Size Limit
Original Log Size Limit implementation blocked all writes in case of
limit reached until the TXG is committed and the log is freed. It
caused huge delays and following speed spikes in application writes.
This implementation instead smoothly throttles writes, using exactly
the same mechanism as used for dirty data.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: jxdking <[email protected]>
Signed-off-by: Alexander Motin <[email protected]>
Sponsored-By: iXsystems, Inc.
Issue #12284
Closes #13476
Diffstat (limited to 'man')
-rw-r--r-- | man/man4/zfs.4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man/man4/zfs.4 b/man/man4/zfs.4 index 97539bcc5..fcb97d716 100644 --- a/man/man4/zfs.4 +++ b/man/man4/zfs.4 @@ -1101,9 +1101,9 @@ This should be less than . .It Sy zfs_wrlog_data_max Ns = Pq int The upper limit of write-transaction zil log data size in bytes. -Once it is reached, write operation is blocked, until log data is cleared out -after transaction group sync. Because of some overhead, it should be set -at least 2 times the size of +Write operations are throttled when approaching the limit until log data is +cleared out after transaction group sync. +Because of some overhead, it should be set at least 2 times the size of .Sy zfs_dirty_data_max .No to prevent harming normal write throughput. It also should be smaller than the size of the slog device if slog is present. |