VMware Cloud Community
savoy6
Contributor
Contributor
Jump to solution

Added more memory...Does swap have to be changed?

I went from 32 to 64 GB of memory on several of my ESX 3 servers. Do I also need to change the size of my swap, or am I OK? Is there a process to change this?

Thanks,

Miguel

Did you power down the VMs before the storage?
0 Kudos
1 Solution

Accepted Solutions
vmmeup
Expert
Expert
Jump to solution

I remember what it is. The max memory you can assign to the service console is 800Mb so the max you would need to make the swap is 1.6Gb...double the ram the service console can use. The vm's use a separate swap file that is stored with the virtual machines files. So for practical scenarios just make your swap 1.6Gb and if you ever need to you can grow your service console memory to 800Mb without a problem.

So unless you need to grow your service console memory you shouldn't need to grow your swap. The vm's if needed use swap files that are stored with their files.

Sid Smith ----- VCP, VTSP, CCNA, CCA(Xen Server), MCTS Hyper-V & SCVMM08 [http://www.dailyhypervisor.com] - Don't forget to award points for correct and helpful answers. 😉

View solution in original post

0 Kudos
4 Replies
oreeh
Immortal
Immortal
Jump to solution

The swap partition is only used from the COS.

VMs use their own dedicated swap (vswp file residing (per default) in the same location were the vmx file is located)

If you don't change the memory allocation for the COS you don't have to change the swap size.

0 Kudos
vmmeup
Expert
Expert
Jump to solution

What is your swap size now?

Isn't there a max swap size of 8Gb or something like that.....hmmmm maybe it is 4Gb I forget.

Message was edited by:

vmmeup

Sid Smith ----- VCP, VTSP, CCNA, CCA(Xen Server), MCTS Hyper-V & SCVMM08 [http://www.dailyhypervisor.com] - Don't forget to award points for correct and helpful answers. 😉
0 Kudos
oreeh
Immortal
Immortal
Jump to solution

Isn't there a max swap size of 8Gb or something like that.....hmmmm maybe it is 4Gb I forget.

2GB on i386 according to the howtos

0 Kudos
vmmeup
Expert
Expert
Jump to solution

I remember what it is. The max memory you can assign to the service console is 800Mb so the max you would need to make the swap is 1.6Gb...double the ram the service console can use. The vm's use a separate swap file that is stored with the virtual machines files. So for practical scenarios just make your swap 1.6Gb and if you ever need to you can grow your service console memory to 800Mb without a problem.

So unless you need to grow your service console memory you shouldn't need to grow your swap. The vm's if needed use swap files that are stored with their files.

Sid Smith ----- VCP, VTSP, CCNA, CCA(Xen Server), MCTS Hyper-V & SCVMM08 [http://www.dailyhypervisor.com] - Don't forget to award points for correct and helpful answers. 😉
0 Kudos