Solved

VmWare ESX 3.5 Swap file size

Posted on 2008-06-24
7
6,563 Views
Last Modified: 2012-08-13
I'm still new to the VmWare world and only install ESX 3.5 for the second time today. The server that I installed it on has 700GB of disk space and 20GB of ram. I left the swap file size at the default when I was going through the install which I believe was 500mb or so. Here are my questions 1) Since it have 20GB of ram should I increase my swap file size. 2) Can the swap file size be increased. 3) how may VM show I be able to run on a server with 8 processors, 700GB of disk and 20GB of ram???
0
Comment
Question by:compdigit44
7 Comments
 
LVL 18

Expert Comment

by:larstr
ID: 21862877
1)
Each VM will have it's own swap file. The size of this file will by default be the same as the size of ram allocated for the VM. This swap file will be created when you start the VM.

2) The swap file (and the ram) for the Service Console can be increased to 800MB if you for some reason get short on ram there.

3) You can give a single VM a maximum of 4 vcpus. All your VMs will however be load balanced across all 8 processors. You can also give your VM 700GB disk and 20GB ram if you want:
http://www.vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_config_max.pdf

Lars
0
 
LVL 14

Expert Comment

by:agriesser
ID: 21863678
Regarding this hardware, I think that the disk space will be the limiting factor. How many virtual machines you can run on this host depends on what VMs you're about to create, but to do some maths: If you want to install Windows XP sessions (e.g. to utilize VDI) with each having assigned one CPU and 512MB RAM, you can run about 40 virtual machines on this system.
Assuming further that each XP session has about 15GB of disk space, you're up to 600GB for all the vmdks (left alone the swap files, logfiles, and the ESX server installation itself).
Besides that, having so many VMs on just one physical disk will probably result in slow disk access times as in the worst case, 40 processes are trying to access the disk concurrently.

You can even have a centralized swap store for your ESX server so that all virtual machines use the same swap space, but I wouldn't recommend that if you're going to do snapshots, hot backups or DRS migrations using VMotion etc. with this VMs.

Is using VMCB (VMware Consolidated Backup) or Storage VMotion interesting for you? If so, make sure to have enough free space on your harddisk as in times when the machine needs to be backed up or copied to another data store, it will consume twice as much disk space as usual.
0
 
LVL 19

Author Comment

by:compdigit44
ID: 21865193
We are not using shared storage at this time but plan on move to one very soon. Here is another question. In ESX 3.5 can I easily increase the allocated hard disk space , CPU count and memory on the fly?
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 14

Expert Comment

by:agriesser
ID: 21865284
Of what? Of the ESX server itself or of the virtual machines?
0
 
LVL 18

Expert Comment

by:larstr
ID: 21865476
The only thing you can increase while running is disk space. Other devices need either that the VM is powered down or that the host is powered down. If you can do vmotion you will see that your guests might get a higher uptime than your hosts because of such things as hw upgrades and/or patching.
0
 
LVL 2

Accepted Solution

by:
CJRODRIG earned 500 total points
ID: 21869797
First of all you have a monster server! congrats! I'm running ESX server in a proliant DL380 with 8 GB RAM and 2 processors.

You need to plan your VMs to know how many will you deploy. It depends on which will be the workload of each VM (by example a DB Server should have more CPU, RAM and Disk resources assigned than a simple Web Server). Remember that you can assign resources usage (CPU, DISK, MEM and network) in a per-VM basis.

Swap space for the host computer isn't a big issue because its workload will be small. So default swap space will be good. If you want to assign more disk resources to your host server, I strongly recommend that you rebuild your VMWare server and DO NOT select the default partition config and make your own with your desired disk space for the swap partition. It is possible to expand/shrink your VM Swap partition but it will imply lot of effort.
0
 
LVL 14

Expert Comment

by:agriesser
ID: 21924415
Has this question been answered already?
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now