bhyve uses all available memory during IO-intensive operations

Dustin Wenz dustinwenz at ebureau.com
Fri Dec 1 18:09:11 UTC 2017


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 at freebsd.org> wrote:
> 
> The -S flag to bhyve wires guest memory so it won't be swapped out.
> 
> later,
> 
> Peter.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2202 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20171201/2503d02d/attachment.bin>


More information about the freebsd-virtualization mailing list