• Currently using VMware at work? We want to hear from you.

    Thinking of making a switch from VMware? We'd love to hear your thoughts and feedback about which hypervisor you have been researching or already using. Click here to vote and share your thoughts! You can vote HERE!

FN11 VM Memory Utilization

Status
Not open for further replies.

Jrod696

Explorer
Joined
Nov 20, 2017
Messages
52
I have found a lot of conflicting answers to my questions via manuals and forums so I figured I would just ask directly and see what I got.

I currently have 8GB of ram in my system, if install a VM for lets say Debian and although it does not need it I give it 4gb of memory when setting up the VM. Will that 4gb be fully allocated and not usable by FN when the VM is running or will it only take what it needs up to the 4gb?
 

cfcaballero

Dabbler
Joined
Nov 26, 2017
Messages
45
I'm new around here, but I'd wager the answer you will receive most is that you need more RAM, as 8 GB is the absolute minimum recommended for FreeNAS. Good luck.
 

rs225

Guru
Joined
Jun 28, 2014
Messages
878
bhyve supports memory overcommit, which would spill to swap if necessary. The problem is that ZFS is a separate memory consumer in the kernel, and if there was actually a shortage of RAM, there are good odds that ZFS would shrink down very small before the VM or other things went to swap. There might be a tunable you can set to put a minimum on ZFS, but it wouldn't be smart to set that too high.
 

Jrod696

Explorer
Joined
Nov 20, 2017
Messages
52
I'm new around here, but I'd wager the answer you will receive most is that you need more RAM, as 8 GB is the absolute minimum recommended for FreeNAS. Good luck.
My current setup has 32gb of ram in it but I was using 8gb and 4gb for the extremes to make my question easier to make sense. Thanks for the lookout though.
 
Status
Not open for further replies.
Top