Syntax |
|
The syntax for setting granularity unit size is:
-g ILM|CLM:unit[:y|n]
where:
- -g
is granularity
- ILM|CLM
specifies whether the unit size is applied to ILM or CLM
- unit
is the granularity unit size in MBs
This
value must be an integral power of 2 (in other words, 2^X) and be
greater than or equal to 64.
- y|n
specifies whether the granularity unit size should
be written to firmware. The default is n.
Ignored on PA-RISC.
The default granularity is 128 MB for ILM and
128 MB for CLM.
Commands |
|
There is only one command that can set the granularity
values: the vparcreate command with the -goption:
vparcreate writes the granularity
values to the vPars database; the update firmware option ([:y]) is
extraneous and is ignored on PA-RISC.
vparcreate |
|
# vparcreate -p vpar1_name [-g ILM:unit][-g CLM:unit]
writes the unit granularity
value to the vPars database when the first virtual partition for a
given vPars database is created.
When using this method, note that the -g option must be performed when creating the vPars database
(in other words, when performing the initial vparcreate command). If you set the value incorrectly using the initial vparcreate command, you cannot adjust it later. You must
re-create the vPars database.
Usage Scenario |
|
In standalone mode, you create your first virtual
partition with a 256 MB granularity value for both ILM and CLM. The
command is:
# vparcreate -g ILM:256 -g CLM:256 -p
keira1 ...
This writes the granularity values to the vPars
database.
Note that with the vparcreate command, when you specify the granularity value for only one type
of memory (ILM or CLM), the granularity value for the other type of
memory is set using the default granularity value. For example, if
you specify only -g ILM:256, the -g CLM:128 is implied where 128 is the vPars default
granularity value.