I have several VM's - Windows X - running with no problems.
But I have an VM with Home Assistant OS - running with USB card pci passthrough. I have allocated 2Gb of Ram but it increases the ram usage over time.
Some days - mostly when HA needs update it could use 20Gb ram - but only 2gb is allocated in the VM. If no update needed it uses 2.5-3Gb after 24 hours.
I dont know where to start ->
is it Bhyve
is it the PCI passthrough (dont think so)
is it HAOS that dont give a S*** about allocated mem :)
Its PID 20268 below (the win X PID 1468 has 8gb and is not increasing)
root@__[~]# top -o res
106 processes: 1 running, 105 sleeping
CPU: 1.7% user, 0.0% nice, 15.3% system, 6.3% interrupt, 76.8% idle
Mem: 3874M Active, 6313M Inact, 3280M Laundry, 17G Wired, 875M Free
ARC: 11G Total, 539M MFU, 9138M MRU, 1222M Anon, 52M Header, 329M Other
9001M Compressed, 9893M Uncompressed, 1.10:1 Ratio
Swap: 6144M Total, 375M Used, 5768M Free, 6% Inuse
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
1468 root 16 20 0 8250M 7670M kqread 1 310:04 5.52% bhyve
20268 root 14 20 0 3166M 2549M kqread 1 173:14 10.14% bhyve
But I have an VM with Home Assistant OS - running with USB card pci passthrough. I have allocated 2Gb of Ram but it increases the ram usage over time.
Some days - mostly when HA needs update it could use 20Gb ram - but only 2gb is allocated in the VM. If no update needed it uses 2.5-3Gb after 24 hours.
I dont know where to start ->
is it Bhyve
is it the PCI passthrough (dont think so)
is it HAOS that dont give a S*** about allocated mem :)
Its PID 20268 below (the win X PID 1468 has 8gb and is not increasing)
root@__[~]# top -o res
106 processes: 1 running, 105 sleeping
CPU: 1.7% user, 0.0% nice, 15.3% system, 6.3% interrupt, 76.8% idle
Mem: 3874M Active, 6313M Inact, 3280M Laundry, 17G Wired, 875M Free
ARC: 11G Total, 539M MFU, 9138M MRU, 1222M Anon, 52M Header, 329M Other
9001M Compressed, 9893M Uncompressed, 1.10:1 Ratio
Swap: 6144M Total, 375M Used, 5768M Free, 6% Inuse
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
1468 root 16 20 0 8250M 7670M kqread 1 310:04 5.52% bhyve
20268 root 14 20 0 3166M 2549M kqread 1 173:14 10.14% bhyve