QoS (Quality of Service) Follow
- Queue counter
- CoS and Queue mapping
- DSCP and Queue mapping (TBD)
- QoS Scheduling (TBD)
Example: Queue Counter
Reference model:
- Switch model name: AS7816-64X
- Edgecore SONiC version: SONiC.Edgecore-SONiC_20200116_051623_ec201904_128
Procedure:
Steps 1. Clear the queue counter
admin@sonic:~$ sonic-clear queuecounters
Steps 2. Check Ethernet0 queue counter
admin@sonic:~$ show queue counters Ethernet0
Last cached time was 2016-11-07 00:54:58.623429
Port TxQ Counter/pkts Counter/bytes Drop/pkts Drop/bytes
--------- ----- -------------- --------------- ----------- ------------
Ethernet0 UC0 0 0 0 0
Ethernet0 UC1 0 0 0 0
Ethernet0 UC2 0 0 0 0
Ethernet0 UC3 0 0 0 0
Ethernet0 UC4 0 0 0 0
Ethernet0 UC5 0 0 0 0
Ethernet0 UC6 0 0 0 0
Ethernet0 UC7 0 0 0 0
Ethernet0 UC8 N/A N/A N/A N/A
Ethernet0 UC9 N/A N/A N/A N/A
Ethernet0 MC10 0 0 0 0
Ethernet0 MC11 0 0 0 0
Ethernet0 MC12 0 0 0 0
Ethernet0 MC13 0 0 0 0
Ethernet0 MC14 0 0 0 0
Ethernet0 MC15 0 0 0 0
Ethernet0 MC16 0 0 0 0
Ethernet0 MC17 0 0 0 0
Ethernet0 MC18 N/A N/A N/A N/A
Ethernet0 MC19 N/A N/A N/A N/A
Notes:
- 8 dedicated queues (i.e UC0, UC1, ..., UC7) for unicast.
- Other 8 dedicated queues (i.e MC10, MC11, ..., UC17) for multicast.
- UC8, UC9, UC18, UC19 are not available.
Example: CoS and Queue mapping
Reference model:
- Switch model name: AS7816-64X
- Edgecore SONiC version: SONiC.Edgecore-SONiC_20200116_051623_ec201904_128
Known issue:
AS7816-64X breakout cable doesn't support CoS mapping, no matter which CoS priority of packets you sent, they all belong to Queue 0.
Default setting:
- Port priority is 0 by default. i.g Untagged packet (without CoS priority)
- CoS and Queue mapping table
Comments
0 comments
Please sign in to leave a comment.