[PDF] Parallels Server 5 Bare Metal
[PDF] Parallels Server 5 Bare Metal
[PDF] Parallels Server 5 Bare Metal
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Managing Resources<br />
Configuring CPU Affinity for Virtual Machines and Containers<br />
If your physical server has several processors installed, you can bind a virtual machine or Container<br />
to specific CPUs so that only these CPUs are used to handle the processes running in the virtual<br />
machine or Container. The feature of binding certain processes to certain CPUs is known as CPU<br />
affinity. Establishing CPU affinity between virtual machines and Containers and physical processors<br />
can help you increase your system performance up to 20%.<br />
By default, any newly created virtual machine and Container can consume the CPU time of all<br />
processors installed on the physical server. To bind a virtual machine or Container to specific<br />
CPUs, you can use the --cpumask option of the pctl set command. Assuming that your<br />
physical server has 8 CPUs, you can make the processes in the MyVM virtual machine and<br />
Container 101 run on CPUs 0, 1, 3, 4, 5, and 6 by running the following commands:<br />
# pctl set MyVM --cpumask 0,1,3,4-6<br />
The VM has been successfully configured.<br />
# pctl set 101 --cpumask 0,1,3,4-6 --save<br />
Saved parameters for Container 101<br />
You can specify the CPU affinity mask—that is, the processors to bind to virtual machines and<br />
Containers—as separate numbers (0,1,3) or as ranges (4-6). If you are setting the CPU affinity<br />
mask for a running virtual machine or Container, the changes are applied on the fly.<br />
To undo the changes made to the MyVM virtual machine and Container 101 and set their processes<br />
to run on all available CPUs on the server, run these commands:<br />
# pctl set MyVM --cpumask all<br />
The VM has been successfully configured.<br />
# pctl set 101 --cpumask all --save<br />
Saved parameters for Container 101<br />
Managing Disk Quotas<br />
This section explains the basics of disk quotas, defines disk quota parameters, and describes how<br />
to perform the following disk quota related operations:<br />
• turning on and off per-Container (first-level) disk quotas<br />
• setting up first-level disk quota parameters for a Container<br />
• turning on and off per-user and per-group (second-level) disk quotas inside a Container<br />
• setting up second-level quotas for a user or for a group<br />
• checking disk quota statistics<br />
• cleaning up Containers<br />
116