You can control resource allocations for CPU, memory, disk IOPS, and virtual network interfaces by modifying a flavor or image.

Note:

Configuring virtual interface quotas is not supported in NSX-T Data Center. The VIF limit, reservation, and shares settings cannot be used with NSX-T Data Center deployments.

To configure QoS for NSX-T Data Center, create a Network I/O Control (NIOC) profile and apply it to the N-VDS for the transport nodes in your deployment. See Configuring Network I/O Control Profiles.

QoS resource allocation can also be specified by flavor extra specs or image metadata. If flavor and image settings conflict, the image metadata configuration takes precedence.

Procedure

  1. Log in to the VMware Integrated OpenStack dashboard as a cloud administrator.
  2. Select the admin project from the drop-down menu in the title bar.
  3. Specify a flavor or image to use for QoS.
    • To use flavor extra specs for QoS configuration, perform the following steps:
      1. Select Admin > Compute > Flavors.
      2. Create a new flavor or choose an existing flavor to use for QoS.
      3. Select Update Metadata next to the flavor that you want to use.
    • To use image metadata for QoS configuration, perform the following steps:
      1. Select Admin > Compute > Images.
      2. Create a new image or choose an existing image to use for QoS.
      3. Click the down arrow next to the image that you want to use and select Update Metadata.
  4. In the Available Metadata pane, expand VMware Quota.
  5. Click the Add (plus sign) icon next to the item that you want to use.
    Option Description
    Quota: CPU Limit

    Specify the maximum CPU allocation in megahertz. The value 0 indicates that CPU usage is not limited.

    Quota: CPU Reservation

    Specify the guaranteed CPU allocation in megahertz.

    Quota: CPU Reservation in Percentage

    Specify the guaranteed CPU allocation as a percentage of total CPU cycles.

    Quota: CPU Shares Level

    Specify the level of CPU shares allocated. You can enter custom and add the Quota: CPU Shares Value metadata to provide a custom value.

    Quota: CPU Shares Value

    Specify the number of CPU shares allocated.

    If the Quota: CPU Shares Level metadata is not set to custom, this value is ignored.

    Quota: Disk IO Limit

    Specify the maximum disk transaction allocation in IOPS. The value 0 indicates that disk transactions are not limited.

    Quota: Disk IO Reservation

    Specify the guaranteed disk transaction allocation in IOPS.

    Quota: Disk IO Shares Level

    Specify the level of disk transaction shares allocated. You can enter custom and add the Quota: Disk IO Shares Value metadata to provide a custom value.

    Quota: Disk IO Shares Value

    Specify the number of disk transaction shares allocated.

    If the Quota: Disk IO Shares Level metadata is not set to custom, this value is ignored.

    Quota: Memory Limit

    Specify the maximum memory allocation in megabytes. The value 0 indicates that memory usage is not limited.

    Quota: Memory Reservation

    Specify the guaranteed memory allocation in megabytes.

    Quota: Memory Reservation in Percentage

    Specify the guaranteed memory allocation as a percentage of total memory.

    Quota: Memory Shares Level

    Specify the level of memory shares allocated. You can enter custom and add the Quota: Memory Shares Value metadata to provide a custom value.

    Quota: Memory Shares Value

    Specify the number of memory shares allocated.

    If the Quota: Memory Shares Level metadata is not set to custom, this value is ignored.

    Quota: VIF Limit

    Specify the maximum virtual interface bandwidth allocation in megabits per second (Mbps). The value 0 indicates that virtual interface bandwidth is not limited.

    Quota: VIF Reservation

    Specify the guaranteed virtual interface bandwidth allocation in Mbps.

    Quota: VIF Shares Level

    Specify the level of virtual interface bandwidth shares allocated. You can enter custom and the Quota: VIF Shares Value metadata to provide a custom value.

    Quota: VIF Shares Value

    Specify the number of virtual interface bandwidth shares allocated.

    If the Quota: VIF Shares Level metadata is not set to custom, this value is ignored.

  6. Click Save.

Results

You can now deploy QoS-enabled instances by configuring them with the flavor or image that you modified in this procedure.

To apply QoS settings to an existing instance, resize the instance and select the flavor with the desired QoS settings. The specified settings take effect after the resize process is complete.