VMware Cloud Community
hihiy
Contributor
Contributor
Jump to solution

what is xxx.vswp file what is for?

hi all,

waht is .vswp file, and what is for?

thank you.

0 Kudos
1 Solution

Accepted Solutions
Rubeck
Virtuoso
Virtuoso
Jump to solution

Hi ..

The vswp file is used if the physical host is out of memory, and is basically what makes overcommitment of memory possible.

The .vswp file belongs to a VM. By default these are placed in each home dir. of any VM. This is per default the same size as the memory assigned for the VM unless you do reservations. If you do a 512MB memory reservation on a VM which has 2048MB assigned, the vswp file will then only be 1536MB..

Hope it helps....

/Rubeck

View solution in original post

5 Replies
Rubeck
Virtuoso
Virtuoso
Jump to solution

Hi ..

The vswp file is used if the physical host is out of memory, and is basically what makes overcommitment of memory possible.

The .vswp file belongs to a VM. By default these are placed in each home dir. of any VM. This is per default the same size as the memory assigned for the VM unless you do reservations. If you do a 512MB memory reservation on a VM which has 2048MB assigned, the vswp file will then only be 1536MB..

Hope it helps....

/Rubeck

depping
Leadership
Leadership
Jump to solution

as stated it is a guest swap file. it's the last resort for the hypervisor when it can't allocate enough memory for the guest.

Duncan

VMware Communities User Moderator | VCP | VCDX

-


Now available: vSphere 4.0 Quick Start Guide: Shortcuts down the path of Virtualization

Blogging: | Twitter:

sabya1232003
Enthusiast
Enthusiast
Jump to solution

As explained ..this file is required when there is a resource crunch for the Host's physical memory.The VMkernel tries to use this space for the required memory of the VM.This can be considered as the similar kind of role as the page file or swap file for Windows/Linux OS when there is a requirement

0 Kudos
AnatolyVilchins
Jump to solution

Vswp files are created when a VM is powered on and

deleted when a VM is powered off. This file is used only when an

overcommitted host has exhausted all of its physical memory.

Starwind Software Developer

www.starwindsoftware.com

Kind Regards, Anatoly Vilchinsky
hihiy
Contributor
Contributor
Jump to solution

thank you guys. thank you sooooo much.

0 Kudos