zfs arc and amount of wired memory

Andriy Gapon avg at FreeBSD.org
Tue Feb 7 15:51:51 UTC 2012


on 07/02/2012 17:35 Eugene M. Zheganin said the following:
> Okay, thank you once again, it made me more clear what is happening to the memory:
> 
> 
> System Memory:
> 
>         4.39%   172.47  MiB Active,     0.29%   11.53   MiB Inact
>         90.68%  3.48    GiB Wired,      3.54%   138.98  MiB Cache
>         0.10%   4.12    MiB Free,       0.99%   39.07   MiB Gap
> 
>         Real Installed:                         4.00    GiB
>         Real Available:                 99.61%  3.98    GiB
>         Real Managed:                   96.31%  3.84    GiB
> 
>         Logical Total:                          4.00    GiB
>         Logical Used:                   96.22%  3.85    GiB
>         Logical Free:                   3.78%   154.63  MiB
> 
> Kernel Memory:                                  393.82  MiB
>         Data:                           96.14%  378.63  MiB
>         Text:                           3.86%   15.20   MiB
> 
> Kernel Memory Map:                              2.68    GiB
>         Size:                           9.82%   269.77  MiB
>         Free:                           90.18%  2.42    GiB
> 
> Looks like most of the 'wired' space is makred in kernel as free, though still
> 'wired', and thus for me it doesn't look that free as 'free' or 'inactive', and,
> as the paged out amount continues to grow, I want to ask if there's a way to make
> this address space availabe to a userland processes ?

I am not sure that these conclusions are correct.  Wired is wired, it's not free.
BTW, are you reluctant to share the full zfs-stats -a output?  You don't have to
place it inline, you can upload it somewhere and provide a link.

-- 
Andriy Gapon


More information about the freebsd-stable mailing list