forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update 7260 MMU and ECN settings (sonic-net#11449)
Signed-off-by: Neetha John <nejo@microsoft.com> Why I did it Improve throughput and latency for 7260 deployments How I did it Update the dynamic threshold to 0 and ECN settings as 2mb/10mb/5% How to verify it Updated unit tests to use the modified values for 7260 ecn settings.
- Loading branch information
1 parent
e13df58
commit f92e3e8
Showing
13 changed files
with
97 additions
and
32 deletions.
There are no files selected for viewing
12 changes: 6 additions & 6 deletions
12
device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-D96C16/pg_profile_lookup.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# PG lossless profiles. | ||
# speed cable size xon xoff threshold xon_offset | ||
50000 5m 1248 1248 56160 -3 2496 | ||
100000 5m 1248 1248 96928 -3 2496 | ||
50000 40m 1248 1248 96096 -3 2496 | ||
100000 40m 1248 1248 177632 -3 2496 | ||
50000 300m 1248 1248 141856 -3 2496 | ||
100000 300m 1248 1248 268736 -3 2496 | ||
50000 5m 1248 1248 56160 0 2496 | ||
100000 5m 1248 1248 96928 0 2496 | ||
50000 40m 1248 1248 96096 0 2496 | ||
100000 40m 1248 1248 177632 0 2496 | ||
50000 300m 1248 1248 141856 0 2496 | ||
100000 300m 1248 1248 268736 0 2496 |
20 changes: 20 additions & 0 deletions
20
device/arista/x86_64-arista_7260cx3_64/Arista-7260CX3-D96C16/qos.json.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,21 @@ | ||
{%- macro generate_wred_profiles() %} | ||
"WRED_PROFILE": { | ||
"AZURE_LOSSLESS" : { | ||
"wred_green_enable" : "true", | ||
"wred_yellow_enable" : "true", | ||
"wred_red_enable" : "true", | ||
"ecn" : "ecn_all", | ||
"green_max_threshold" : "10000000", | ||
"green_min_threshold" : "2000000", | ||
"yellow_max_threshold" : "2097152", | ||
"yellow_min_threshold" : "1048576", | ||
"red_max_threshold" : "2097152", | ||
"red_min_threshold" : "1048576", | ||
"green_drop_probability" : "5", | ||
"yellow_drop_probability": "5", | ||
"red_drop_probability" : "5" | ||
} | ||
}, | ||
{%- endmacro %} | ||
|
||
{%- include 'qos_config.j2' %} |
18 changes: 9 additions & 9 deletions
18
device/common/profiles/th2/7260/BALANCED/pg_profile_lookup.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# PG lossless profiles. | ||
# speed cable size xon xoff threshold xon_offset | ||
100000 5m 1248 1248 54080 -3 2496 | ||
100000 40m 1248 1248 59696 -3 2496 | ||
100000 300m 1248 1248 101088 -3 2496 | ||
50000 5m 1248 1248 54080 -3 2496 | ||
50000 40m 1248 1248 59696 -3 2496 | ||
50000 300m 1248 1248 101088 -3 2496 | ||
40000 5m 1248 1248 29536 -3 2496 | ||
40000 40m 1248 1248 31616 -3 2496 | ||
40000 300m 1248 1248 48256 -3 2496 | ||
100000 5m 1248 1248 54080 0 2496 | ||
100000 40m 1248 1248 59696 0 2496 | ||
100000 300m 1248 1248 101088 0 2496 | ||
50000 5m 1248 1248 54080 0 2496 | ||
50000 40m 1248 1248 59696 0 2496 | ||
50000 300m 1248 1248 101088 0 2496 | ||
40000 5m 1248 1248 29536 0 2496 | ||
40000 40m 1248 1248 31616 0 2496 | ||
40000 300m 1248 1248 48256 0 2496 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
device/common/profiles/th2/7260/RDMA-CENTRIC/pg_profile_lookup.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# PG lossless profiles. | ||
# speed cable size xon xoff threshold xon_offset | ||
100000 5m 1248 1248 54080 -3 2496 | ||
100000 40m 1248 1248 59696 -3 2496 | ||
100000 300m 1248 1248 101088 -3 2496 | ||
50000 5m 1248 1248 54080 -3 2496 | ||
50000 40m 1248 1248 59696 -3 2496 | ||
50000 300m 1248 1248 101088 -3 2496 | ||
40000 5m 1248 1248 29536 -3 2496 | ||
40000 40m 1248 1248 31616 -3 2496 | ||
40000 300m 1248 1248 48256 -3 2496 | ||
100000 5m 1248 1248 54080 0 2496 | ||
100000 40m 1248 1248 59696 0 2496 | ||
100000 300m 1248 1248 101088 0 2496 | ||
50000 5m 1248 1248 54080 0 2496 | ||
50000 40m 1248 1248 59696 0 2496 | ||
50000 300m 1248 1248 101088 0 2496 | ||
40000 5m 1248 1248 29536 0 2496 | ||
40000 40m 1248 1248 31616 0 2496 | ||
40000 300m 1248 1248 48256 0 2496 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
src/sonic-config-engine/tests/sample_output/py2/qos-arista7260.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../py3/qos-arista7260-t1-remap-disabled.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
src/sonic-config-engine/tests/sample_output/py3/qos-arista7260.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
qos-arista7260-t1-remap-disabled.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters