Este contenido no está disponible en el idioma seleccionado.

Chapter 2. Administering the Resources


2.1. Quality of Service

Red Hat Virtualization allows you to define quality of service entries that provide fine-grained control over the level of input and output, processing, and networking capabilities that resources in your environment can access. Quality of service entries are defined at the data center level and are assigned to profiles created under clusters and storage domains. These profiles are then assigned to individual resources in the clusters and storage domains where the profiles were created.

2.1.1. Storage Quality of Service

Storage quality of service defines the maximum level of throughput and the maximum level of input and output operations for a virtual disk in a storage domain. Assigning storage quality of service to a virtual disk allows you to fine tune the performance of storage domains and prevent the storage operations associated with one virtual disk from affecting the storage capabilities available to other virtual disks hosted in the same storage domain.

2.1.1.1. Creating a Storage Quality of Service Entry

Procedure

  1. Click Compute Data Centers.
  2. Click a data center’s name. This opens the details view.
  3. Click the QoS tab.
  4. Under Storage, click New.
  5. Enter a QoS Name and a Description for the quality of service entry.
  6. Specify the Throughput quality of service by clicking one of the radio buttons:

    • None
    • Total - Enter the maximum permitted total throughput in the MB/s field.
    • Read/Write - Enter the maximum permitted throughput for read operations in the left MB/s field, and the maximum permitted throughput for write operations in the right MB/s field.
  7. Specify the input and output (IOps) quality of service by clicking one of the radio buttons:

    • None
    • Total - Enter the maximum permitted number of input and output operations per second in the IOps field.
    • Read/Write - Enter the maximum permitted number of input operations per second in the left IOps field, and the maximum permitted number of output operations per second in the right IOps field.
  8. Click OK.

You have created a storage quality of service entry, and can create disk profiles based on that entry in data storage domains that belong to the data center.

2.1.1.2. Removing a Storage Quality of Service Entry

Remove an existing storage quality of service entry.

Procedure

  1. Click Compute Data Centers.
  2. Click a data center’s name. This opens the details view.
  3. Click the QoS tab.
  4. Under Storage, select a storage quality of service entry and click Remove.
  5. Click OK.

If any disk profiles were based on that entry, the storage quality of service entry for those profiles is automatically set to [unlimited].

2.1.2. Virtual Machine Network Quality of Service

Virtual machine network quality of service is a feature that allows you to create profiles for limiting both the inbound and outbound traffic of individual virtual network interface controllers. With this feature, you can limit bandwidth in a number of layers, controlling the consumption of network resources.

2.1.2.1. Creating a Virtual Machine Network Quality of Service Entry

Create a virtual machine network quality of service entry to regulate network traffic when applied to a virtual network interface controller (vNIC) profile, also known as a virtual machine network interface profile.

Creating a Virtual Machine Network Quality of Service Entry

  1. Click Compute Data Centers.
  2. Click a data center’s name. This opens the details view.
  3. Click the QoS tab.
  4. Under VM Network, click New.
  5. Enter a Name for the virtual machine network quality of service entry.
  6. Enter the limits for the Inbound and Outbound network traffic.
  7. Click OK.

You have created a virtual machine network quality of service entry that can be used in a virtual network interface controller.

2.1.2.2. Settings in the New Virtual Machine Network QoS and Edit Virtual Machine Network QoS Windows Explained

Virtual machine network quality of service settings allow you to configure bandwidth limits for both inbound and outbound traffic on three distinct levels.

Table 2.1. Virtual Machine Network QoS Settings
Field NameDescription

Data Center

The data center to which the virtual machine network QoS policy is to be added. This field is configured automatically according to the selected data center.

Name

A name to represent the virtual machine network QoS policy within the Manager.

Inbound

The settings to be applied to inbound traffic. Select or clear the Inbound check box to enable or disable these settings.

  • Average: The average speed of inbound traffic.
  • Peak: The speed of inbound traffic during peak times.
  • Burst: The speed of inbound traffic during bursts.

Outbound

The settings to be applied to outbound traffic. Select or clear the Outbound check box to enable or disable these settings.

  • Average: The average speed of outbound traffic.
  • Peak: The speed of outbound traffic during peak times.
  • Burst: The speed of outbound traffic during bursts.

To change the maximum value allowed by the Average, Peak, or Burst fields, use the engine-config command to change the value of the MaxAverageNetworkQoSValue, MaxPeakNetworkQoSValue, or MaxBurstNetworkQoSValue configuration keys. You must restart the ovirt-engine service for any changes to take effect. For example:

