Quality of Service with NSX
QoS is a method of providing a minimal Quality of Service to network traffic. This is done through adding values to the Ethernet or packet headers. By adding these values, priority can be assigned to network traffic types. Some services do not a significant amount of bandwidth but are sensitive to latency. These services can benefit from QoS.
Networks use QoS as a way to give priority where needed. A service provider often provides a level of service for their clients. QoS provides a method to meet the agreed service level.
VOIP is a service which provides an excellent use case of Quality of Service. Latency plays a large role in the quality of VOIP communication. Increases in latency negativity impact VOIP quality.
L2 and L3 Quality of Service
Layer2 and Layer3 Quality of Service are quite different. Layer2 called Class of Service (CoS) allows tagging using the values 0 – 7. Layer3 called Differentiated Services Code Point (DSCP) allows tagging using the values 0 – 63. DCSP is able to provide more flexibility, due to the larger range of values. Due to being Layer3, DSCP values remain end to end.
The hypervisor presents a trust boundary, which means that it sets the QoS value for different traffic types. The expectation is for physical switching to trust these values. No reclassification is necessary at the server-facing port of a leaf switch.
When configuring QoS for logical switch, you need to do so on the vDS port group for that logical switch. The process of configuring QoS for a logical switch is the same as a normal vDS port group. There is currently no option to configure QoS through the logical switch interface.
During the configuration, you have three filtering actions; Allow, Drop, and Tag. The tag option, you are able to assign a Cos or DSCP value to ingress or egress traffic. The final step is to set qualifiers for filtering the source or destination traffic.
The available filtering options are; IP Address, MAC, and System Type.