Ask Your Question

CPU and Instance Limit

asked 2012-07-15 09:23:41 -0500

pborghard gravatar image


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

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2012-07-16 07:35:33 -0500

elvinas-piliponis gravatar image

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.

edit flag offensive delete link more

answered 2012-07-17 04:47:06 -0500

This doc may help you: ( I didn't try it.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2012-07-15 09:23:41 -0500

Seen: 793 times

Last updated: Jul 17 '12