Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2013 23:53:03 +0100
From:      =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= <decke@bluelife.at>
To:        Yuri <yuri@rawbw.com>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: [VBox] Why VirtualBox process is so large?
Message-ID:  <CAE-m3X2dFEiP0og8FZOPYKBxifTx73xWyaCTjdE7eJPaSTdbrA@mail.gmail.com>
In-Reply-To: <52AB403B.5070502@rawbw.com>
References:  <52AADB18.3010407@rawbw.com> <52AB403B.5070502@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 13.12.2013 18:13 schrieb "Yuri" <yuri@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  20    0  1263M   444M select  0   9:06 88.48%
VirtualBox
> And 1024MB machine looks like this (FreeBSD guest):
> 13565 yuri           18  20    0  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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-m3X2dFEiP0og8FZOPYKBxifTx73xWyaCTjdE7eJPaSTdbrA>