Bug 213367 - Attempting to install Windows 7 in bhyve on 11.0-RC3 via UEFI GOP consumes all memory
Summary: Attempting to install Windows 7 in bhyve on 11.0-RC3 via UEFI GOP consumes al...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.0-RC1
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-virtualization (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-10 23:04 UTC by Joseph Mulloy
Modified: 2016-10-11 11:57 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Mulloy 2016-10-10 23:04:00 UTC
I'm trying to install Windows 7 in a bhyve VM using chyves. During the phase of the install where Windows unpacks it's files onto the hard disk all the memory in my system is wired, but it's not all going to the ZFS ARC. Perhaps there is a memory leak.

##### Output of loop on output from top #####
Mon Oct 10 22:59:18 UTC 2016
Mem: 96M Active, 34M Inact, 21G Wired, 10G Free
ARC: 8303M Total, 968M MFU, 2118M MRU, 2452M Anon, 1576M Header, 1188M Other
Mon Oct 10 22:59:19 UTC 2016
Mem: 95M Active, 34M Inact, 21G Wired, 10G Free
ARC: 8400M Total, 985M MFU, 2114M MRU, 2498M Anon, 1598M Header, 1205M Other
Mon Oct 10 22:59:20 UTC 2016
Mem: 95M Active, 34M Inact, 21G Wired, 9887M Free
ARC: 8491M Total, 985M MFU, 2116M MRU, 2547M Anon, 1620M Header, 1222M Other
Mon Oct 10 22:59:22 UTC 2016
Mem: 94M Active, 34M Inact, 21G Wired, 9724M Free
ARC: 8572M Total, 985M MFU, 2098M MRU, 2612M Anon, 1640M Header, 1236M Other
Mon Oct 10 22:59:23 UTC 2016
Mem: 94M Active, 34M Inact, 23G Wired, 8383M Free
ARC: 8599M Total, 985M MFU, 2097M MRU, 2628M Anon, 1647M Header, 1241M Other
Mon Oct 10 22:59:24 UTC 2016
Mem: 94M Active, 34M Inact, 24G Wired, 6562M Free
ARC: 8602M Total, 985M MFU, 2100M MRU, 2628M Anon, 1647M Header, 1242M Other
Mon Oct 10 22:59:25 UTC 2016
Mem: 94M Active, 34M Inact, 26G Wired, 4909M Free
ARC: 8627M Total, 985M MFU, 2104M MRU, 2639M Anon, 1652M Header, 1245M Other
Mon Oct 10 22:59:26 UTC 2016
Mem: 94M Active, 34M Inact, 28G Wired, 3321M Free
ARC: 8663M Total, 986M MFU, 2110M MRU, 2654M Anon, 1661M Header, 1252M Other
Mon Oct 10 22:59:28 UTC 2016
Mem: 94M Active, 34M Inact, 29G Wired, 1561M Free
ARC: 8657M Total, 1002M MFU, 2108M MRU, 2643M Anon, 1656M Header, 1248M Other
Mon Oct 10 22:59:29 UTC 2016
Mem: 103M Active, 504K Inact, 31G Wired, 72K Cache, 239M Free
ARC: 5870M Total, 712M MFU, 74M MRU, 2640M Anon, 1545M Header, 900M Other
Mon Oct 10 22:59:38 UTC 2016

##### Chyves settings for the VM #####

root@server1:~ # chyves win7 get all
Getting all win7's properties...
bargs                                -H -P -S
bhyve_disk_type                      ahci-hd
bhyve_net_type                       virtio-net
bhyveload_flags
chyves_guest_version                 0300
cpu                                  1
creation                             Created on Mon Oct 10 22:06:33 UTC 2016 by chyves v0.2.0 2016/09/11 using __create()
description                          -
eject_iso_on_n_reboot                2
loader                               uefi
net_ifaces                           tap55
notes                                -
os                                   default
ram                                  2G
rcboot                               0
revert_to_snapshot_method            off
revert_to_snapshot
serial                               nmdm55
template                             no
uefi_console_output                  vnc
uefi_firmware                        BHYVE_UEFI_20160704_1.fd
uefi_vnc_ip                          10.2.4.50
uefi_vnc_mouse_type                  ps2
uefi_vnc_pause_until_client_connect  yes
uefi_vnc_port                        5900
uefi_vnc_res                         1024x768
uuid                                 cce87028-8f35-11e6-86a3-94de80a12470

##### UEFI Firmware #####
root@server1:~ # pkg info uefi-edk2-bhyve-20160704_1                                                                                                                        
uefi-edk2-bhyve-20160704_1
Name           : uefi-edk2-bhyve
Version        : 20160704_1
Installed on   : Fri Oct  7 16:06:51 2016 UTC
Origin         : sysutils/uefi-edk2-bhyve
Architecture   : freebsd:11:x86:64
Prefix         : /usr/local
Categories     : sysutils
Licenses       : BSD2CLAUSE
Maintainer     : fabian.freyer@physik.tu-berlin.de
WWW            : https://github.com/freebsd/uefi-edk2/tree/bhyve/UDK2014.SP1
Comment        : UEFI-EDK2 firmware for bhyve
Options        :
        DEBUG          : off
Annotations    :
        repo_type      : binary
        repository     : pkg.jdmulloy.net
Flat size      : 2.00MiB
Description    :
UEFI-EDK2 firmware for bhyve.

WWW: https://github.com/freebsd/uefi-edk2/tree/bhyve/UDK2014.SP1