echo ::arc | mdb -k
hits = 6,579,098,581
misses = 452,069,693
demand_data_hits = 1,568,821,337
demand_data_misses = 35,059,825
demand_metadata_hits = 3,224,194,606
demand_metadata_misses = 45,501,861
prefetch_data_hits = 125,750,375
prefetch_data_misses = 128,235,341
prefetch_metadata_hits = 1,660,332,263
prefetch_metadata_misses = 243,272,666
mru_hits = 1,426,213,514
mru_ghost_hits = 13,497,486
mfu_hits = 3,403,854,705
mfu_ghost_hits = 281,484,703
deleted = 250,271,016
recycle_miss = 65,465,441
mutex_miss = 415,133
evict_skip = 414,384,099
evict_l2_cached =11,321,550,825,472
evict_l2_eligible = 6,392,283,271,680
evict_l2_ineligible = 9,111,346,605,568
hash_elements = 1,457,128
hash_elements_max = 2,131,419
hash_collisions = 2,674,957,304
hash_chains = 255,459
hash_chain_max = 26
p = 5,607 MB
c = 8,820 MB
c_min = 1,406 MB
c_max = 11,255 MB
size = 8,820 MB
hdr_size = 147,103,056
data_size = 8,951,655,424
other_size = 33,156,048
l2_hits = 52,579,407
l2_misses = 399,487,072
l2_feeds = 12,909,282
l2_rw_clash = 3,235
l2_read_bytes = 1,967,823,256,576
l2_write_bytes = 6,513,012,548,096
l2_writes_sent = 7,047,789
l2_writes_done = 7,047,789
l2_writes_error = 0
l2_writes_hdr_miss = 2,309
l2_evict_lock_retry = 1,405
l2_evict_reading = 184
l2_free_on_write = 5,408,775
l2_abort_lowmem = 418
l2_cksum_bad = 0
l2_io_error = 0
l2_size = 61,163,917,312
l2_hdr_size = 127,183,488
memory_throttle_count = 0
arc_no_grow = 0
arc_tempreserve = 0 MB
arc_meta_used = 2,813 MB
arc_meta_limit = 2,813 MB
arc_meta_max = 6,029 MB
c_maxが11Gほどあるが、これはマシンメモリが12Gにゃので-1gくらいした容量が最大ということににゃる。L2ARC 32GB : arc_meta_limit 1.5GB : 物理mem 7GB
L2ARC 64GB : arc_meta_limit 3GB : 物理mem 14GB
L2ARC 192GB : arc_meta_limit 9GB : 物理mem 39GB
L2ARC 256GB : arc_meta_limit 12GB : 物理mem 51GB
L2ARC 512GB : arc_meta_limit 25GB : 物理mem 101GB
と言った感じ。必要物理memはarc_meta_limitをデフォの1/4から3/4あたりまで増やせば1/3くらいで済むはずだが、L2ARCはあまり賢くにゃいし書き込み中は読み込みも遅くにゃるSSDが多いので、metaじゃにゃいARCが十分取れるメモリ量でにゃければ逆効果ににゃるかもしれにゃい。平均ブロックサイズが細かいと数倍食うわけで、まぁ場合によってはちょっとしんどいかにゃぁという。