Test if i allocate 4GB to the VM.

- VM not launched :

> AnonHugePages:         0 kB
> HugePages_Total:    2050
> HugePages_Free:     2050
> HugePages_Rsvd:        0
> HugePages_Surp:        0
> Hugepagesize:       2048 kB
>

- VM launched :

> AnonHugePages:     10240 kB
> HugePages_Total:    2050
> HugePages_Free:        2
> HugePages_Rsvd:        0
> HugePages_Surp:        0
> Hugepagesize:       2048 kB
>

2016-06-21 20:32 GMT+02:00 Alex Williamson <alex.l.william...@gmail.com>:

> On Tue, Jun 21, 2016 at 12:28 PM, Berillions <berilli...@gmail.com> wrote:
>
>> To enable the Hugepages and to allocate 4096, i only follow the Debian
>> Wiki like i said. And concerning the VM, i only add in the .xml :
>> "<memoryBacking>
>>          <hugepages/>
>> </memoryBacking>"
>>
>
> And when the VM is running does  HugePages_Free in /proc/meminfo decrease
> from HugePages_Total?
>
_______________________________________________
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users

Reply via email to