with zstat I get:
- Code: Select all
v2012.09.14 45 threads 1 mount 45378 vnodes 19:34:04
____________________________________________________________________________
KALLOC KERNEL/MAPS TOTAL EQUITY
WIRED 116 MiB 2181 MiB/2185 2298 MiB 37.41%
PEAK 134 MiB 2282 MiB 2417 MiB
VMPAGE 115592 (IN) 15824 (OUT) 15824 (SYNC) 8696 (MDS)
____________________________________________________________________________
HITS MISSES
ARC overall: 89% (60629039) 11% (6927239)
ARC demand data: 83% (4878388) 17% (967536)
ARC demand meta: 90% (40923318) 10% (4260445)
ARC prefetch data: 17% (108296) 83% (511761)
ARC prefetch meta: 92% (14719037) 8% (1187497)
DMU zfetch: 92% (146245447) 8% (11049723)
89% hits is good, but 2 GB cache is unacceptable on my Mac with 6 GB total. I want to reduce it to 1 GB (and maybe 512 MB, I will see). After all, a smaller cache (not unreasonably small) should limit the performances to those of the raw unit.
How can I limit the L2ARC size?