Creating a SmartQoS Policy

This section describes how to create a user-level QoS policy.

Procedure

  1. Choose Resources > Tuning > SmartQoS > User.
  2. Click Create.

    The Create QoS Policy page is displayed.

  3. 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.

  4. Set the QoS policy parameters, including the fixed bandwidth upper limit and OPS upper limit.

    1. Set the bandwidth upper limit. That is, the maximum amount of I/O data that can be processed by a single user 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 user 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 1 describes related parameters.

      Table 1 Object service QoS policy parameters

      Parameter

      Description

      Read Bandwidth Upper Limit

      Maximum read bandwidth of a single user of the object service. That is, the maximum amount of data in the read requests of the object service delivered by a single user per second. The unit is MB/s.

      Write Bandwidth Upper Limit

      Maximum write bandwidth of a single user of the object service. That is, the maximum amount of data in the write requests of the object service delivered by a single user per second. The unit is MB/s.

      Read OPS Upper Limit

      Read OPS upper limit of a single user of the object service. That is, the maximum number of read requests of the object service that can be delivered by a single user per second.

      Write OPS Upper Limit

      Write OPS upper limit of a single user of the object service. That is, the maximum number of write requests of the object service that can be delivered by a single user per second.

  5. Add a control object.

    1. Click Modify on the right of Users.

      The Add Object page is displayed.

    2. Select a user type. Possible options include Local user, LDAP domain user, and NIS domain user.

      A user can have only one QoS policy.

      • Local user: In the Available Users area, select one or more desired users to be controlled by the policy. They will be automatically added to the Selected Users area on the right.
      • LDAP domain user/NIS domain user: In the Name area, enter the names of desired domain users to be controlled by the policy. You can enter multiple names and separate them with semicolons (;) or by pressing Enter. The length of a single name ranges from 1 to 128 characters.
    3. Click OK.

      If a user associated with the QoS policy is deleted later, the association between the QoS policy and the user still exists. That is, if a new user with the same UID is created again, the QoS policy still takes effect for the new user. To disassociate the user from the QoS policy, manually remove the user from the QoS policy. For details, see Removing an Object.

  6. Click OK.