Environment Variables that Create Logical Partitions 3-7
Two-Partition System
A two-partition system has more possibilities for CPU allocation. From two to
five slots may be occupied by CPU modules in TLSB slots 0 – 4. Again, the
CPUs in slot 0 must be assigned to partition 0. Other than that, there are no
restrictions.
The top portion of Figure 3–3 shows 4 CPU modules in slots 0, 1, 2 , and 3, with
the CPUs in slot 0 included in partition 0, and the CPUs in slots 1, 2 and 3
included in partition 1. The console commands used to create the appropriate
masks are:
P00>>> create –nv lp_cpu_mask0 3
P00>>> create –nv lp_cpu_mask1 fc
The bottom portion of Figure 3–3 shows 5 CPU modules in slots 0, 1, 2, 3, and 4,
with the CPUs in slots 0, 1, and 3 to be included in partition 0, and the CPUs in
slots 2 and 4 to be included in partition 1. You would use the following console
commands to create such an allocation:
P00>>> create –nv lp_cpu_mask0 cf
P00>>> create –nv lp_cpu_mask1 330
NOTE: Once the desired environment variables have been created with
create –nv, you can change their values with the set command.