• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Yellow Bricks

by Duncan Epping

  • Home
  • ESXTOP
  • Stickers/Shirts
  • Privacy Policy
  • About
  • Show Search
Hide Search

vSphere and Service Console Memory

Duncan Epping · Nov 24, 2009 ·

Today I read something I have not seen anywhere else before. I have always been under the impression that the memory reserved for the Service Console was increased from 272MB to 300MB. Although the bare minimum is indeed 300MB there’s another side to this story, something I did not expect but actually does make sense. As of ESX 4.0 the allocated Service Console memory automatically scales up and down when there is enough memory available during installation. Let’s make try to make that crystal clear:

  • ESX Host – 8GB RAM -> Default allocated Service Console RAM = 300MB
  • ESX Host – 16GB RAM -> Default allocated Service Console RAM = 400MB
  • ESX Host – 32GB RAM -> Default allocated Service Console RAM = 500MB
  • ESX Host – 64GB RAM -> Default allocated Service Console RAM = 602MB
  • ESX Host – 96GB RAM -> Default allocated Service Console RAM = 661MB
  • ESX Host – 128GB RAM -> Default allocated Service Console RAM = 703MB

Lessons learned:

  1. Allocated Service Console memory is based on a formula which takes available RAM into account. (Haven’t found the exact formula yet, if I do I will of course add it to this article.)
  2. Always make your swap partition 1600MB; as an increase of RAM might automatically lead to a swap partition which is too small.

Share it:

  • Tweet

Related

Server ESX, esxi, vSphere

Reader Interactions

Comments

  1. Alan Renouf says

    24 November, 2009 at 15:29

    I guess you also need to think about this if you increase your ram in your host after instalation as the SC will not automatically assign more.

  2. Viktor says

    24 November, 2009 at 15:46

    The good old 2.5 times come back again….

  3. thehyperadvisor says

    24 November, 2009 at 15:49

    Thanks for that information. I did not know this but since memory is relatively cheap in my eyes I always size my esx hosts Services console to have 800mb and a 1600mb swap.

  4. Scott Lowe says

    24 November, 2009 at 16:28

    Duncan, can you share with us where you were reading this information, or is that document VMware internal only?

  5. Chris says

    24 November, 2009 at 17:04

    ESX Server 43.2mb = 1mb service console, according to the 128gb ESX = 703mb SC.

    While the percentage of the first one is 3.75, or 26.66mb ESX = 1mb SC. Aside formula, 43.2 / 26.66 = 1.62 times.

    If you apply the second formula of an 8gb ESX it becomes 185mb SC initial usage. But, perhaps it’s just shown to be 300mb for 8gb but in reality it scale has a true initial of 12.96gb ESX for 300mb?

  6. Jason Boche says

    24 November, 2009 at 17:15

    vCalendar 2.0 entry sneak preview:
    On an ESX4 host, the default amount of Service Console memory assigned is 400MB. The maximum value is 800MB. The minimum is 256MB although the documentation claims 300MB.

    The values for an ESX3 host are the same, except for the out of box default amount of memory which for ESX3 is 272MB. With the added features and bolt on products in vSphere, it’s easy to see why VMware found it necessary to up the default amount.

  7. Chris says

    24 November, 2009 at 17:38

    Thanks for clarifying Jason

  8. Jason Boche says

    24 November, 2009 at 17:59

    @Chris Those are my findings on my lab equipment. While I doubt the MIN/MAX values change between different hosts, it sounds like the default value might.

  9. Duncan says

    24 November, 2009 at 21:36

    400 the default? That depends on the amount of memory you are carrying. I’ve seen implementations where the default was 300. and technically speaking there is not default. it can be anything between 300 and 800 🙂

  10. Hugo Strydom says

    25 November, 2009 at 15:47

    I just did an v4 installation on blades with 32gig memory and all the SC memory was 500Mb. On machines with lower memory I have seen the memory at 300mb…but not lower.

  11. Doug Davis says

    1 December, 2009 at 00:43

    Does anyone know why they decided on an 800MB maximum for the Service Console? Is it a technical limitation or just something VMware came up with as they thought it would be enough? Not sure about anyone else, but I regularly see the SC using 600MB+.

  12. Phil Dalton says

    2 December, 2009 at 16:58

    Hi guys,

    I’ve just installed 5 x ESX 4 (U1) with 64GB RAM. SC was set to 602 MB on them all.

    Summary page says it’s using 1860 MB with no VM’s…. greedy little thing isn’t it 🙂

  13. Greg Herzog says

    7 January, 2010 at 21:07

    I just noticed this today when I was trying to figure out why my installation scripts were not sizing the memory correctly. I use the sed command to do a find and replace so this worked great in ESX 3.5 since it was static, but not so much now.

    sed -i -e ‘s/\/boot\/memSize = \”661\”/\/boot\/memSize = \”800\”/’ /etc/vmware/esx.conf
    sed -i -e ‘s/676864/819200/’ /boot/grub/grub.conf

    One thing to notice from above and to add to your chart –

    ESX Host – 96GB RAM -> Default allocated Service Console RAM = 661MB

    Greg

  14. Greg Herzog says

    7 January, 2010 at 21:42

    My bad, in case anyone googles and tries to use this. Missed the middle line in the cut and paste.

    sed -i -e ‘s/\/boot\/memSize = \”661\”/\/boot\/memSize = \”800\”/’ /etc/vmware/esx.conf
    sed -i -e ‘s/661M/800M/’ /boot/grub/grub.conf
    sed -i -e ‘s/676864/819200/’ /boot/grub/grub.conf

  15. FrederikV says

    22 April, 2010 at 13:18

    the big question is: WHY ?
    it’s a management vm, isn’t it ?

  16. san says

    5 August, 2010 at 07:36

    That means,if I am making script to change the value to 800,I have do modification to that script so that firt it should read the value of memory assigned and then change it to 800

  17. Mirek says

    9 November, 2010 at 21:47

    “Although the bare minimum is indeed 300MB”. The bare minimum for ESX 4.1 is still 272MB – I have checked that in my lab. 300MB is a new minimum value that is set during installation (although you can change it to 272 afterwards).

Primary Sidebar

About the author

Duncan Epping is a Chief Technologist in the Office of CTO of the Cloud Platform BU at VMware. He is a VCDX (# 007), the author of the "vSAN Deep Dive" and the “vSphere Clustering Technical Deep Dive” series, and he is the host of the "In de aap gelogeerd" (Dutch) and "unexplored territory" (English) podcasts.

Upcoming Events

09-06-2022 – VMUG Belgium
16-06-2022 – VMUG Sweden

Recommended Reads

Sponsors

Want to support Yellow-Bricks? Buy an advert!

Advertisements

Copyright Yellow-Bricks.com © 2022 · Log in