bhyve/iohyve 2GB RAM limit?

Status
Not open for further replies.

RoboKaren

Contributor
Joined
Apr 8, 2014
Messages
130
I'm running Ubuntu in a bhyve but I can't seem to set the RAM to more than 2GB and have it reflected in the VM :

Code:
[me@bethel] ~% sudo iohyve getall ubucrashplan
Getting ubucrashplan iohyve properties...
bargs		  -A_-H_-P
boot		   0
con			nmdm2
cpu			2
description	Sun Nov  6 17:25:57 PST 2016
install		no
loader		 grub-bhyve
name		   ubucrashplan
os			 debian
persist		1
ram			6GB
size		   50G
tap			tap4


and yet in my virtual machine
Code:
me@ubud:~$ sudo lshw
ubud						
	description: Computer
	product: BHYVE (None)
	version: 1.0
	serial: None
	width: 64 bits
	capabilities: smbios-2.6 dmi-2.6 smp vsyscall32
	configuration: boot=normal sku=None uuid=4A25390E-6342-3E58-BBB2-9B3C22CB4E58

  *-core
	  description: Motherboard
	  physical id: 0
	*-firmware
		  description: BIOS
		  vendor: BHYVE
		  physical id: 1
		  version: 1.00
		  date: 03/14/2014
		  size: 64KiB
		  capabilities: isa pci shadowing cdboot edd acpi biosbootspecification virtualmachine

	*-cpu:0
		  description: CPU
		  product: Intel(R) Xeon(R) CPU E3-1270 V2 @ 3.50GHz
		  vendor: Intel Corp.
		  physical id: 4
		  bus info: cpu@0
		  serial: None
		  slot: CPU #0
		  width: 64 bits

		  capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht pbe syscall nx constant_tsc rep_good nopl xtopology nonstop_tsc eagerfpu pni pclmulqdq dtes64 ds_cpl ssse3 cx16 xtpr pcid sse4_1 sse4_2 popcnt aes xsave avx f16c rdrand hypervisor lahf_lm fsgsbase erms xsaveopt arat

	*-cpu:1
		  description: CPU
		  product: Intel(R) Xeon(R) CPU E3-1270 V2 @ 3.50GHz
		  vendor: Intel Corp.
		  physical id: 5
		  bus info: cpu@1
		  serial: None
		  slot: CPU #1
		  width: 64 bits

		  capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht pbe syscall nx constant_tsc rep_good nopl xtopology nonstop_tsc eagerfpu pni pclmulqdq dtes64 ds_cpl ssse3 cx16 xtpr pcid sse4_1 sse4_2 popcnt aes xsave avx f16c rdrand hypervisor lahf_lm fsgsbase erms xsaveopt arat

		*-bank
			description: [empty]
			product: None
			physical id: 0
			serial: None
			width: 64 bits

	*-memory
		  description: System Memory
		  physical id: 6
		  slot: System board or motherboard
		  size: 1999MiB
		  capacity: 2GiB
 
Last edited:

RoboKaren

Contributor
Joined
Apr 8, 2014
Messages
130
Nope, I had thought of that. I had also thought of using 4096, 4096M or 4096MB as alternates to 4G or 4GB or 6G in the RAM settings of iohyve (which doesn't seem to do any sanity checking).

Code:
uname -a

Linux ubud 4.8.0-27-generic #29-Ubuntu SMP Thu Oct 20 21:03:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
 
Last edited:

Sakuru

Guru
Joined
Nov 20, 2015
Messages
527
  1. Which version of FreeNAS are you running?
  2. How did you create the VM?
  3. Did you change the amount of RAM after creating it?
 

RoboKaren

Contributor
Joined
Apr 8, 2014
Messages
130
1. U4
2. Using iohyve
3. I had initially set it as 2G then tried to expand it to 4G. Is this not something that's doable?
 

RoboKaren

Contributor
Joined
Apr 8, 2014
Messages
130
Something happened in upgrading to 9.10.2. My iohyve VM wouldn't startup with UEFI so I switched to grub-bhyve.

When the VM started back up, it was running with the increased RAM.

I'm not sure if it was something in 9.10.2 that fixed it, or if it was a the UEFI loader switch to GRUB that did it, but in either case I now mysteriously have my missing RAM.
 
Status
Not open for further replies.
Top