This procedure contains examples of resources to set for your control domain. These numbers are examples only, and the values used might not be appropriate for your control domain.
For domain sizing recommendations, see Oracle VM Server for SPARC Best Practices (http://www.oracle.com/technetwork/server-storage/vm/ovmsparc-best-practices-2334546.pdf).
Service domains, including the control domain, require CPU and memory resources to perform virtual disk and virtual network I/O operations for guest domains. The amount of CPU and memory resources to allocate depends on the workload of the guest domain.
For example, the following command assigns two CPU cores (16 virtual CPU threads) to the control domain, primary. The remainder of the virtual CPU threads are available for guest domains.
primary# ldm set-core 2 primary
You can dynamically change the actual CPU allocation based on application requirements. Use the ldm list command to determine the CPU utilization of the control domain. If the control domain has high CPU utilization, use the ldm add-core and ldm set-core commands to add CPU resources to a service domain.
Note that only UltraSPARC T2, UltraSPARC T2 Plus, and SPARC T3 platforms have cryptographic devices (MAUs). Newer platforms such as SPARC T4 systems and Fujitsu M10 servers already provide cryptographic acceleration, so you do not need to assign cryptographic accelerators to these platforms.
If you are using one of the older processors, assign one cryptographic unit for each CPU whole core in the control domain.
The following example assigns two cryptographic resources to the control domain, primary:
primary# ldm set-crypto 2 primary
primary# ldm start-reconf primary
For example, the following command assigns 16 Gbytes of memory to the control domain, primary. This setup leaves the remainder of the memory available to guest domains.
primary# ldm set-memory 16G primary
For example, the following command would add a configuration called initial.
primary# ldm add-config initial
primary# ldm list-config factory-default initial [current]
This ldm list-config command shows that the initial configuration set will be used after you perform a power cycle.