[pve-devel] [PATCH pve-doc 2/5] ZFS RAM usage more precise.

Lindsay Mathieson lindsay.mathieson at gmail.com
Tue Oct 4 15:32:35 CEST 2016


On 4/10/2016 4:51 PM, Alexandre DERUMIER wrote:
> also, if l2arc is enabled, zfs take 240 bytes memory for each block in l2arc.
> if you use small block (4k) for your pool for example, this can be very huge (64GB memory for 1TB)
>

240 bytes per block for the *log device*, not the pool. Thats 
considerably different and much smaller. Even with a 120GB log devices I 
haven't seen header mem usage much more than a 100MB


    grep l2_hdr_size /proc/spl/kstat/zfs/arcstats


To see the mem usage.


-- 
Lindsay Mathieson




More information about the pve-devel mailing list