Feature #2879

Disable host level swap for VMware hypervisors

Added by Javi Fontan about 7 years ago. Updated about 7 years ago.

Status:ClosedStart date:05/08/2014
Priority:NormalDue 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

Revision 715658ce
Added by Tino Vázquez about 7 years ago

Feature #2879: Added configuration parameter to control vswp files

Revision a6779a67
Added by Tino Vázquez about 7 years ago

Feature #2879: Added configuration parameter to control vswp files

(cherry picked from commit 715658cefe1a627b94db7521c7af58a6a73c44b7)

Revision 91e5e178
Added by Tino Vázquez about 7 years ago

Feature #2879: Added option to vmwarerc

Revision a3cbf94b
Added by Tino Vázquez about 7 years ago

Feature #2879: Added option to vmwarerc

(cherry picked from commit 91e5e17836c63278a650ca03572da5dfc20a3711)

Revision 879b5772
Added by Tino Vázquez about 7 years ago

Feature #2879: Added injection code to disable disk reservation

Revision 234b10a7
Added by Tino Vázquez about 7 years ago

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

Also available in: Atom PDF