Need advice to tune max for ARC and L2_ARC

Status
Not open for further replies.
Joined
May 17, 2012
Messages
1
I have my computer installed 16GB RAM and 120GB SSD, and hope use the most for ARC ( I understand it reserve 1GB for other programs). It is just for fun and home use.

With reference to this link, http://www.zfsbuild.com/2012/04/18/let-zfs-use-all-of-your-ram/
I don't know how to config FreeNas 8.0.4 to use more ram then 14.25gb (high-water) as shown on the arcstat. E.g. can it use 15GB? Or should it increase 11.82 (adaptive)?

Any idea?

For ARC
Code:
ARC Size:                               82.92%  11.82   GiB       <<< 2. can it reach 14.25GB? gap of ~2GB RAM
       Target Size: (Adaptive)         82.92%  11.82   GiB
       Min Size (Hard Limit):          12.50%  1.78    GiB
       Max Size (High Water):          8:1     14.25   GiB  <<<< 1. always 14.25GB, should it increase to 15GB?


For L2 ARC
Code:
L2 ARC Size: (Adaptive)                         111.75  GiB     <<< 3. similar case for L2_ARC, while I have 120g SSD
       Header Size:                    0.16%   187.96  MiB



Quote Detail Setting:
Code:
System Memory:

       0.61%   94.90   MiB Active,     0.35%   54.04   MiB Inact
       85.20%  12.99   GiB Wired,      0.00%   740.00  KiB Cache
       13.83%  2.11    GiB Free,       0.00%   696.00  KiB Gap

       Real Installed:                         16.00   GiB
       Real Available:                 98.34%  15.73   GiB
       Real Managed:                   96.92%  15.25   GiB

       Logical Total:                          16.00   GiB
       Logical Used:                   86.48%  13.84   GiB
       Logical Free:                   13.52%  2.16    GiB

Kernel Memory:                                  11.65   GiB
       Data:                           99.88%  11.63   GiB
       Text:                           0.12%   14.33   MiB

Kernel Memory Map:                              14.96   GiB
       Size:                           75.93%  11.36   GiB
       Free:                           24.07%  3.60    GiB
                                                               Page:  1
------------------------------------------------------------------------

ARC Summary: (THROTTLED)
       Storage pool Version:                   15
       Filesystem Version:                     4
       Memory Throttle Count:                  6.42k

ARC Misc:
       Deleted:                                20.44m
       Recycle Misses:                         412.74k
       Mutex Misses:                           12.47k
       Evict Skips:                            12.47k

ARC Size:                               82.92%  11.82   GiB
       Target Size: (Adaptive)         82.92%  11.82   GiB
       Min Size (Hard Limit):          12.50%  1.78    GiB
       Max Size (High Water):          8:1     14.25   GiB

ARC Size Breakdown:
       Recently Used Cache Size:       93.75%  11.08   GiB
       Frequently Used Cache Size:     6.25%   756.40  MiB

ARC Hash Breakdown:
       Elements Max:                           1.38m
       Elements Current:               85.29%  1.18m
       Collisions:                             18.87m
       Chain Max:                              28
       Chains:                                 239.43k
                                                               Page:  2
------------------------------------------------------------------------

ARC Efficiency:                                 182.10m
       Cache Hit Ratio:                94.19%  171.53m
       Cache Miss Ratio:               5.81%   10.58m
       Actual Hit Ratio:               91.73%  167.05m

       Data Demand Efficiency:         99.55%  154.39m
       Data Prefetch Efficiency:       50.37%  18.82m

       CACHE HITS BY CACHE LIST:
         Anonymously Used:             1.20%   2.05m
         Most Recently Used:           85.80%  147.17m
         Most Frequently Used:         11.59%  19.87m
         Most Recently Used Ghost:     0.79%   1.35m
         Most Frequently Used Ghost:   0.63%   1.08m

       CACHE HITS BY DATA TYPE:
         Demand Data:                  89.60%  153.69m
         Prefetch Data:                5.53%   9.48m
         Demand Metadata:              4.60%   7.89m
         Prefetch Metadata:            0.27%   466.44k

       CACHE MISSES BY DATA TYPE:
         Demand Data:                  6.63%   700.92k
         Prefetch Data:                88.32%  9.34m
         Demand Metadata:              3.86%   408.70k
         Prefetch Metadata:            1.19%   125.79k
                                                               Page:  3
------------------------------------------------------------------------

L2 ARC Summary: (HEALTHY)
       Passed Headroom:                        30.10m
       Tried Lock Failures:                    176.29k
       IO In Progress:                         3.63k
       Low Memory Aborts:                      114
       Free on Write:                          92.39k
       Writes While Full:                      132.34k
       R/W Clashes:                            97
       Bad Checksums:                          0
       IO Errors:                              0
       SPA Mismatch:                           0

L2 ARC Size: (Adaptive)                         111.75  GiB
       Header Size:                    0.16%   187.96  MiB

L2 ARC Evicts:
       Lock Retries:                           248
       Upon Reading:                           5

