Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Expand ZFS ARC Cache problem

Featured Replies

Hi to all,

  i have a problem, i want expand ZFS ARC Cache on my system but every change not receipt after boot
I have 128GB but 

 

# cat /proc/spl/kstat/zfs/arcstats | grep c_max

c_max                           4    4294967296

 

my configuration is 
 

# cat /boot/config/modprobe.d/zfs.conf

options zfs zfs_arc_max=17179869184
 

Can you help me? 

thanks a lot

Screenshot 2024-07-28 alle 10.33.28.png

Screenshot 2024-07-28 alle 10.38.04.png

Edited by xcaosx

  • Author

# cat /proc/spl/kstat/zfs/arcstats

9 1 0x01 147 39984 45684676983 20996214794129

name                            type data

hits                            4    42317170

iohits                          4    340585

misses                          4    176817

demand_data_hits                4    401020

demand_data_iohits              4    60

demand_data_misses              4    26921

demand_metadata_hits            4    40365889

demand_metadata_iohits          4    2061

demand_metadata_misses          4    46150

prefetch_data_hits              4    1174

prefetch_data_iohits            4    0

prefetch_data_misses            4    61771

prefetch_metadata_hits          4    1549087

prefetch_metadata_iohits        4    338464

prefetch_metadata_misses        4    41975

mru_hits                        4    6427524

mru_ghost_hits                  4    721

mfu_hits                        4    35889646

mfu_ghost_hits                  4    35

uncached_hits                   4    0

deleted                         4    221012

mutex_miss                      4    17

access_skip                     4    1

evict_skip                      4    299

evict_not_enough                4    0

evict_l2_cached                 4    16896

evict_l2_eligible               4    24849458688

evict_l2_eligible_mfu           4    159492608

evict_l2_eligible_mru           4    24689966080

evict_l2_ineligible             4    139730944

evict_l2_skip                   4    0

hash_elements                   4    558999

hash_elements_max               4    606801

hash_collisions                 4    26297

hash_chains                     4    9079

hash_chain_max                  4    3

meta                            4    1061209293

pd                              4    2301035309

pm                              4    2147291658

c                               4    4294967296

c_min                           4    4216201088

c_max                           4    4294967296

size                            4    4291546408

compressed_size                 4    2781537280

uncompressed_size               4    4385543680

overhead_size                   4    604737024

hdr_size                        4    29631008

data_size                       4    2619246080

metadata_size                   4    767028224

dbuf_size                       4    154667912

dnode_size                      4    364922304

bonus_size                      4    303401152

anon_size                       4    3080192

anon_data                       4    184320

anon_metadata                   4    2895872

anon_evictable_data             4    0

anon_evictable_metadata         4    0

mru_size                        4    2415815168

mru_data                        4    2233806848

mru_metadata                    4    182008320

mru_evictable_data              4    2021756416

mru_evictable_metadata          4    62842368

mru_ghost_size                  4    570032128

mru_ghost_data                  4    570032128

mru_ghost_metadata              4    0

mru_ghost_evictable_data        4    570032128

mru_ghost_evictable_metadata    4    0

mfu_size                        4    967378944

mfu_data                        4    385254912

mfu_metadata                    4    582124032

mfu_evictable_data              4    383292928

mfu_evictable_metadata          4    94414336

mfu_ghost_size                  4    158458880

mfu_ghost_data                  4    0

mfu_ghost_metadata              4    158458880

mfu_ghost_evictable_data        4    0

mfu_ghost_evictable_metadata    4    158458880

uncached_size                   4    0

uncached_data                   4    0

uncached_metadata               4    0

uncached_evictable_data         4    0

uncached_evictable_metadata     4    0

l2_hits                         4    98

l2_misses                       4    249

l2_prefetch_asize               4    7393280

l2_mru_asize                    4    52287053824

l2_mfu_asize                    4    1555562496

l2_bufc_data_asize              4    53663244288

l2_bufc_metadata_asize          4    186765312

l2_feeds                        4    20377

l2_rw_clash                     4    0

l2_read_bytes                   4    521216

l2_write_bytes                  4    1426432

l2_writes_sent                  4    52

l2_writes_done                  4    52

l2_writes_error                 4    0

l2_writes_lock_retry            4    0

l2_evict_lock_retry             4    0

l2_evict_reading                4    0

l2_evict_l1cached               4    0

l2_free_on_write                4    0

l2_abort_lowmem                 4    0

l2_cksum_bad                    4    0

l2_io_error                     4    0

l2_size                         4    54477099008

l2_asize                        4    53834371072

l2_hdr_size                     4    42177792

l2_log_blk_writes               4    0

l2_log_blk_avg_asize            4    20255

l2_log_blk_asize                4    5357568

l2_log_blk_count                4    430

l2_data_to_meta_ratio           4    632

l2_rebuild_success              4    1

l2_rebuild_unsupported          4    0

l2_rebuild_io_errors            4    0

l2_rebuild_dh_errors            4    0

l2_rebuild_cksum_lb_errors      4    0

l2_rebuild_lowmem               4    0

l2_rebuild_size                 4    54472592896

l2_rebuild_asize                4    53849157632

l2_rebuild_bufs                 4    439460

l2_rebuild_bufs_precached       4    11

l2_rebuild_log_blks             4    430

memory_throttle_count           4    0

memory_direct_count             4    0

memory_indirect_count           4    0

memory_all_bytes                4    134918434816

memory_free_bytes               4    121582100480

memory_available_bytes          3    117013295232

arc_no_grow                     4    0

arc_tempreserve                 4    0

arc_loaned_bytes                4    0

arc_prune                       4    28

arc_meta_used                   4    1661828392

arc_dnode_limit                 4    429496729

async_upgrade_sync              4    186

predictive_prefetch             4    1987368

demand_hit_predictive_prefetch  4    145745

demand_iohit_predictive_prefetch 4    1340

prescient_prefetch              4    5103

demand_hit_prescient_prefetch   4    4682

demand_iohit_prescient_prefetch 4    421

arc_need_free                   4    0

arc_sys_free                    4    4568805248

arc_raw_size                    4    0

cached_only_in_progress         4    0

abd_chunk_waste_size            4    10471936

Config looks OK, but try replacing you conf file with the one attached, in case there's an issue with it, rename it to zfs.conf and then reboot.

 

 

zfs - 16G.conf

  • Author

Hi JorgeB
  thanks you much.
I do it, but nothing change
 

root@nas:~# cat /proc/spl/kstat/zfs/arcstats | grep c_max

c_max                           4    4294967296

root@nas:~# cat /boot/config/modprobe.d/zfs.conf

options zfs zfs_arc_max=16765034496


A mouth ago i change hw cpu + ram + mainboard. In previous installation i have only 16GB of ram, this can be a cause of this issue?

Thank a lot

That should not be a problem, but not sure what it could be

  • Author

Thanks

  • Author

Has the same thing happened to anyone?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.