mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
man: Update L2ARC tunables for DWPD and parallel writes
Add l2arc_dwpd_limit, remove l2arc_write_boost, update related tunables. Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ameer Hamza <ahamza@ixsystems.com> Closes #18093
This commit is contained in:
committed by
Brian Behlendorf
parent
d1f290f1ea
commit
48d3f7fac9
@@ -426,10 +426,24 @@ This can be changed with
|
||||
The cache device header
|
||||
.Pq Em 512 B
|
||||
is updated even if no metadata structures are written.
|
||||
.Pp
|
||||
L2ARC operates in one of two modes depending on total cache capacity.
|
||||
When total L2ARC capacity is less than twice
|
||||
.Sy arc_c_max ,
|
||||
L2ARC uses exclusive caching,
|
||||
writing buffers to cache as they are evicted from ARC.
|
||||
When total capacity is at least twice
|
||||
.Sy arc_c_max ,
|
||||
L2ARC switches to inclusive caching with persistent markers
|
||||
that track scan positions,
|
||||
attempting to duplicate ARC contents as much as write throughput allows.
|
||||
Setting
|
||||
.Sy l2arc_headroom Ns = Ns Sy 0
|
||||
will result in scanning the full-length ARC lists for cacheable content to be
|
||||
written in L2ARC (persistent ARC).
|
||||
In inclusive mode, markers progress toward the head across iterations,
|
||||
naturally covering the full list.
|
||||
.Pp
|
||||
If a cache device is added with
|
||||
.Nm zpool Cm add ,
|
||||
its label and header will be overwritten and its contents will not be
|
||||
|
||||
Reference in New Issue
Block a user