3-4 Getting Started with Logical Partitions
3.2
Detailed Directions for lp_cpu_mask
The lp_cpu_mask environment variable is set to a value that creates a
binary mask in which a bit set to 1 indicates that an individual CPU
belongs to a partition. Recall that there are two CPUs per module, and
that partitions must contain whole modules.
Figure 3–2 Construction of Three-Partition CPU Bit Mask
13 12 11 10 9 8 7 6 5 4 3 2 1 0
CPU No.
1 1
Bits set
= hex value 3
Partition 0
Partition 1
Partition 2
Slot No.
0
1
2
3
4
5
6
13 12 11 10 9 8 7 6 5 4 3 2 1 0
CPU No.
0 0
Bits set
= hex value 30
Slot No.
0
1
2
3
4
5
6
0 0
0 0
0 0
1 1
13 12 11 10 9 8 7 6 5 4 3 2 1 0
CPU No.
0 0
Bits set
= hex value C
Slot No.
0
1
2
3
4
5
6
1 1
0 0
BX-0100B-99
...
...
...