Using Resource Groups
A resource group provides an alternate way to view the resources in a system. Resources are grouped based on the underlying physical relationships between processor cores, memory, and I/O buses. Different platforms, and even different platform configurations within the same server family, such as SPARC T5-2 and SPARC T5-8, can have different resource groups that reflect the differences in the hardware. Use the ldm list-rsrc-group
command to view resource group information.
The membership of resource groups is statically defined by the hardware configuration. You can use the ldm remove-core
and ldm remove-memory
commands to operate on resources from a particular resource group.
-
The
remove-core
subcommand specifies the number of CPU cores to remove from a domain. When you specify a resource group by using the-g
option, the cores that are selected for removal all come from that resource group. -
The
remove-memory
subcommand removes the specified amount of memory from a logical domain. When you specify a resource group by using the-g
option, the memory that is selected for removal all comes from that resource group.
For information about these commands, see the ldm
(8) man page.
For examples, see Listing Resource Group Information.