Oversubscription of cores in compute nodes
Hi all openstackers,
I have been playing a bit with the information stored in the 'compute_nodes' table, trying to cheat Nova about the number of virtual cores available in the compute nodes. It seems that this table is not read by the scheduler, instead, the scheduler only computes the values retrieved from the compute nodes directly.
Basically my goal is to oversubscribe the number of cores of the compute nodes. I'm using KVM and I would like to decide how many virtual cores are available in each node. I have read about the get_hosts_stats() and the periodic_tasks(), but I was wondering if there is a way to manually configure the number of virtual cores per node and avoid rewriting this function.
Example: My server says it has 16 cores, but I want to implement an oversubscription ratio of 1:4, obtaining 64 virtual cores that will operate in a range of Mhz depending on how busy the real cores are.
Regards
Diego
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Diego Parrilla for more information if necessary.