HP Integrity Superdome 2 8/16 HP Superdome 2 Partitioning Administrator Guide - Page 78

Assigning Memory to a vPar, I/O, Assigning I/O at the rootport or I/O slot Level

Page 78 highlights

Memory Granularity The nPartition memory is divided into multiple memory granules by firmware for ease of memory assignment to vPars. The size of these memory granules can be optionally specified by the user. Memory granularity refers to the size of these memory granules. Note that memory granules are not the actual memory DIMMs. The granularity for SLM and ILM are specified separately by the user. However, the following applies to both types of memory: • Memory granularity is specified at nPartition creation time. Any modification thereafter requires a reboot of the nPartition. • The minimum values (ILM and SLM granularity) are 256 MB. • The default value is OS dependent and may be adjusted based on the total memory available in the nPartition. • Memory is assigned to virtual partitions in multiples of granule sizes. HP recommends not to change the default memory granularity value chosen by the system, unless there is a specific need to do that. Assigning Memory to a vPar • The -a mem::size option is used to assign size megabytes of ILM to a vPar. • The -a socket:socket_id:mem::size option assigns size megabytes of SLM from socket socket_id to a vPar. If size is not an integral multiple of the granularity of the specified memory type, vPars normally adjusts it upward to the next granule boundary. In a vPar environment, either of the above command line options will cause the system to reserve the indicated memory, if it is available. Thus, it is possible to define vPars with more memory in them than is in the entire nPartition. Actual memory ranges are only assigned to the vPar when it is booted. These ranges may be different from boot to boot. I/O The vPar assignable IO resources are rootports or ioslots in the blades and I/O bays. Rootports and ioslots are two different ways of representing I/O resources. The parstatus -c enclosure#/blade# -V command provides the rootport to ioslot mapping for the I/O resources on a blade. Similarly, the parstatus -i IOX#/IObay# -V command provides the rootport to ioslot mapping for the I/O resources in an I/O bay. Rootports and ioslots have a one-to-one mapping and either of them can be assigned to a vPar. The rootport (RP) or ioslot is specified in the resource path format. Typically disk devices or LAN devices get attached to a rootport. On blades, iLO is also off a rootport. There is a one-to-one mapping between the rootport and the I/O slot on HP Integrity Superdome 2 servers. Assigning I/O at the rootport or I/O slot Level You can run the vparcreate and vparmodify commands with either of these parameters: rootport resourcepath format: -a io:9/1/0/0/2 or ioslot resource path format: -a ioslot:9/1/3 A vPartition may be created at the OA with the following command: vparcreate -N5 -p1 -a cpu::4 -a mem::6000 -a ioslot:9/1/3 To verify that the resulting vPartition had the expected IO in that slot, install and boot HP-UX in that partition and then run ioscan -m resourcepath, searching for the ioslot number: # ioscan -m resourcepath | grep 9/1/3 78 Planning Your System for Virtual Partitions

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106

Memory Granularity
The nPartition memory is divided into multiple memory granules by firmware for ease of memory
assignment to vPars. The size of these memory granules can be optionally specified by the user.
Memory granularity refers to the size of these memory granules. Note that memory granules
are not the actual memory DIMMs.
The granularity for SLM and ILM are specified separately by the user. However, the following
applies to both types of memory:
Memory granularity is specified at nPartition creation time. Any modification thereafter
requires a reboot of the nPartition.
The minimum values (ILM and SLM granularity) are 256 MB.
The default value is OS dependent and may be adjusted based on the total memory available
in the nPartition.
Memory is assigned to virtual partitions in multiples of granule sizes.
HP recommends not to change the default memory granularity value chosen by the system,
unless there is a specific need to do that.
Assigning Memory to a vPar
The
-a mem::size
option is used to assign size
megabytes
of
ILM
to a vPar.
The
-a socket:socket_id:mem::size
option assigns size
megabytes
of
SLM
from
socket
socket_id
to a vPar.
If size is not an integral multiple of the granularity of the specified memory type, vPars normally
adjusts it upward to the next granule boundary.
In a vPar environment, either of the above command line options will cause the system to reserve
the indicated memory, if it is available. Thus, it is possible to define vPars with more memory
in them than is in the entire nPartition. Actual memory ranges are only assigned to the vPar
when it is booted. These ranges may be different from boot to boot.
I/O
The vPar assignable IO resources are rootports or ioslots in the blades and I/O bays. Rootports
and ioslots are two different ways of representing I/O resources. The
parstatus -c
enclosure#/blade# -V
command provides the rootport to ioslot mapping for the I/O resources
on a blade. Similarly, the
parstatus -i IOX#/IObay# -V
command provides the rootport
to ioslot mapping for the I/O resources in an I/O bay. Rootports and ioslots have a one-to-one
mapping and either of them can be assigned to a vPar. The rootport (RP) or ioslot is specified in
the resource path format. Typically disk devices or LAN devices get attached to a rootport. On
blades, iLO is also off a rootport. There is a one-to-one mapping between the rootport and the
I/O slot on HP Integrity Superdome 2 servers.
Assigning I/O at the rootport or I/O slot Level
You can run the
vparcreate
and
vparmodify
commands with either of these parameters:
rootport resourcepath format:
-a io:9/1/0/0/2
or
ioslot resource path format:
-a ioslot:9/1/3
A vPartition may be created at the OA with the following command:
vparcreate -N5
p1 -a cpu::4 -a mem::6000 -a ioslot:9/1/3
To verify that the resulting vPartition had the expected IO in that slot, install and boot HP-UX
in that partition and then run
ioscan -m resourcepath
, searching for the ioslot number:
# ioscan -m resourcepath | grep 9/1/3
78
Planning Your System for Virtual Partitions