SmartQoS principles and features

Refer:
https://forum.huawei.com/enterprise/en/smartqos-principles-and-features/thread/568269-891


Hello everyone, introduce the principles and features of Huawei SmartQos today.
What is SmartQos?
SmartQoS helps set upper limits on IOPS or bandwidth for certain applications. Based on these upper limits, SmartQoS can accurately control the performance of these applications, thereby preventing them from contending for storage resources with critical applications. It provides the following functions:
  • Assigns storage resources to critical applications on a preferential basis in the event of resource shortages in order to meet specific service level requirements across scenarios.
  • Limits the resources allocated to non-critical applications to ensure better performance of critical applications.
What working principles?                
  1. I/O Priority Scheduling
    I/O priority scheduling is based on LUN priority, or more specifically, the importance of applications processed by each LUN.
    This functionsystem resources, such as computing and bandwidth resources. This ensures that storage systems give priority to resource allocation requests initiated by high-priority applications. Thus, resource shortages do not affect the ability of high-priority applications to meet their service level requirements.

    11
  2. I/O Traffic Control
    I/O traffic control restricts the performance of non-critical applications by limiting their IOPS or bandwidth, thereby preventing them from affecting critical applications. I/O traffic control is implemented based on hierarchical management, objective distribution, and traffic control management.
    22
  3. I/O Traffic Control: Hierarchical Management
    Normal policy: controls the traffic from a single application to LUNs or snapshots.
    Hierarchical policy: controls the traffic from a group of applications to LUNs or snapshots. Hierarchical policies can be supplemented by normal policies.
    33
  4. I/O Traffic Control: Objective Distribution
    All LUNs in a SmartQoS traffic control policy share a specified traffic control objective. The SmartQoS module periodically collects performance data and requirement data of all LUNs in a traffic control policy, and distributes the traffic control objective to each LUN using
    Currently, Huawei employs a tuned weighted max-min fairness algorithm explained by the figure on the right.
    44
  5. I/O Traffic Control: Traffic Control Management
    Traffic control management is implemented based on I/O queue management, token allocation, and dequeue control.
    I/O queue management uses a token mechanism to allocate storage resources. A high number of tokens indicates correspondingly high resource allocation for the respective I/O queue.
How to do create and manage SmartQoS?
1. SmartQoS Portal
On OceanStor, choose Provisioning > Resource Performance Tuning > SmartQoS.
1
Configuring the I/O Priority
Configure the I/O priority for a LUN based on the importance of applications processed by the LUN. The three I/O priorities are Low, Medium, and High.
2
Creating a SmartQoS Policy
Step 1: On the Traffic Control tab, click Create. Specify the policy name and type in the displayed dialog box.
3
Step 2: Set the control objective
Do not set the control objective to too small a value. The value displayed in the following figure is provided as an example. A big difference between the value and the actual service load leads to high latency, which may adversely affect host services and other services such as HyperMetro and HyperReplication.
4
Step 3: Set the time period for which the policy comes into
5
Step 4: Add LUNs to the policy
6
Step 5: Confirm the parameter settings and click Finish
7
Step 6: On the Traffic Control tab, you can view basic information about all policies. There are three activity states for policies: Unactivated, Idle, and Running
 8
Activating or Deactivating a SmartQoS Policy
        For SmartQoS policies, you can activate them and add or remove LUNs.
 9
Deleting a SmartQoS Policy
        You can directly delete an  SmartQoS policy. Activated policies must be deactivated  before being deleted.
10

Modifying the Properties of a SmartQoS Policy
You can modify the properties of an activated SmartQoS policy.
Do not set the control objective to too small a value. The value displayed in the following figure is provided as an example. A big difference between the value and the actual service load leads to high latency, which may adversely affect.
11
You can modify the properties of an activated SmartQoS
12
This is the huawei SmartQos principles and features that I want to share with you today. I hope everyone likes it.

Comments