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.

ZFS l2arc hit rate?

Featured Replies

Hallo @All,

ich habe nun seid einiger zeit mein Array in einen Pool geändert mit ZFS-2 und einem L2ARC, zudem habe ich die mögliche Größe im Ram verdoppelt zum Standard.

Nun wollte ich mal sehen wie denn die Hit Rate für das l2arc aussieht, aber wie komme ich dran, die Standard Befehle mag die Shell nicht:

root@Mofa-NAS:~# arcstat
env: ‘python3’: No such file or directory
root@Mofa-NAS:~# arc
arc_summary arch archive_color arcstat
root@Mofa-NAS:~# arc_a
bash: arc_a: command not found
root@Mofa-NAS:~# arc_summary
env: ‘python3’: No such file or directory
root@Mofa-NAS:~# arcstat
env: ‘python3’: No such file or directory
root@Mofa-NAS:~# arcstat bigpool
env: ‘python3’: No such file or directory
root@Mofa-NAS:~#

Pool Übersicht, siehe Bild.

Gruß Mofarocker33

2025-11-15 20_05_51-Remote Desktop Manager [mofa-nas-vm-win11-neu].png

Edited by Mofarocker33
Code Block formating wrong

Spannend.... arcstat geht bei mir:

root@Raider:~# arcstat
    time  read  ddread  ddh%  dmread  dmh%  pread  ph%   size      c  avail
07:01:26     0       0     0       0     0      0    0   7.7G   7.8G  17.8G
root@Raider:~# 

Edited by faxxe71

1 hour ago, faxxe71 said:

Spannend.... arcstat geht bei mir:

du wirst wohl python installiert haben durch ein plugin, entweder direkt das python plugin oder eins wo es mit installiert.

oben sieht man ja "python3" missing

  • Author

Habe einfach aus dem App Shop das Paket "Python for Unraid" installiert und es funktioniert nun.

Aber die Stats sind so semi toll für eine 2TB Samsung pro - erst RAM dann l2arc:

       Total memory size:                                     125.6 GiB
        Min target size:                                3.1 %    3.9 GiB
        Max target size:                               25.0 %   31.4 GiB
        Target size (adaptive):                       100.0 %   31.4 GiB
        Current size:                                 100.0 %   31.4 GiB
        Free memory size:                                       49.3 GiB
        Available memory size:                                  45.0 GiB
ARC states hits of all accesses:
        Most frequently used (MFU):                    72.9 %       2.6G
        Most recently used (MRU):                      22.8 %     818.9M
        Most frequently used (MFU) ghost:             < 0.1 %       1.0M
        Most recently used (MRU) ghost:               < 0.1 %     754.6k
        Uncached:                                       0.0 %          0
ARC states breakdown (compressed + overhead):                   29.3 GiB
        Anonymous data size:                            0.3 %   86.2 MiB
        Anonymous metadata size:                      < 0.1 %    2.2 MiB
        MFU data target:                               60.4 %   17.7 GiB
        MFU data size:                                 61.6 %   18.1 GiB
        MFU evictable data size:                       57.2 %   16.8 GiB
        MFU ghost data size:                                     5.6 GiB
        MFU metadata target:                            4.1 %    1.2 GiB
        MFU metadata size:                              4.7 %    1.4 GiB
        MFU evictable metadata size:                    3.0 %  892.2 MiB
        MFU ghost metadata size:                                 1.3 GiB
        MRU data target:                               29.7 %    8.7 GiB
        MRU data size:                                 30.5 %    8.9 GiB
        MRU evictable data size:                       28.5 %    8.4 GiB
        MRU ghost data size:                                    10.2 GiB
        MRU metadata target:                            5.8 %    1.7 GiB
        MRU metadata size:                              3.0 %  899.8 MiB
        MRU evictable metadata size:                    0.9 %  267.0 MiB
        MRU ghost metadata size:                               598.0 MiB
        Uncached data size:                             0.0 %    0 Bytes
        Uncached metadata size:                         0.0 %    0 Bytes
-----
L2ARC size (adaptive):                                           1.4 TiB
        Compressed:                                    99.6 %    1.4 TiB
        Header size:                                    0.1 %    1.0 GiB
        MFU allocated size:                             4.3 %   61.9 GiB
        MRU allocated size:                            95.7 %    1.3 TiB
        Prefetch allocated size:                      < 0.1 %   87.4 MiB
        Data (buffer content) allocated size:          99.9 %    1.4 TiB
        Metadata (buffer content) allocated size:       0.1 %  930.3 MiB

L2ARC breakdown:                                                  122.2M
        Hit ratio:                                     31.5 %      38.5M
        Miss ratio:                                    68.5 %      83.7M

L2ARC I/O:
        Reads:                                        4.5 TiB      38.5M
        Writes:                                       9.3 TiB     580.0k

Aber eine Hit rate von 31.5% kann ich jetzt nicht unbedingt einordnen wie gut oder schlecht die ist. Jemand einen verleich oder Meinung dazu? Oder schreibe ich einfach die SSD damit tot?

Danke im voraus.

  • 2 months later...
  • Author

Ich behaupte nach so einiger Laufzeit ist das ganze doch wesentlich besser geworden:

L2ARC breakdown: 100.5M

Hit ratio: 58.7 % 59.0M

Miss ratio: 41.3 % 41.5M

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.