05.08.2013 Views

[PDF] Parallels Server 5 Bare Metal

[PDF] Parallels Server 5 Bare Metal

[PDF] Parallels Server 5 Bare Metal

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configuring the Disk I/O Bandwidth<br />

Managing Resources<br />

In <strong>Parallels</strong> <strong>Server</strong> <strong>Bare</strong> <strong>Metal</strong>, you can configure the bandwidth virtual machines and Containers<br />

are allowed to use for their disk input and output (I/O) operations. Limiting the disk I/O bandwidth<br />

can help you prevent the situations when high disk activities in one virtual machine or Container<br />

(generated, for example, by transferring huge amounts of data to/from the virtual machine or<br />

Container) can slow down the performance of other virtual machines and Containers on the<br />

<strong>Parallels</strong> server.<br />

By default, the I/O bandwidth limit for all newly created virtual machines and Containers is set to 0,<br />

which means that no limits are applied to any virtual machines and Containers. To limit the disk I/O<br />

bandwidth for a virtual machine or Container, you can use the --iolimit option of the pctl<br />

set command. For example, the following command sets the I/O bandwidth limit for the MyVM<br />

virtual machine to 10 megabytes per second (MB/s):<br />

# pctl set MyVM --iolimit 10<br />

Set up iolimit: 10<br />

The VM has been successfully configured.<br />

To set the limit for a Container, just specify its ID instead of the virtual machine name and the -save<br />

option to save the changes to the Container configuration file, for example:<br />

# pctl set 101 --iolimit 10 --save<br />

Set up iolimit: 10485760<br />

Saved parameters for Container 101<br />

By default, the limit is set in megabytes per second. However, you can use the following suffixes to<br />

use other measurement units:<br />

• G: sets the limit in gigabytes per second (1G).<br />

• K: sets the limit in kilobytes per second (10K).<br />

• B: sets the limit in bytes per second (10B).<br />

Note: In the current version of <strong>Parallels</strong> Containers, the maximum I/O bandwidth limit you can set for a<br />

virtual machine and Container is 2 GB per second.<br />

To check that the I/O speed limit has been successfully applied to the MyVM virtual machine and<br />

Container 101, use the pctl list command:<br />

# pctl list MyVM -o iolimit<br />

10<br />

# pctl list 101 -o iolimit<br />

IOLIMIT<br />

10485760<br />

At any time, you can remove the I/O bandwidth limit set for the MyVM virtual machine and Container<br />

101 by running these commands:<br />

# pctl set MyVM --iolimit 0<br />

Set up iolimit: 0<br />

The VM has been successfully configured.<br />

# pctl set 101 --iolimit 0 --save<br />

Set up iolimit: 0<br />

137

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!