United States-English |
|
|
HP-UX Virtual Partitions Administrator’s Guide > Chapter 6 CPU, Memory, and I/O Resources (A.05.xx)Memory: Setting the Granularity Values (Integrity) |
|
The syntax for setting granularity unit size is:
The default memory granularity for CLM and ILM is based on the total memory in the nPartition. The minimum default value is 128 MB. However, if the memory in the nPartition is too large to fit into the supported number of memory granules for the nPartition, then the vPars commands will choose the next higher supported memory granularity value as the default memory granularity. The default memory granularity is determined by the vPars software when the vPars database is created for the first time. Default memory granularity based on the total memory on the system is not applied to the database when an alternate database is specified by the user on the command line. When new memory is added to the hard partition, memory granularity is not automatically recalculated. There are two commands that can set the granularity values: vparenv and vparcreate. Both are available at the HP-UX shell level and use the -goption:
writes the unit granularity value to firmware. This takes effect for the nPartition on the next nPartition boot. For example, to set the granularity unit size in firmware for ILM to 512 MB and for CLM to 256 MB: # vparenv -g ILM:512 -g CLM:256 Note that this does not set the granularity value in the vPars database. Only vparcreate sets the granularity value in the vPars database. Typically, you would change the granularity with vparenv rather than vparcreate if you have more than one database with differing granularities, and wish to switch to a database with different granularity during the next vPar Monitor boot. # vparcreate -p vpar1_name [-g ILM:unit[:y]][-g CLM:unit[:y]] If you specify the above command without the :y, vparcreate only writes the unit granularity value to the vPars database; it does not write the value to firmware. If you specify the above command with the :y, vparcreate writes the unit granularity value to both the vPars database and to firmware. 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 choose not to set a value, or if you set the value incorrectly using the initial vparcreate command, you cannot adjust it later. You must re-create the vPars database. vparcreate with the :y option The following is a scenario where you would want to use vparcreate with the -g option and the:yspecification:
vparcreate without the :y option and vparenv The following is a scenario where you would want to use vparcreate with the -g option but without the :yspecification. It also shows where you need to use vparenv to set the granularity value in the firmware. Note that this scenario would only occur on Integrity systems.
|
Printable version | ||
|