Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2018 13:15:19 +0100
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: lightly loaded system eats swap space
Message-ID:  <e89ea58d-a8b9-62b4-c719-f017d97fa90e@zyxst.net>
In-Reply-To: <c2297794-1b9e-01b7-c568-ab1752c0a49f@ShaneWare.Biz>
References:  <c8277497-ffcf-0503-490b-96d1b4605af7@zyxst.net> <c2297794-1b9e-01b7-c568-ab1752c0a49f@ShaneWare.Biz>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18/06/2018 07:14, Shane Ambler wrote:
> There is `sysctl vm.max_wired` which limits the kernel wired memory, the
> arc is then also wired but added on top of that setting, if your guests
> are then wiring more ram, you can get too much wired.
> 
> There is a patch in review that attempts to improve arc releasing when
> free ram is low. See if this helps -
> 
> https://reviews.freebsd.org/D7538
> 
> Other than that check that your guest ram + max_wired + arc_max adds up
> to less than your physical ram minus some host system ram. Note that
> wax_wired is a page count so multiply it by hw.pagesize

Thanks for this. I can't apply the diff just yet due to the machine 
being in service but will let you know how I get on when I can.

-- 
J.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e89ea58d-a8b9-62b4-c719-f017d97fa90e>