Date: Wed, 20 Feb 2019 15:14:07 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Mike Tancsa <mike@sentex.net>, Mark Johnston <markj@freebsd.org> Cc: Konstantin Belousov <kib@freebsd.org>, FreeBSD stable <freebsd-stable@freebsd.org>, Andriy Gapon <avg@freebsd.org> Subject: Re: 11.2-STABLE kernel wired memory leak Message-ID: <7d65ed28-59e4-afd9-a654-b3edef7e1ab2@grosbein.net> In-Reply-To: <519340fd-5651-1ab7-7b30-2c75262748e1@sentex.net> References: <d8c7abc0-3ba1-40e4-22b1-1b30d28ced14@grosbein.net> <20190212163446.GA29847@raichu> <763f9373-747a-fe5b-8376-cc9bb3293219@grosbein.net> <35ea679a-09a8-196b-c1c5-99979772f878@sentex.net> <519340fd-5651-1ab7-7b30-2c75262748e1@sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
20.02.2019 3:49, Mike Tancsa wrote: > On 2/19/2019 2:35 PM, Mike Tancsa wrote: >> dd if=/dev/zero of=/tanker/test bs=1m count=100000 > > The box has 32G of RAM. If I do a > > # sysctl -w vfs.zfs.arc_max=12224866304 > vfs.zfs.arc_max: 32224866304 -> 12224866304 > # > > after WIRED memory is at 29G, it doesnt immediately reclaim it and there > is memory pressure. Booting the box with > vfs.zfs.arc_max=12224866304 > keeps WIRED at 15G Can you repeat your test with additional vm.v_free_min=131072 (512M) or 262144 (1G)? For me, it makes kernel reclaim unused UMA memory quickly: first it goes from WIREE to FREE for a moment, then re-used as needed.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d65ed28-59e4-afd9-a654-b3edef7e1ab2>