Locality-Optimized Resource Alignment

16
Figure 5. Allocations for the custom vPars instances
CPU
5
CPU
6
CPU
7
CPU
1
CPU
2
CPU
3
CPU
4
CPU
5
CPU
7
CPU
0
CPU
1
CPU
2
CPU
4
dog
CPU
6
CPU
1
CPU
2
CPU
4
CPU
7
elk
fox
CPU
6
CPU
3
CPU
0
CPU
0
CPU
5
CPU
3
cow
Modifying existing vPars instances
The vparmodify command can be used to change the composition of existing vPars instances. When
the number of processor cores allocated is changed, this is referred to as "CPU migration". In LORA
mode, the system automatically performs all CPU migration operations so as to conform as closely as
possible to the LORA configuration rules.
For example, if the average processor utilization in the vPars instance cow is low while the utilization
in instance dog is high, it might be desirable to migrate CPUs from instance cow to instance dog.
Here is an example command sequence to migrate four cores:
vparmodify -p cow -d cpu::4
vparmodify -p dog -a cpu::4
After the first command is executed, the vPars monitor chooses 2 processor cores from cell 1 and 2
cores from cell 2 to be deleted from vPars instance cow. After the second command is executed, two
processor cores from cell 2 and two cores from cell 3 will be added to instance dog. The new
resource assignments would be as shown in the following diagram: