Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 20:53:36 +0200
From:      Anton Sayetsky <vsjcfm@gmail.com>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS and Wired memory, again
Message-ID:  <CAFG2KCLeaucA=3aJ%2B_NzsfzOfVNXtiCnrRWwCMhW==-JT7wkCA@mail.gmail.com>
In-Reply-To: <f6dfa6229d7707dd5657fae427f79ba2@webmail.lerctr.org>
References:  <CAFG2KC%2BZSHEVFbpPD9e1QHRdY=Sd6EuAD80vyDLDDQcpgCQNhA@mail.gmail.com> <530F6475.4090508@gmail.com> <CA%2BD9QhtVkYNoEGwhx-EJi9X1jr_UN2rgYxbZtA99qcT4UA-8kA@mail.gmail.com> <CAFG2KCLSSBwR5JbLdnVPy6E8UeGiWWCGsFcEjeU%2BeU5F2Xm%2BSw@mail.gmail.com> <f6dfa6229d7707dd5657fae427f79ba2@webmail.lerctr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2014-02-28 20:42 GMT+02:00 Larry Rosenman <ler@lerctr.org>:
> On 2014-02-28 12:31, Anton Sayetsky wrote:
>>
>> 2014-02-28 13:47 GMT+02:00 Matthias Gamsjager <mgamsjager@gmail.com>:
>>>>>
>>>>>
>>>>
>>>> +1 from me, FreeBSD 10, uma=0
>>>>
>>>> 52 processes:  2 running, 49 sleeping, 1 zombie
>>>> CPU:  0.0% user,  0.0% nice,  0.0% system,  0.4% interrupt, 99.6% idle
>>>> Mem: 31M Active, 16K Inact, 3352M Wired, 17M Cache, 48M Free
>>>> ARC: 1838M Total, 110M MFU, 18M MRU, 548K Anon, 1876M Header, 75M Other
>>>> Swap: 4096M Total, 126M Used, 3969M Free, 3% Inuse
>>>>
>>>> Machine is plain dead. Running database or squid or anything causes
>>>> excessive swapping. This is the state when I disabled all payload, with
>>>> everything started swap goes to 500M and machine is burning disks.
>>>>
>>>
>>> I wonder do you use any zfs tuning? Like max arc size? Wonder if setting
>>> that to a reasonable amount would help.
>>
>> Please read carefully my first message. No any tuning (configs
>> posted), and problem is not that ZFS uses big amount of memory. I'm
>> experiencing exactly one problem - Wired mem is significantly larger
>> than ARC.
>> E.g. if my ARC size is 2048M, I'm expecting that Wired will not
>> consume more than ARC+~150M.
>> _______________________________________________
>> freebsd-fs@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
>
> Other pieces of the system used wired memory......
>
> Have you investigated that as well?
And again - this has detailed explanation in the first letter. In short:
1. I've booted the system without any memory hungry services (only
basic like cron, powerd). Wired is 95M, ARC is 25M.
2. Then I started reading ZFS pool (tar cpf /dev/null
/pool/mountpoint). ARC - 2048M, Wired -  ~2800M.
WTF? Who eats more than 700M of kernel memory? Do you really think
that powerd or cron can do this?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFG2KCLeaucA=3aJ%2B_NzsfzOfVNXtiCnrRWwCMhW==-JT7wkCA>