Feature #2879
Disable host level swap for VMware hypervisors
Status: | Closed | Start date: | 05/08/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Tino Vázquez | % Done: | 100% | |
Category: | Drivers - VM | |||
Target version: | Release 4.6.1 | |||
Resolution: | fixed | Pull request: |
Description
VMware hypervisor generates swap files (.vswp) for the amount of memory not reserved in a VM when there is memory overcommit. This file can be forced to be of size 0 when the VM reserves all memory it needs. To do this these parameters should be added to the VMX file:
sched.mem.min = "512" sched.mem.shares = "normal" sched.mem.pin = "TRUE"
This behavior should have a configuration parameter to enable or disable it.
Associated revisions
Feature #2879: Added configuration parameter to control vswp files
Feature #2879: Added configuration parameter to control vswp files
(cherry picked from commit 715658cefe1a627b94db7521c7af58a6a73c44b7)
Feature #2879: Added option to vmwarerc
Feature #2879: Added option to vmwarerc
(cherry picked from commit 91e5e17836c63278a650ca03572da5dfc20a3711)
Feature #2879: Added injection code to disable disk reservation
Feature #2879: Added injection code to disable disk reservation
(cherry picked from commit 879b57725c3a52fc1c303b7ace7484c7d16e09a3)
History
#1 Updated by Ruben S. Montero about 7 years ago
- Category set to Drivers - VM
- Assignee set to Javi Fontan
- Target version set to Release 4.8
#2 Updated by Javi Fontan about 7 years ago
- Assignee changed from Javi Fontan to Tino Vázquez
- Target version changed from Release 4.8 to Release 4.6.1
#3 Updated by Tino Vázquez about 7 years ago
- Status changed from Pending to Closed
- % Done changed from 0 to 100
- Resolution set to fixed
New conf option in vmwarerc to prevent vswp creation