vparresources2.5 (2012 03)

v
vparresources2(5) vparresources2(5)
(For OA Based Partition Management Systems)
7) For vPars that are DOWN,
-m socket:socket_id :cpu::num or -m
socket:socket_id :core::num specifies that the total socket specific cores from socket
socket_id in the target vPar be set to num. This operation may result in addition or deletion of
CPU-cores.
8) For vPars that are UP,
-m socket:socket_id :cpu::num or -m
socket:socket_id :core::num specifies that the total cores (socket specific, user assigned and
system assigned) from socket socket_id in the target vPar be set to num. This operation may
result in addition or deletion of CPU-cores. If the operation results in deletion of cores, the sys-
tem can delete any cores (system assigned, user assigned or socket specific) from that socket and
the associated count will be modified accordingly.
9) Defaults: When a vPar is created, the following defaults are in effect:
• num:
0
• min: 0
• max: equal to the total number of active CPU-cores in the underlying nPartition.
You can modify these defaults with command line options to the
vparcreate or vparmodify
command when the vPar is down.
• Memory
1)
-a mem::size specifies that at least size MB ILM must be available. If size is not an integral
multiple of the ILM granularity, it is first rounded up to the next granule boundary before testing
for availability. By definition, this memory is of ILM type.
2)
-a socket:socket_id:mem::size specifies that at least size MB of memory on socket socket_id
must be available. If size is not an integral multiple of the SLM granularity, it is first rounded up
to the next granule boundary before testing for availability. By definition, this memory is of SLM
type.
3)
-m mem::size specifies that the total memory in the target vPar be set to size MB. This opera-
tion may result in assignment or deletion of memory. The
-m option is internally mapped to
either a -a or -d option. The difference in the current memory size and the specified memory
size is rounded up before the addition or deletion. This may sometimes result in the new memory
to be more than the specified value if -m is internally mapped to -a or less than the specified
value if
-m is internally mapped to -d. Here are a few examples to illustrate the above.
Example 1:
Suppose the current memory value of the target vPar is 1024MB and the specified new memory
value using
-m is 1000MB. Also assume that the ILM granule size is set to 256MB. Since the
new specified value is less than the current value, the operation will be determined to be a "dele-
tion".
Current value - Specified value == Value to be deleted.
1024 - 1000 == 24.
24MB is not granule aligned;
hence, round up 24MB to the next granule 256MB.
So the command deletes 256MB from the current value resulting in 768MB which is less than
what the user asked for.
Example 2:
Suppose the current memory value of the target vPar is 1024MB and the specified new memory
value using
-m is 1025MB. Also assume that the ILM granule size is set to 256MB. Since the
new specified value is greater than the current value, the operation will be determined to be an
"addition".
Specified value - Current value == Value to be added.
1025 - 1024 == 1.
1MB is not granule aligned;
hence round up 1MB to the next granule 256MB.
So the command adds 256MB to the current value resulting in 1280MB which is more than what
the user asked for.
HP-UX 11i Version 3: March 2012 − 9 − Hewlett-Packard Company 9