[VBox] Why VirtualBox process is so large?

2013-12-13 Thread Yuri
I have the VM that is allocated 512MB of base memory for the guest, but 
its total memory size on host is 1263MB. This seems excessive.

What is the normal memory overhead for the VM? Is there a way to reduce it?
Documentation doesn't elaborate on this.

virtualbox-4.2.18
9.2

Yuri
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: [VBox] Why VirtualBox process is so large?

2013-12-13 Thread Bernhard Fröhlich
On Fri, Dec 13, 2013 at 11:02 AM, Yuri y...@rawbw.com wrote:
 I have the VM that is allocated 512MB of base memory for the guest, but its
 total memory size on host is 1263MB. This seems excessive.
 What is the normal memory overhead for the VM? Is there a way to reduce it?
 Documentation doesn't elaborate on this.

 virtualbox-4.2.18
 9.2

The used RAM is usually VM RAM + GPU RAM + (QT4 GUI) + overhead. How
did you measure those 1263MB on the host?

-- 
Bernhard Froehlich
http://www.bluelife.at/
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: [VBox] Why VirtualBox process is so large?

2013-12-13 Thread Yuri

On 12/13/2013 04:50, Bernhard Fröhlich wrote:

The used RAM is usually VM RAM + GPU RAM + (QT4 GUI) + overhead. How
did you measure those 1263MB on the host?


This is the total size of the VirtualBox process for the VM, no Qt GUI. 
I expected it to be somewhat higher than 512MB, but not 2.5 times.


Yuri
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: [VBox] Why VirtualBox process is so large?

2013-12-13 Thread Yuri

On 12/13/2013 02:02, Yuri wrote:
I have the VM that is allocated 512MB of base memory for the guest, 
but its total memory size on host is 1263MB. This seems excessive.
What is the normal memory overhead for the VM? Is there a way to 
reduce it?

Documentation doesn't elaborate on this.


512MB machine looks in ps(1) like this (linux guest):
5717 yuri 21  200  1263M   444M select  0   9:06 88.48% 
VirtualBox

And 1024MB machine looks like this (FreeBSD guest):
13565 yuri   18  200  1720M  1135M uwait   5  71:13 4.05% 
VirtualBox


Process sizes shouldn't be that high in both cases. My guess is that 
VBox takes freedom to allocate an additional disk cache maybe? Then this 
should be configurable. What other memory could this be? Leak?


As a comparison, VMWare lists the sample overhead memories: 
http://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.resmgmt.doc_50%2FGUID-B42C72C1-F8D5-40DC-93D1-FB31849B1114.html
For 1GB machine with 1CPU it would be ~26MB. We need to understand why 
VBox goes so much higher.


Yuri
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: [VBox] Why VirtualBox process is so large?

2013-12-13 Thread Bernhard Fröhlich
Am 13.12.2013 18:13 schrieb Yuri y...@rawbw.com:

 On 12/13/2013 02:02, Yuri wrote:

 I have the VM that is allocated 512MB of base memory for the guest, but
its total memory size on host is 1263MB. This seems excessive.
 What is the normal memory overhead for the VM? Is there a way to reduce
it?
 Documentation doesn't elaborate on this.


 512MB machine looks in ps(1) like this (linux guest):
 5717 yuri 21  200  1263M   444M select  0   9:06 88.48%
VirtualBox
 And 1024MB machine looks like this (FreeBSD guest):
 13565 yuri   18  200  1720M  1135M uwait   5  71:13 4.05%
VirtualBox

 Process sizes shouldn't be that high in both cases. My guess is that VBox
takes freedom to allocate an additional disk cache maybe? Then this should
be configurable. What other memory could this be? Leak?

 As a comparison, VMWare lists the sample overhead memories:
http://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.resmgmt.doc_50%2FGUID-B42C72C1-F8D5-40DC-93D1-FB31849B1114.html
 For 1GB machine with 1CPU it would be ~26MB. We need to understand why
VBox goes so much higher.

This is a bug on your side. Please look at the ps manpage to learn about
the different columns and what they mean.
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org