Feature #5143

Sunstone: set CPU as half of vCPU

Added by kvaps kvaps over 3 years ago. Updated over 3 years ago.

Status:ClosedStart date:05/05/2017
Priority:NormalDue date:
Assignee:Abel Coronado% Done:

100%

Category:Sunstone
Target version:Release 5.4
Resolution:fixed Pull request:

Description

There is option:

True to hide the CPU setting in the VM creation dialog. The CPU setting
will be set to the same value as VCPU, that will still be visible for the
end users
instantiate_hide_cpu: true

It is very useful for users to not be confused between CPU and vCPU parameters.

But in the intel processors hyperthreading is enabled, and users need to set CPU parameter as half of vCPU. (eg. if vCPU=1, then CPU=0.5; if vCPU=2, then CPU=1)

We must to add option to always set CPU as half of vCPU.

I think it may be like this:

instantiate_half_cpu: true

Or like this:

instantiate_cpu_factor: 0.5

Associated revisions

Revision 26fcd6af
Added by Abel Coronado over 3 years ago

F #5143 Added the possibility of scaling the cpu (#300)

History

#1 Updated by Abel Coronado over 3 years ago

  • Assignee set to Abel Coronado

#2 Updated by Abel Coronado over 3 years ago

  • % Done changed from 0 to 100

#3 Updated by EOLE Team over 3 years ago

instantiate_cpu_factor seems better to me.

Regards.

#4 Updated by Ruben S. Montero over 3 years ago

  • Target version set to Release 5.4

#5 Updated by Ruben S. Montero over 3 years ago

  • Tracker changed from Backlog to Feature

#6 Updated by Ruben S. Montero over 3 years ago

  • Status changed from Pending to Closed
  • Resolution set to fixed

Also available in: Atom PDF