Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1
    Senior Member
    Join Date
    Aug 2005
    Location
    Auckland
    Posts
    677

    Default ESXi - Help with Memory Configuration

    Hey!

    Not sure if anyone here is experienced with ESX but thought I'd give it a try anyway

    Working configuration:
    Code:
    Host sever: 5gb RAM
    
    VM1: 1gb RAM
    VM2: 2gb RAM
    
    Datastore free space: 2.45gb
    If I try to incrase the RAM of either so that the total for the two VMs adds to over 3gb I get a 'resource allocation error' when I try to boot up the 2nd VM. I would really like to know why this is happening since the server has over 4gb RAM?

    I've set up a resource allocation for both VMs so that the swap file created is 0 bytes, as there isn't much space on the datastore, so that is not the issue. I do understand that ESX itself will use some of that RAM but surely not 1.5gb.

    Hope someone can help

    Thanks!

  2. #2
    Network Engineer SolMiester's Avatar
    Join Date
    Feb 2005
    Location
    Napier
    Posts
    8,184

    Default Re: ESXi - Help with Memory Configuration

    Hi ESX can over commit, so its not resourse per sa. How many CPU has the host?, i ask this as if dual socket, the RAM will be allocated half to each pCPU, therefore the most you can have depending on vCPU is 2GB....
    ESX will only use 256-512Mb RAM itself....
    HOME-LianLi PC-9F,ASRock P67Pro3, i5 2500k @4Ghz, 8Gb HyperX, ASUS GTX660 OC, Corsair Force 120 SSD, HP zIPS22", HOME SERVER HP ML110G6 HOST-Plex\Ubuntu\8

  3. #3
    Senior Member
    Join Date
    Aug 2005
    Location
    Auckland
    Posts
    677

    Default Re: ESXi - Help with Memory Configuration

    The server has 2 CPUs:

    Intel Xeon 3.2GHz
    Processor Sockets: 2
    Processors Cores per Socket: 1
    Logical Processors: 4
    Hyperthreading: Enabled

    ---

    So does this mean the most I can give to one VM is 2gb? Both the VMs are set to use 4 CPUs.

  4. #4
    IT Contractor
    Join Date
    Feb 2005
    Posts
    2,677

    Default Re: ESXi - Help with Memory Configuration

    What version of ESXi?
    Windows 7 x64 // i5-3570K // 16GB DDR3-1600 // GTX660Ti 2GB // Samsung 830 120GB SSD // OCZ Agility4 120GB SSD
    Windows 7 x64 // Phenom II 955 // 8GB DDR3-1333 // GTX460 1GB // Corsair Force3 120GB SSD
    Samsung Galaxy S4 GT-I9505

  5. #5
    Network Engineer SolMiester's Avatar
    Join Date
    Feb 2005
    Location
    Napier
    Posts
    8,184

    Default Re: ESXi - Help with Memory Configuration

    Quote Originally Posted by WarNox View Post
    The server has 2 CPUs:

    Intel Xeon 3.2GHz
    Processor Sockets: 2
    Processors Cores per Socket: 1
    Logical Processors: 4
    Hyperthreading: Enabled

    ---

    So does this mean the most I can give to one VM is 2gb? Both the VMs are set to use 4 CPUs.
    Ahh, there's an issue right there, its not recommended assigning 4 cores to VM, especially when you only have 4 cores. The reason being that when a VM calls on its 4 cores, the other VM vCPU calls get queued!....
    Secondly, the RAM is associated across the banks 2.5 to 1 pCPU and 2.5 to the other.

    After the Host COS has its RAM, you are allocating RAM from BOTH banks back to 1 VM.....
    Drop back to 2 cores per VM, ESX will distribute the memory via pCPU bank, and you should be alright!


    If thats not the issue, check you havent got reservations adding more than the memory you have....
    http://www.vmware.com/files/pdf/perf...management.pdf
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	memory.jpg 
Views:	117 
Size:	40.9 KB 
ID:	1926  
    Last edited by SolMiester; 22-11-2010 at 01:44 PM.
    HOME-LianLi PC-9F,ASRock P67Pro3, i5 2500k @4Ghz, 8Gb HyperX, ASUS GTX660 OC, Corsair Force 120 SSD, HP zIPS22", HOME SERVER HP ML110G6 HOST-Plex\Ubuntu\8

  6. #6
    Senior Member
    Join Date
    Aug 2005
    Location
    Auckland
    Posts
    677

    Default Re: ESXi - Help with Memory Configuration

    Cool, I will give this a try in a few hours. Will post back then.

    ESXi version is 3.5 update 5, could not use 4 or 4.1 because of the whole 64 bit thing.

  7. #7
    Senior Member
    Join Date
    Aug 2005
    Location
    Auckland
    Posts
    677

    Default Re: ESXi - Help with Memory Configuration

    Ok so I shut down the 2 VM's, set both to use 2 CPUs but still can't boot with the following:

    VM1: 1536mb ram
    VM2: 2560mb ram

    Screenshots of everything included below. I had a look at that PDF but still can't figure out what the problem here is.

    Let me know if you need any more info and thanks again!
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	RamAllocation.JPG 
Views:	119 
Size:	33.9 KB 
ID:	1927   Click image for larger version. 

