Skip to content

Commit

Permalink
VMware balloon: Support 2m page ballooning.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Philip P. Moltmann authored and Greg Kroah-Hartman committed Oct 4, 2015
1 parent 33d268e commit 365bd7e
Showing 1 changed file with 258 additions and 118 deletions.
Loading

0 comments on commit 365bd7e

Please sign in to comment.