JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle VM Server for SPARC 2.2 Administration Guide     Oracle VM Server for SPARC
search filter icon
search icon

Document Information

Preface

Part I Oracle VM Server for SPARC 2.2 Software

1.  Overview of the Oracle VM Server for SPARC Software

2.  Installing and Enabling Software

3.  Oracle VM Server for SPARC Security

4.  Setting Up Services and the Control Domain

5.  Setting Up Guest Domains

6.  Setting Up I/O Domains

7.  Using Virtual Disks

8.  Using Virtual Networks

9.  Migrating Domains

10.  Managing Resources

Resource Reconfiguration

Dynamic Reconfiguration

Delayed Reconfiguration

Resource Allocation

CPU Allocation

How to Apply the Whole-Core Constraint

Interactions Between the Whole-Core Constraint and Other Domain Features

CPU Dynamic Reconfiguration

Dynamic Resource Management

Domain Migration

Power Management

Tuning the SPARC CPU to Optimize Workload Performance on SPARC T4 Systems

CPU Threading Modes and Workloads

Selecting the CPU Threading Mode

Threading Control Limitations

Configuring the System With Hard Partitions

Checking the Configuration of a Domain

How to Determine Whether a Domain Is Configured With CPU Whole Cores

How to List the CPU Cores That Are Assigned to a Domain

Configuring a Domain With CPU Whole Cores

How to Create a New Domain With CPU Whole Cores

How to Configure an Existing Domain With CPU Whole Cores

How to Configure the Primary Domain With CPU Whole Cores

Interaction With Other Oracle VM Server for SPARC Features

CPU Dynamic Reconfiguration

CPU Dynamic Resource Management

CPU Power Management

Domain Reboot or Rebind

Domain Migration Incompatibility

Assigning Physical Resources to Domains

Managing Physical Resources on the Control Domain

Restrictions for Managing Physical Resources on Domains

Using Memory Dynamic Reconfiguration

Adding Memory

Removing Memory

Tracking the Progress of a Memory DR Request

Canceling a Memory DR Request

Partial Memory DR Requests

Memory Reconfiguration of the Control Domain

Decrease the Control Domain's Memory

Dynamic and Delayed Reconfiguration

Memory Alignment

Memory Alignment for Active Domains

Memory Alignment for Bound Domains

Memory Alignment for Inactive Domains

Adding Unaligned Memory

Memory DR Examples

Using Power Management

Listing Power-Managed CPU Threads and Virtual CPUs

How to List Power-Managed CPU Threads

How to List Power-Managed CPUs

Using Dynamic Resource Management

Listing Domain Resources

Machine-Readable Output

How to Show Syntax Usage for ldm Subcommands

Flag Definitions

Utilization Statistic Definition

Viewing Various Lists

How to Show Software Versions (-V)

How to Generate a Short List

How to Generate a Long List (-l)

How to Generate an Extended List (-e)

How to Generate a Parseable, Machine-Readable List (-p)

How to Generate a Subset of a Long List (-o format)

How to List a Variable

How to List Bindings

How to List Configurations

How to List Devices

How to List Available Memory

How to List Services

Listing Constraints

How to List Constraints for One Domain

How to List Constraints in XML Format

How to List Constraints in a Machine-Readable Format

11.  Managing Domain Configurations

12.  Performing Other Administration Tasks

Part II Optional Oracle VM Server for SPARC Software

13.  Oracle VM Server for SPARC Physical-to-Virtual Conversion Tool

14.  Oracle VM Server for SPARC Configuration Assistant (Oracle Solaris 10)

15.  Using the Oracle VM Server for SPARC Management Information Base Software

16.  Logical Domains Manager Discovery

17.  Using the XML Interface With the Logical Domains Manager

Glossary

Index

Tuning the SPARC CPU to Optimize Workload Performance on SPARC T4 Systems

You can use dynamic CPU threading controls to optimize workload performance on SPARC T4 systems.

These threading controls enable you to specify the number of hardware threads to be activated per core. Existing applications can take advantage of the dynamic threading performance benefits for SPARC CPUs without having to be rewritten or recompiled.

This section describes how to use the CPU threading controls to optimize CPU performance on SPARC T4 systems. CPU performance can be optimized for maximum throughput by tuning CPU cores to use a maximum number of CPU threads. By default, the CPU is tuned for maximum throughput. Or, CPU performance can be optimized for CPU-bound workloads by tuning CPU cores to maximize the number of instructions per cycle (IPC).

CPU Threading Modes and Workloads

On SPARC T4 systems, you can optimize CPU performance by specifying the CPU threading mode. The threading mode can be set dynamically and independently for each domain on the system. A reboot is not required to change the threading mode, and the set mode is maintained across domain reboots and platform power cycles.

By selecting the appropriate CPU threading mode, you can improve the performance of applications and workloads that are running on a domain. You can select a threading mode that either maximizes throughput or maximizes the number of instructions per cycle, as follows:

Selecting the CPU Threading Mode

Select the CPU threading mode for a domain by using the ldm add-domain or ldm set-domain command to set the threading property.

ldm add-domain [threading=max-throughput|max-ipc] ldom

ldm set-domain [threading=max-throughput|max-ipc] ldom

The threading property is used to dynamically change the threading mode by specifying one of the following values:

Note that changing the threading mode dynamically activates or deactivates CPU threads. So, the number of virtual CPUs that are available in the domain also dynamically changes.

The max-ipc threading mode leverages the whole-core constraint, so you must abide by the whole-core constraint requirements and restrictions to do the following:

Thus, to dynamically change the threading mode of a running domain to max-ipc mode, you must configure the domain with the whole-core constraint.

For information about the restrictions, see Threading Control Limitations. For more information about the add-domain and set-domain subcommands, see the ldm(1M) man page.

Viewing the threading Property Value

You can use the following commands to view the threading property value:

Threading Control Limitations

The threading controls feature has the following restrictions:

When PM runs, all domains must have the threading property set to max-throughput.