-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[201811] Update 7260 MMU and ECN settings (#10757)
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 With the new dir structure on 7260, updated the new alpha values and ecn settings in the appropriate files, loaded minigraph and verified that the new settings are applied Added unit tests for rendering the qos template for 7260. Built sonic config engine wheel successfully neethajohn added 6 commits 10 days ago Signed-off-by: Neetha John <nejo@microsoft.com>
- Loading branch information
1 parent
f5c1762
commit 76a3c86
Showing
7 changed files
with
3,552 additions
and
51 deletions.
There are no files selected for viewing
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
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/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
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' %} |
Oops, something went wrong.