Creating a SmartQoS Policy

This section describes how to create a QoS policy.

Procedure

  1. Choose Resources > Tuning > SmartQoS > Namespace.
  2. Select a desired account from the Account drop-down list in the upper left corner.
  3. Click Create.

    The Create QoS Policy page is displayed.

  4. Set a QoS policy name.

    • The name must be unique.
    • The name can contain only digits, letters, hyphens (-), and underscores (_), and must start with a digit or letter.
    • The name contains 1 to 63 characters.

  5. Select a QoS policy mode. Possible options are:

    • By performance density: The storage system dynamically calculates the bandwidth upper limit based on the bandwidth density and capacity.
      1. Set Capacity Type. Possible options are:
        • By used capacity: The storage system dynamically calculates the bandwidth upper limit based on the used capacity of a namespace.

          Bandwidth upper limit = min(Maximum bandwidth, Basic bandwidth + Bandwidth density x Used capacity of the namespace)

        • By fixed capacity: The storage system calculates the bandwidth upper limit based on the larger value between the fixed capacity and the used capacity of a namespace.
          When By fixed capacity is selected, you need to set the fixed capacity (unit: GB).

          Bandwidth upper limit = min(Maximum bandwidth, Basic bandwidth + max(Fixed capacity, Used namespace capacity) x Bandwidth density)

      2. Set QoS policy parameters.

        Table 1 describes related parameters.

        Table 1 QoS policy parameters

        Parameter

        Description

        Basic Bandwidth

        Basic bandwidth of a single namespace. That is, the basic amount of I/O data that can be processed by a single namespace per second.

        Max. Bandwidth

        Maximum bandwidth of a single namespace. That is, the maximum amount of I/O data that can be processed by a single namespace per second.

        Bandwidth Density

        Bandwidth increment when the fixed capacity or used capacity of a single namespace is increased by 1 TB. The value is restricted by Max. Bandwidth.

        OPS Upper Limits

        OPS upper limit of a single namespace. That is, the maximum read/write operations that can be performed on a single namespace per second.

    • By upper limit: The bandwidth upper limit is a fixed value.
      1. Set the bandwidth upper limit. That is, the maximum amount of I/O data that can be processed by a single namespace per second. The unit is MB/s.
      2. Set the OPS upper limit. That is, the maximum number of operations that can be performed by a single namespace per second.
      3. When the object service is enabled in the storage system, you can choose whether to enable Object Service Read/Write Control to control the upper limits of read and write OPS and bandwidth of the object service. After this function is enabled, you need to set the QoS policy parameters of the object service.

        Table 2 describes related parameters.

        Table 2 Object service QoS policy parameters

        Parameter

        Description

        Read Bandwidth Upper Limit

        Read bandwidth upper limit of a single namespace of the object service. That is, the maximum amount of data in read requests of the object service that can be processed by a single namespace per second.

        Write Bandwidth Upper Limit

        Write bandwidth upper limit of a single namespace of the object service. That is, the maximum amount of data in write requests of the object service that can be processed by a single namespace per second.

        Read OPS Upper Limit

        Read OPS upper limit of a single namespace of the object service. That is, the maximum number of read operations of the object service that can be performed by a single namespace per second.

        Write OPS Upper Limit

        Write OPS upper limit of a single namespace of the object service. That is, the maximum number of write operations of the object service that can be performed by a single namespace per second.

  6. Add a control object.

    1. Click Modify on the right of Namespaces.

      The Add Object page is displayed.

    2. In the Available Namespaces area, select desired namespaces to be controlled by the policy. They will be automatically added to the Selected Namespaces area on the right.

      A namespace can be configured with only one QoS policy.

    3. Click OK.

  7. Click OK.