Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

open-vm-tools balloon memory driver not working right in ROS #2335

Closed
jambajaar opened this issue Apr 25, 2018 · 1 comment
Closed

open-vm-tools balloon memory driver not working right in ROS #2335

jambajaar opened this issue Apr 25, 2018 · 1 comment
Assignees
Milestone

Comments

@jambajaar
Copy link

We have concerns regarding the open-vm-tools balloon memory driver not working right in ROS (1.1.3).
Is this a defect?

We have vSphere hosts with 93% memory consumed, and we're surprised the balloon driver hasn't flushed the guests. We have a lot of memory on them that is not active.

$ sudo system-docker exec -ti open-vm-tools vmware-toolbox-cmd stat balloon
0 MB

The underlying vsphere host this ran on currently has 93% memory consumption. The guest active memory is perhaps 20% but it's holding onto all 100% from the vsphere host (hence the balloon driver should kick in at some point to free pages).

When should the balloon driver should kick-in .. we would have expected it to start before the vsphere memory alerts started to go off.

@niusmallnan
Copy link
Contributor

niusmallnan commented May 30, 2018

I didn't try Rancher v1.1.3, but try v1.4.0-rc2. Looks like the balloon memory driver can work fine.
Here are my steps:

  1. Boot an ESXi 6.5 host. The less host memory, the easier it is to observe balloon.
  2. Create multiple VMs so that host memory usage exceeds 90%
  3. Observe the host memory consumed by each VM, If the value changes(usually decreases), then check the balloon stat on this VM.

If it goes well, you can see the change of balloon memory:

$ sudo system-docker exec -ti open-vm-tools vmware-toolbox-cmd stat balloon
1070 MB

@niusmallnan niusmallnan added this to the v1.4.0 milestone Jun 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants