beautypg.com

Changing the gwlm resource allocation interval, Changing the interval in hp sim, Changing the interval on the command line – HP Matrix Operating Environment Software User Manual

Page 45: Using gwlm with hyper-threading

background image

Changing the gWLM resource allocation interval

The frequency of gWLM’s changes in the CPU resource allocations is an attribute of the SRDs.
Once you create an SRD, you can change how often gWLM adjusts the CPU resource allocations
of the workloads in that SRD using either of the methods discussed in the following sections.

Changing the interval in HP SIM

NOTE:

If you are managing virtual machines, specify a resource allocation interval that is a

multiple of the vm_fssagt interval, which defaults to 10 seconds. If you need a resource allocation
interval of fewer than 10 seconds, set the interval for the VM agents (using vm_fssagt -i) to
the same value as your resource allocation interval.

Using HP SIM, you can set the interval in two places:

When creating an SRD

From the HP SIM menu bar, select:

Tools

Virtualization Manager...

Then, click the Shared Resource Domain tab. From the VSE Management menu bar, select:

Create

Shared Resource Domain

When editing an SRD

From the HP SIM menu bar, select:

Tools

Virtualization Manager...

Then, click the Shared Resource Domain tab. From the VSE Management menu bar, select:

Modify

Shared Resource Domain

Changing the interval on the command line

Use the gwlm command and a text editor to change the interval on the command line:

1.

Use gwlm export to get a copy of the SRD’s XML definition from the gWLM configuration
repository.

2.

Edit the “interval” attribute, which is in seconds.

NOTE:

If you are managing virtual machines, set the interval attribute value to a multiple

of the vm_fssagt interval, which defaults to 10 seconds. If you need a gWLM interval
attribute value of fewer than 10 seconds, set the interval for the VM agents (using vm_fssagt
-i

) to the same value.

3.

Use gwlm import --clobber to place the updated definition in the gWLM configuration
repository.

If an SRD of the same name is already deployed, the import operation puts the new interval
into effect. Otherwise, the interval is used the next time you deploy the SRD you just defined
and imported.

Using gWLM with Hyper-Threading

Hyper-Threading, available starting with HP-UX 11i v3 (B.11.31), enables you to use multiple
execution threads per core. (Cores were formerly known as CPUs.) Each execution thread is a
logical CPU.

Utilization is based on the usage of a core—not a logical CPU. For example, assume a four-core
system has Hyper-Threading enabled so that it has eight logical CPUs. If the system has four
processes, each consuming an entire logical CPU, the reported utilization depends on where

Changing the gWLM resource allocation interval

45