]> git.karo-electronics.de Git - karo-tx-linux.git/commit
VMware balloon: Support 2m page ballooning.
authorPhilip P. Moltmann <moltmann@vmware.com>
Thu, 6 Aug 2015 22:18:01 +0000 (15:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 11:59:11 +0000 (12:59 +0100)
commit365bd7ef7ec8eb9c2e081cd970a5cdfa237dc243
tree5cb88fbefca46427f6e1cc980bf9d00e4533b3a3
parent33d268ed00190e8bc642508f9eb2f3f9ac0a1569
VMware balloon: Support 2m page ballooning.

2m ballooning significantly reduces the hypervisor side (and guest side)
overhead of ballooning and unballooning.

hypervisor only:
      balloon  unballoon
4 KB  2 GB/s   2.6 GB/s
2 MB  54 GB/s  767 GB/s

Use 2 MB pages as the hypervisor is alwys 64bit and 2 MB is the smallest
supported super-page size.

The code has to run on older versions of ESX and old balloon drivers run on
newer version of ESX. Hence match the capabilities with the host before 2m
page ballooning could be enabled.

Signed-off-by: Xavier Deguillard <xdeguillard@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/vmw_balloon.c