Skip to content

Commit 6e9da74

Browse files
committed
Merge branch '5.17-reviews' into stage
2 parents 0858780 + 96242cb commit 6e9da74

1 file changed

Lines changed: 17 additions & 15 deletions

File tree

  • content/cumulus-linux-517/Layer-1-and-Switch-Ports/Quality-of-Service

content/cumulus-linux-517/Layer-1-and-Switch-Ports/Quality-of-Service/_index.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -718,9 +718,10 @@ small-packet-probability 60
718718
Lossless headroom based on small packet probability is a Beta feature.
719719
{{%/notice%}}
720720

721-
Cumulus Linux calculates the headroom size for lossless priority groups based on the assumption that all packets are small (64 bytes). On Spectrum-5 and earlier, the switch assumes a 100 percent probability of such packets arriving at line rate. On Spectrum-6, the switch assumes a 50 percent probability of such packets arriving at line rate. As a result, the configured headroom is often larger than necessary, as traffic typically consists of a mix of packet sizes.
721+
Cumulus Linux calculates the headroom size for lossless priority groups based on the assumption that all packets are small (64 bytes). On Spectrum-5 and earlier, the switch assumes a 100 percent probability of such packets arriving at line rate. As a result, the configured headroom is often larger than necessary, as traffic typically consists of a mix of packet sizes.
722+
<!--On Spectrum-6, the switch assumes a 50 percent probability of such packets arriving at line rate.-->
722723

723-
To enable more accurate headroom calculations, providing for better buffer allocation and improved shared buffer utilization, you can configure the probability of small packets on ports applied with {{<link url="#priority-flow-control-(pfc)" text="priority flow control">}}. Based on the configured small packet probability, `switchd` calculates the headroom reservation required for the lossless priority group.
724+
To enable more accurate headroom calculations, providing for better buffer allocation and improved shared buffer utilization, you can configure the probability of small packets on ports applied with a {{<link url="#priority-flow-control-(pfc)" text="priority flow control profile">}}. Based on the configured small packet probability, `switchd` calculates the headroom reservation required for the lossless priority group.
724725

725726
{{< tabs "TabID679 ">}}
726727
{{< tab "NVUE Commands ">}}
@@ -765,25 +766,26 @@ To show the PFC small packet probability setting for a profile, run the `nv show
765766

766767
```
767768
cumulus@switch:~$ nv show qos pfc default-global
768-
operational applied pending
769-
----------------- ----------- ------- -------
770-
cable-length 100
771-
small-packet-probability 60
772-
tx enable
773-
rx enable
774-
[switch-priority] 3
769+
operational applied
770+
------------------------ ----------- -------
771+
cable-length 100 100
772+
small-packet-probability 40 40
773+
tx enable enable
774+
rx enable enable
775+
[switch-priority] 3 3
775776
```
776777
<!--
777778
To show the link pause small packet probability setting for a profile, run the `nv show qos link-pause <profile-id>` command. To show the link pause small packet probability setting for an interface, run the `nv show interface <interface-id> qos link-pause` command.
778779
779780
```
780781
cumulus@switch:~$ nv show qos link-pause default-global
781-
operational applied pending
782-
------------------------ ----------- ------- -------
783-
cable-length 100
784-
small-packet-probability 60
785-
tx enable
786-
rx enable
782+
operational applied
783+
------------------------ ----------- -------
784+
cable-length 100 100
785+
small-packet-probability 40 40
786+
tx enable enable
787+
rx enable enable
788+
[switch-priority] 3 3
787789
```
788790
-->
789791
### PFC Watchdog

0 commit comments

Comments
 (0)