Ask Your Question

Is 2 GB;2 vCPUs/cores per VM a reasonable configuration?

asked 2014-02-20 07:03:46 -0500

Pekka gravatar image

updated 2014-02-23 20:57:49 -0500

smaffulli gravatar image

I am planning to install OpenStack into a server rack with the following spec:

Dell PowerEdge R820

  • 4 processors (Intel Xeon E5-4620), 8 cores/processor
  • 512 GB RAM
  • 8 HDD, 1 TB/disk
  • 2*1Gb, 2*10Gb network cards

I am planning to use one controller due to shortage of public IP addresses.

I have the following questions regarding installation:

  • How should I allocate memory, vCPUs and disks for controller, compute and storage nodes?
  • How many compute nodes should I use?
  • I am planning to run database instances on VMS with heavy writes.

In this case does 32 GB;2 vCPUs/cores per VM sound reasonable?

edit retag flag offensive close merge delete


I tried to edit the title of your question to be more precise, following the spirit of this site: one problem, one answer. If you need to discuss things further I'd suggest you to use the Operators maling list

smaffulli gravatar imagesmaffulli ( 2014-02-23 20:59:06 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-02-24 07:35:02 -0500

Pekka gravatar image

thanks for the answer.

Do you mean I should use 256 GB/controller and 256 GB/all compute nodes?

Sorry for the typo, I meant VMs (virtual machines), not VMS.

I am also wondering how the vCPUs should be divided between the controller and compute nodes.

edit flag offensive delete link more

answered 2014-02-21 11:21:40 -0500

Allocate memory 1:1 for best performance, for vCPU's the default is 16, I would suggest 6 or changing the default. How do you plan on running VMS on an x86 platform ? do you have an emulator ? I would assume so. for your DB instance I would start with what you have, and then you can grow the vCPU's if you need to later, or OpenStack calls it re-sizing a flavor.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-02-20 07:03:46 -0500

Seen: 264 times

Last updated: Feb 24 '14