# engine-config -s MaxAverageNetworkQoSValue=2048
# systemctl restart ovirt-engine

2.1.2.3. Removing a Virtual Machine Network Quality of Service Entry

Remove an existing virtual machine network quality of service entry.

Procedure

  1. Click Compute Data Centers.
  2. Click a data center’s name. This opens the details view.
  3. Click the QoS tab.
  4. Under VM Network, select a virtual machine network quality of service entry and click Remove.
  5. Click OK.

2.1.3. Host Network Quality of Service

Host network quality of service configures the networks on a host to enable the control of network traffic through the physical interfaces. Host network quality of service allows for the fine tuning of network performance by controlling the consumption of network resources on the same physical network interface controller. This helps to prevent situations where one network causes other networks attached to the same physical network interface controller to no longer function due to heavy traffic. By configuring host network quality of service, these networks can now function on the same physical network interface controller without congestion issues.

2.1.3.1. Creating a Host Network Quality of Service Entry

Create a host network quality of service entry.

Procedure

  1. Click Compute Data Centers.
  2. Click a data center’s name. This opens the details view.
  3. Click the QoS tab.
  4. Under Host Network, click New.
  5. Enter a Qos Name and a description for the quality of service entry.
  6. Enter the desired values for Weighted Share, Rate Limit [Mbps], and Committed Rate [Mbps].
  7. Click OK.

2.1.3.2. Settings in the New Host Network Quality of Service and Edit Host Network Quality of Service Windows Explained

Host network quality of service settings allow you to configure bandwidth limits for outbound traffic.

Table 2.2. Host Network QoS Settings
Field NameDescription

Data Center

The data center to which the host network QoS policy is to be added. This field is configured automatically according to the selected data center.

QoS Name

A name to represent the host network QoS policy within the Manager.

Description

A description of the host network QoS policy.

Outbound

The settings to be applied to outbound traffic.

  • Weighted Share: Signifies how much of the logical link’s capacity a specific network should be allocated, relative to the other networks attached to the same logical link. The exact share depends on the sum of shares of all networks on that link. By default this is a number in the range 1-100.
  • Rate Limit [Mbps]: The maximum bandwidth to be used by a network.
  • Committed Rate [Mbps]: The minimum bandwidth required by a network. The Committed Rate requested is not guaranteed and will vary depending on the network infrastructure and the Committed Rate requested by other networks on the same logical link.

To change the maximum value allowed by the Rate Limit [Mbps] or Committed Rate [Mbps] fields, use the engine-config command to change the value of the MaxAverageNetworkQoSValue configuration key. You must restart the ovirt-engine service for the change to take effect. For example:

# engine-config -s MaxAverageNetworkQoSValue=2048
# systemctl restart ovirt-engine

2.1.3.3. Removing a Host Network Quality of Service Entry

Remove an existing network quality of service entry.

Procedure

  1. Click Compute Data Centers.
  2. Click a data center’s name. This opens the details view.
  3. Click the QoS tab.
  4. Under Host Network, select a host network quality of service entry and click Remove.
  5. Click OK when prompted.

2.1.4. CPU Quality of Service

CPU quality of service defines the maximum amount of processing capability a virtual machine can access on the host on which it runs, expressed as a percent of the total processing capability available to that host. Assigning CPU quality of service to a virtual machine allows you to prevent the workload on one virtual machine in a cluster from affecting the processing resources available to other virtual machines in that cluster.

2.1.4.1. Creating a CPU Quality of Service Entry

Create a CPU quality of service entry.

Procedure

  1. Click Compute Data Centers.
  2. Click a data center’s name. This opens the details view.
  3. Click the QoS tab.
  4. Under CPU, click New.
  5. Enter a QoS Name and a Description for the quality of service entry.
  6. Enter the maximum processing capability the quality of service entry permits in the Limit (%) field. Do not include the % symbol.
  7. Click OK.

You have created a CPU quality of service entry, and can create CPU profiles based on that entry in clusters that belong to the data center.

2.1.4.2. Removing a CPU Quality of Service Entry

Remove an existing CPU quality of service entry.

Procedure

  1. Click Compute Data Centers.
  2. Click a data center’s name. This opens the details view.
  3. Click the QoS tab.
  4. Under CPU, select a CPU quality of service entry and click Remove.
  5. Click OK.

If any CPU profiles were based on that entry, the CPU quality of service entry for those profiles is automatically set to [unlimited].

Red Hat logoGithubRedditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

© 2024 Red Hat, Inc.