Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Feb 2012 21:35:05 +0600
From:      "Eugene M. Zheganin" <emz@norma.perm.ru>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: zfs arc and amount of wired memory
Message-ID:  <4F3144A9.2000505@norma.perm.ru>
In-Reply-To: <4F310E75.7090301@FreeBSD.org>
References:  <4F30E284.8080905@norma.perm.ru> <4F310115.3070507@FreeBSD.org> <4F310C5A.6070400@norma.perm.ru> <4F310E75.7090301@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi.

On 07.02.2012 17:43, Andriy Gapon wrote:
> on 07/02/2012 13:34 Eugene M. Zheganin said the following:
>> Hi.
>>
>> On 07.02.2012 16:46, Andriy Gapon wrote:
>>> on 07/02/2012 10:36 Eugene M. Zheganin said the following:
>>>> If I use the script from http://wiki.freebsd.org/ZFSTuningGuide , it says:
>>>>
>>>> ===Cut===
>>>> ARC Size:                               12.50%  363.14  MiB
>>>>           Target Size: (Adaptive)         12.50%  363.18  MiB
>>>>           Min Size (Hard Limit):          12.50%  363.18  MiB
>>>>           Max Size (High Water):          8:1     2.84    GiB
>>>> ===Cut===
>>>>
>>>> At the same time I have 3500 megs in wired state:
>>>>
>>>>
>>>> Please try sysutils/zfs-stats; zfs-stats -a output should provide a good
>>>> overview of the state and configuration of the system.
>>>>
>> Thanks.  But it seems to be the same script. Anyway, it reports the same amount
>> of memory:
>>
>> [emz@taiga:~]# zfs-stats -A
> zfs-stats -A is not the same as zfs-stats -a
>

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 ?

Thanks.
Eugene.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F3144A9.2000505>