CPU and Instance Limit

Asked by Peter Borghard

All,

I have a question about the number of instances that can be created based on the compute nodes available cpu/memory . Is there any over provisioning? Or will the compute node stop adding instances once the memory or cpu limit has been reached.

Thanks,
Peter Borghard

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Elvinas Piliponis (elvinas-piliponis) said :
#1

It seems that memory cannot be overprovisioned. At least on OpenStack layer as KVM itself can overprovision without any problems.
CPU can be overprovisioned by setting "max_cores=N" in nova.conf on compute node to the number you want.

But in any case Mem/CPU counters are the hard limits and as soon as they are reached, new instance creation will fail. At least this is what happens with SimpleScheduler.

Revision history for this message
Zhaoyi Luo (zhaoyi-luo) said :
#2

Can you help with this problem?

Provide an answer of your own, or ask Peter Borghard for more information if necessary.

To post a message you must log in.