HP Superdome 2 Partitioning Administrator Guide
CPU-core: Adding or Deleting by SLP (Socket Local Processor)
Similar to SLM (socket local memory), SLP (Socket local processor) refers to CPUs in a specific
socket on a specific blade. This is generally used in conjunction with SLM to ensure that the cores
and the memory are close to each other. The syntax to specify SLP is:
-a, -d socket:socket_ID:cpu::num
where:
-a
is adding
-d
is deleting
socket_ID is the path (enclosure#/blade#/socket#)
num
is the number of CPU-cores from the socket to be added to or deleted from the
virtual partition. Note that the num CPU-cores need to be available in the socket
as well as in the nPartition before they can be added. To see whether they are
available or already allocated, use the vparstatus -A command when the
nPartition is booted in vPar mode.
Examples
• To create a virtual partition using 2 CPU-cores from socket 0 on blade 1:
vparcreate -N <nPar name> -p <vPar name> -a socket:1/1/0:cpu::2
• To increase the number of CPU-cores by 2 using the CPU-cores from socket 0 on blade 1:
vparmodify -N <nPar name> -p <vPar name> -a socket:1/1/0:cpu::2
To decrease the number of CPU-cores by 2 removing CPUs from socket 0 on blade 1:
vparmodify -N <nPar name> -p <vPar name> -d socket:1/1/0:cpu::2
CPU-core: Adding or Deleting by Resource path
The syntax for specifying by resource path is:
-a, -d cpu:cpu_path
where:
-a
is adding
-d
is deleting
cpu_path
is the resource path of the cpu (you can find the resource path of an already existing
and defined vPar using the vparstatus -v -p <nPar_id:vPar_id>)
command.
NOTE: CPUs that are added using the resource path syntax can be deleted only by using the
resource path syntax.
Adding or deleting CPUs by path changes the total count of CPUs.
Example
• To add the CPU at 1/1/0/0 (enclosure 1, blade1, socket 0, core 0) and 1/1/0/1 to vPar0001:
vparmodify -N <nPar name> -p <vPar name> -a cpu:1/1/0/0 -a
cpu:1/1/0/1
CPU: Summary Information
Impact on vPars Commands: Specifying CPU
The CPU resource paths can be defined in the following four ways:
76 Planning Your System for Virtual Partitions