04.11.2012 Views

HP-UX Virtual Partitions Administrator Guide - Hewlett Packard

HP-UX Virtual Partitions Administrator Guide - Hewlett Packard

HP-UX Virtual Partitions Administrator Guide - Hewlett Packard

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Memory: Assigning (Adding) or Deleting by Size (ILM)<br />

Syntax<br />

Examples<br />

Assigning (adding) or deleting memory by specifying only size uses ILM memory.<br />

The basic syntax for adding or deleting ILM resources assigned to a virtual partition is:<br />

-a|d mem::size[:base|float]<br />

where:<br />

-a add<br />

-d delete<br />

size the quantity of ILM in MBs<br />

base add/delete as base memory (this is the default when neither base nor float is specified)<br />

float add/delete as float memory<br />

• To create the virtual partition winona2 with 1024 MB of ILM:<br />

winona1# vparcreate -p winona2 -a mem::1024<br />

• To add 1024 MB of ILM as float memory to an existing partition winona2:<br />

winona1# vparmodify -p winona2 -a mem::1024:float<br />

• To decrease the amount of base ILM assigned to partition winona2 by 1024 MB:<br />

winona1# vparmodify -p winona2 -d mem::1024<br />

NOTE: Use of this syntax (removal of base memory) will only work when the target<br />

partition is down.<br />

• To see how much of the ILM memory is currently float memory, use vparstatus -v:<br />

# vparstatus -p keira4 -v<br />

...<br />

[Memory Details]<br />

ILM, user-assigned [Base /Range]:<br />

(bytes) (MB)<br />

ILM, monitor-assigned [Base /Range]: 0x50000000/512<br />

(bytes) (MB) 0x4080000000/256<br />

0x40f0000000/256 (Floating)<br />

ILM Total (MB): 1024 (Floating 256)<br />

ILM Granularity (MB): 256<br />

NOTE: Although not an error, the size of ILM assigned should be a multiple of the granularity<br />

value.<br />

When a user specifies online memory deletion by size, the kernel can select any granule to delete<br />

in order to satisfy the request. Typically the kernel selects any granule which will be quick to<br />

delete. If the selected granule falls within a user-specified float range, then the user-specified<br />

range is converted to a vPars Monitor-assigned range.<br />

See also “Memory: Notes on vPars Syntax, Rules, and Output” (page 200) and “Memory, CPU:<br />

Canceling Pending Operations” (page 214).<br />

Memory: Assigning (Adding) Or Deleting by Size (CLM)<br />

Before assigning CLM, see the section on configuring CLM: “Configuring CLM for an nPartition”<br />

(page 276). Once CLM is configured, you can assign an amount of CLM to a virtual partition.<br />

190 CPU, Memory, and I/O Resources (A.05.xx)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!