ZFS L2ARC not working at all

Alex Povolotsky tarkhil at webmail.sub.ru
Thu Mar 24 20:00:32 UTC 2016


I'm benchmarking postgres on FreeBSD/ZFS, and suddenly L2ARC cache has 
gone idle.

zfs-stats shows

L2 ARC Summary: (HEALTHY)
         Passed Headroom:                        1.45m
         Tried Lock Failures:                    302.35k
         IO In Progress:                         19
         Low Memory Aborts:                      3
         Free on Write:                          21.01k
         Writes While Full:                      199
         R/W Clashes:                            8
         Bad Checksums:                          0
         IO Errors:                              0
         SPA Mismatch:                           185.35m

L2 ARC Size: (Adaptive)                         3.28    GiB
         Header Size:                    0.01%   495.03  KiB

L2 ARC Breakdown:                               123.49m
         Hit Ratio:                      0.17%   205.20k
         Miss Ratio:                     99.83%  123.29m
         Feeds:                                  31.02k

L2 ARC Buffer:
         Bytes Scanned:                          4.38    TiB
         Buffer Iterations:                      31.02k
         List Iterations:                        1.98m
         NULL List Iterations:                   69.33k

L2 ARC Writes:
         Writes Sent:                    100.00% 14.64k

so it's totally unused.

Here is zfs get all


And here is sysctl vfs.zfs kstat.zfs



More information about the freebsd-stable mailing list