Previous page

Next page

Locate page in Contents

Print this page

Configuring Priority Levels for Virtual Machines and Containers

In Parallels Server Bare Metal, you can configure the disk I/O (input/output) priority level of virtual machines and Containers. The higher the I/O priority level, the more time the virtual machine or Container will get for its disk I/O activities as compared to the other virtual machines and Containers on the server. By default, any virtual machine and Container on the server has the I/O priority level set to 4. However, you can change the current I/O priority level in the range from 0 to 7 using the --ioprio option of the pctl set command. For example, you can issue the following command to set the I/O priority of Container 101 and the MyVM virtual machine to 6:

# pctl set 101 --ioprio 6 --save

Saved parameters for Container 101

# pctl set MyVM --ioprio 6

set ioprio 6

The VM has been successfully configured.

To check the I/O priority level currently applied to Container 101 and the MyVM virtual machine, you can execute the following commands:

  • For Container 101:

    # grep IOPRIO /etc/vz/conf/101.conf

    IOPRIO="6"

  • For the MyVM virtual machine:

    # pctl list --info | grep ioprio

    cpu 2 VT-x accl=high mode=32 cpuunits=1000 ioprio=6 iolimit=0