vparresources.5 (2010 09)
v
vparresources(5) vparresources(5)
• Memory
1)
-a mem::size[:base|
floating] specifies that at least size MB of base or floating ILM must
be available in the monitor. 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 type ILM.
2)
-a cell:cell_id:mem::size[
:base|floating] specifies that at least size MB of base or float-
ing memory on cell cell_id must be available in the monitor. If size is not an integral multiple of
the CLM granularity, it is first rounded up to the next granule boundary before testing for availa-
bility. By definition, this memory is of type CLM.
3)
-m mem::size[:base|
floating] specifies that the total base or floating memory in the target
vPar be set to size MB. This operation may result in assignment or deletion of base or floating
memory. Deletion of base memory can be done only when the target vPar is Down. 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 illus-
trate 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 "deletion".
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 "addi-
tion".
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.
4)
-m cell:cell_id:mem::size[:base|floating] specifies that the total base or floating CLM
from cell cell_id in the target vPar be set to size MB. This operation may result in assignment or
deletion of base or floating CLM. Deletion of base memory can be done only when the target vPar
is Down. 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 inter-
nally mapped to -a or less than the specified value if -m is internally mapped to -d. Refer to the
examples above.
5) Explicit address ranges are assigned to both the CLM and ILM memory types. When you use the
mem:::base:range[:base|floating]
option to specify an explicit memory range, that range must not only be available for assignment,
but must reside entirely within one memory type. In addition, if the target vPar is Down the total
amount of memory specified in explicit memory ranges must be less than or equal to the total
memory of that type assigned to the vPar using the
cell:cell_id:mem::size[:base|floating]
14 Hewlett-Packard Company − 14 − HP-UX 11i Version 3: September 2010