L2 ARC Breakdown:                               10.58m
       Hit Ratio:                      22.46%  2.38m
       Miss Ratio:                     77.54%  8.20m
       Feeds:                                  826.59k

L2 ARC Buffer:
       Bytes Scanned:                          510.72  TiB
       Buffer Iterations:                      826.59k
       List Iterations:                        51.53m
       NULL List Iterations:                   1.91m

L2 ARC Writes:
       Writes Sent:                    100.00% 186.92k
                                                               Page:  4
------------------------------------------------------------------------

File-Level Prefetch: (HEALTHY)

DMU Efficiency:                                 440.06m
       Hit Ratio:                      97.00%  426.86m
       Miss Ratio:                     3.00%   13.20m

       Colinear:                               13.20m
         Hit Ratio:                    0.06%   7.77k
         Miss Ratio:                   99.94%  13.19m

       Stride:                                 414.94m
         Hit Ratio:                    99.98%  414.85m
         Miss Ratio:                   0.02%   90.27k

DMU Misc:
       Reclaim:                                13.19m
         Successes:                    5.36%   707.00k
         Failures:                     94.64%  12.49m

       Streams:                                12.00m
         +Resets:                      0.03%   4.01k
         -Resets:                      99.97%  12.00m
         Bogus:                                0
                                                               Page:  5
------------------------------------------------------------------------

VDEV Cache Summary:                             584.79k
       Hit Ratio:                      42.00%  245.60k
       Miss Ratio:                     47.61%  278.42k
       Delegations:                    10.39%  60.77k
                                                               Page:  6
------------------------------------------------------------------------

ZFS Tunable (sysctl):
       kern.maxusers                           384
       vm.kmem_size                            16374902784
       vm.kmem_size_scale                      1
       vm.kmem_size_min                        0
       vm.kmem_size_max                        329853485875
       vfs.zfs.l2c_only_size                   114782318080
       vfs.zfs.mfu_ghost_data_lsize            10384087552
       vfs.zfs.mfu_ghost_metadata_lsize        263436800
       vfs.zfs.mfu_ghost_size                  10647524352
       vfs.zfs.mfu_data_lsize                  1461041664
       vfs.zfs.mfu_metadata_lsize              24438272
       vfs.zfs.mfu_size                        1494446080
       vfs.zfs.mru_ghost_data_lsize            1607044608
       vfs.zfs.mru_ghost_metadata_lsize        85804032
       vfs.zfs.mru_ghost_size                  1692848640
       vfs.zfs.mru_data_lsize                  10170377216
       vfs.zfs.mru_metadata_lsize              307450880
       vfs.zfs.mru_size                        10607134720
       vfs.zfs.anon_data_lsize                 0
       vfs.zfs.anon_metadata_lsize             0
       vfs.zfs.anon_size                       0
       vfs.zfs.l2arc_norw                      1
       vfs.zfs.l2arc_feed_again                1
       vfs.zfs.l2arc_noprefetch                0
       vfs.zfs.l2arc_feed_min_ms               200
       vfs.zfs.l2arc_feed_secs                 1
       vfs.zfs.l2arc_headroom                  2
       vfs.zfs.l2arc_write_boost               52428800
       vfs.zfs.l2arc_write_max                 26214400
       vfs.zfs.arc_meta_limit                  3825290240
       vfs.zfs.arc_meta_used                   1055754608
       vfs.zfs.mdcomp_disable                  0
       vfs.zfs.arc_min                         1912645120
       vfs.zfs.arc_max                         15301160960
       vfs.zfs.zfetch.array_rd_sz              1048576
       vfs.zfs.zfetch.block_cap                256
       vfs.zfs.zfetch.min_sec_reap             2
       vfs.zfs.zfetch.max_streams              8
       vfs.zfs.prefetch_disable                0
       vfs.zfs.check_hostid                    1
       vfs.zfs.recover                         0
       vfs.zfs.txg.write_limit_override        0
       vfs.zfs.txg.synctime                    5
       vfs.zfs.txg.timeout                     30
       vfs.zfs.scrub_limit                     10
       vfs.zfs.vdev.cache.bshift               16
       vfs.zfs.vdev.cache.size                 10485760
       vfs.zfs.vdev.cache.max                  16384
       vfs.zfs.vdev.aggregation_limit          131072
       vfs.zfs.vdev.ramp_rate                  2
       vfs.zfs.vdev.time_shift                 6
       vfs.zfs.vdev.min_pending                4
       vfs.zfs.vdev.max_pending                10
       vfs.zfs.cache_flush_disable             0
       vfs.zfs.zil_disable                     0
       vfs.zfs.zio.use_uma                     0
       vfs.zfs.version.zpl                     4
       vfs.zfs.version.spa                     15
       vfs.zfs.version.dmu_backup_stream       1
       vfs.zfs.version.dmu_backup_header       2
       vfs.zfs.version.acl                     1
       vfs.zfs.debug                           0
       vfs.zfs.super_owner                     0
 
Status
Not open for further replies.
Top