Date: Fri, 1 Dec 2017 12:09:08 -0600 From: Dustin Wenz <dustinwenz@ebureau.com> To: Peter Grehan <grehan@freebsd.org> Cc: freebsd-virtualization@freebsd.org Subject: Re: bhyve uses all available memory during IO-intensive operations Message-ID: <22BC8832-924A-480B-A9A0-DB717D37BF08@ebureau.com> In-Reply-To: <a7a196a0-993d-20a4-46be-c617d145f6bb@freebsd.org> References: <F4E35CB9-30F9-4C63-B4CC-F8ADC9947E3C@ebureau.com> <9C202C72-EF74-4DB7-9B2C-736C049A9F7A@ebureau.com> <a7a196a0-993d-20a4-46be-c617d145f6bb@freebsd.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Yep, and that's also why bhyve is getting killed instead of paging out. For some inexplicable reason, chyves defaulted to setting -S on new VMs. That has the effect of wiring in the max amount of memory for each guest at startup.
I changed the bargs option to "-A -H -P" instead of "-A -H -P -S". Memory pressure is greatly alleviated upon restart. I'm going to do more testing, but I suspect this will fix my problem. Take this as a PSA for chyves users.
- .Dustin
> On Dec 1, 2017, at 11:56 AM, Peter Grehan <grehan@freebsd.org> wrote:
>
> The -S flag to bhyve wires guest memory so it won't be swapped out.
>
> later,
>
> Peter.
[-- Attachment #2 --]
0 *H
010 + 0 *H
00A0
*H
010 UUS10U Minnesota10USaint Cloud10U
eBureau10UIntegration10Uebureau.com1"0 *H
support@ebureau.com0
170505161615Z
270503161615Z0J10 UUS10UDustin Wenz1%0# *H
dustinwenz@ebureau.com0"0
*H
0
rW{aQFb~˞C .h`h]:=LbGl`S#kY0]<P!
J2TCzU)
+4g :wb<xU~@w<cs8L\[O
s vyS6:ϷSX?<H ͉OܾE9,(s~V$_=XV|x.2]&
ɬNjnʝwddv) g0c0 U0 0U0'U% 0+++0UˋPz[K}:BjZ40U#0Àg`,P |顁010 UUS10U Minnesota10USaint Cloud10U
eBureau10UIntegration10Uebureau.com1"0 *H
support@ebureau.com r0ŗ00 `HB#!http://www.ebureau.com/ca-crl.pem0
*H
vΩWA)pe?Dki?(ŷF'b3`Gܣ;:dBx,[-5r0peJWqBy}j=$j<aYT6{:ZZwa9<&ɞa{{]ҚnǙp'vR9Ht
{+Lµ+֧v}u.de*IeȚS} vKRWp,t{&C1Z#H^}c܁Yg100010 UUS10U Minnesota10USaint Cloud10U
eBureau10UIntegration10Uebureau.com1"0 *H
support@ebureau.comA0 + 0 *H
1 *H
0 *H
1
171201180909Z0# *H
1_Sy9c,0 +710010 UUS10U Minnesota10USaint Cloud10U
eBureau10UIntegration10Uebureau.com1"0 *H
support@ebureau.comA0*H
1010 UUS10U Minnesota10USaint Cloud10U
eBureau10UIntegration10Uebureau.com1"0 *H
support@ebureau.comA0
*H
^WܬG3VF2I(ImkEЎ,|M0ALU0!O:vJ=s$BK*jƕEkO)Gpbdw`Ȑ,nI ?SRb3rSVC|SφAYCQe~Sڈ\7riXۄxVPf^w!l#f2(tSjF&=ؙY$#r6Zb6(6I<