Name:	CPUallocation.JPG 
Views:	98 
Size:	36.1 KB 
ID:	1928   Click image for larger version. 

Name:	vm1-mem.jpg 
Views:	109 
Size:	56.4 KB 
ID:	1929   Click image for larger version. 

Name:	vm2-mem2.jpg 
Views:	97 
Size:	60.0 KB 
ID:	1930  

  8. #8
    Network Engineer SolMiester's Avatar
    Join Date
    Feb 2005
    Location
    Napier
    Posts
    8,184

    Default Re: ESXi - Help with Memory Configuration

    You'll have to post screenshot for me...of error message
    HOME-LianLi PC-9F,ASRock P67Pro3, i5 2500k @4Ghz, 8Gb HyperX, ASUS GTX660 OC, Corsair Force 120 SSD, HP zIPS22", HOME SERVER HP ML110G6 HOST-Plex\Ubuntu\8

  9. #9
    Network Engineer SolMiester's Avatar
    Join Date
    Feb 2005
    Location
    Napier
    Posts
    8,184

    Default Re: ESXi - Help with Memory Configuration

    Quote Originally Posted by WarNox View Post
    Ok so I shut down the 2 VM's, set both to use 2 CPUs but still can't boot with the following:

    VM1: 1536mb ram
    VM2: 2560mb ram

    Screenshots of everything included below. I had a look at that PDF but still can't figure out what the problem here is.

    Let me know if you need any more info and thanks again!
    Your reservation is also the limit, see mine, limit is more than reservation, increase the limit of memory!
    HOME-LianLi PC-9F,ASRock P67Pro3, i5 2500k @4Ghz, 8Gb HyperX, ASUS GTX660 OC, Corsair Force 120 SSD, HP zIPS22", HOME SERVER HP ML110G6 HOST-Plex\Ubuntu\8

  10. #10
    Senior Member
    Join Date
    Aug 2005
    Location
    Auckland
    Posts
    677

    Default Re: ESXi - Help with Memory Configuration

    Error from the Event Log on the ESX server included below. Also included is a screenshot of the configuration I got to work. 1gb on one VM and 2.25gb on the other but anymore than that and I get the same error.

    I set the limit the same as the reservation or a swap file is created on the datastore and there isn't enough space left on the datastore for this. Therefore I want to assign each VM a certain amount of physical ram.

    What I got now works fine but I want to know why its not letting me assign more than 3.2gb since there is 5gb in the server.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	allocation.JPG 
Views:	87 
Size:	38.5 KB 
ID:	1937   Click image for larger version. 

Name:	error.jpg 
Views:	116 
Size:	6.8 KB 
ID:	1938  

Similar Threads

  1. HDD configuration
    By Nomad in forum PressF1
    Replies: 5
    Last Post: 04-04-2008, 04:01 PM
  2. IDE configuration
    By danrivera204 in forum PressF1
    Replies: 11
    Last Post: 20-01-2003, 07:53 PM
  3. Memory Stick Reader Configuration
    By in forum PressF1
    Replies: 1
    Last Post: 03-02-2002, 12:42 PM
  4. Virtual Memory \ Physical Memory
    By in forum PressF1
    Replies: 0
    Last Post: 01-08-2000, 09:11 PM
  5. Replies: 0
    Last Post: 13-08-1999, 11:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •