HP Superdome 2 Partitioning Administrator Guide

Table 7-1 CPU-core Allocation
ExampleResource PathFormsAllocating By
vparcreate -p Oslo -N Norway -a cpu:1/1/0/0enclosure#/blade#/
cpusocket#/cpucore#
cpu:cpu_pathCPU resource
path
vparcreate -p Oslo -N Norway -a cpu::2All positive integerscpu::numCPU count
vparcreate -p Oslo -N Norway -a
socket:3/6/0:cpu::2
enclosure#/blade#/cpusocket#socket:socket_id:
cpu::num
socket path
vparcreate -p Oslo -N Norway -a cpu::2:8All positive integerscpu:::[min][:[max]]Defining the
minimum and
maximum CPUs
Deleting CPU-cores Summary
If you want to control which CPU-core is deleted, use the same method—by SLP, by resource
path, or by count—on your deletion command line that you used on your addition command
line.
CPU Allocation
On HP Integrity Superdome 2, parstatus command provides all the required CPU information
from the OA without installing or booting to nPar mode.
From HP-UX, ioscan is used to retrieve CPU information. However ensure that CPU resource
paths are determined using the option -m that maps HP-UX hardware paths to resource paths.
The first vPartition is configured with the AD221 Ethernet / Fibre channel combination card at
hardware address 48/0/0/2/0/0/2/0. Run the following command to view the configuration:
# ioscan m resourcepath | grep cpucore
1/120 0x100ff02ff000017 cpucore-1/2/0/0
1/122 0x100ff02ff000117 cpucore-1/2/0/1
1/124 0x100ff02ff000217 cpucore-1/2/0/2
1/126 0x100ff02ff000317 cpucore-1/2/0/3
1/128 0x100ff02ff010017 cpucore-1/2/1/0
1/130 0x100ff02ff010117 cpucore-1/2/1/1
1/132 0x100ff02ff010217 cpucore-1/2/1/2
1/134 0x100ff02ff010317 cpucore-1/2/1/3
or, for this example, run the following command.
# # ioscan -m resourcepath | grep 48/0/0/2/0
48/0/0/2/0 0x900010002ffff8e iorp-9/1/0/0/2
48/0/0/2/0/0 0x90001000203ff85 ioslot-9/1/3
Memory
There are two major types of memory addressing, Socket Local Memory, (SLM), and InterLeaved
Memory, (ILM). With SLM, entire memory address ranges are from a single socket. For best
performance, memory and CPU-cores from the same socket(s) should be assigned to a vPar. ILM
is an address range of memory whose adjacent addresses reside on one or more sockets in the
underlying nPartition.
Planning Your Virtual Partitions 77