Re: [Xen-devel] reported memory usage does not match real memory usage

2020-02-13 Thread Olaf Hering
Am Thu, 13 Feb 2020 11:28:29 +0100 schrieb Jan Beulich : > On 12.02.2020 15:22, Olaf Hering wrote: > > With the script below, the formula may look like this: > > - each vcpu needs 1MB extra memory > > - each GB of a HVM domU memory needs 8MB extra memory > > - each HVM domU needs 2MB extra memory

Re: [Xen-devel] reported memory usage does not match real memory usage

2020-02-13 Thread Jan Beulich
On 12.02.2020 15:22, Olaf Hering wrote: > Am Wed, 12 Feb 2020 11:53:25 +0100 > schrieb Olaf Hering : > >> Is there a formula to calculate that amount of extra memory, is this >> behavior documented somewhere? See e.g. sh_min_allocation() and whatever its HAP counterpart is. But this and hence ..

Re: [Xen-devel] reported memory usage does not match real memory usage

2020-02-12 Thread Olaf Hering
Am Wed, 12 Feb 2020 11:53:25 +0100 schrieb Olaf Hering : > Is there a formula to calculate that amount of extra memory, is this behavior > documented somewhere? With the script below, the formula may look like this: - each vcpu needs 1MB extra memory - each GB of a HVM domU memory needs 8MB ext

[Xen-devel] reported memory usage does not match real memory usage

2020-02-12 Thread Olaf Hering
I was made aware of the fact that Xen apparently loses memory as soon as domUs are started. In my testing HVM domUs occupy much more memory than what was configured for them. The expected memory footprint for a PV domU seems to match the value in the domU config file. My test host has 128GB and