Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qos config change #2505

Merged
merged 9 commits into from
Jan 31, 2019
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"mode": "static"
},
"egress_lossy_pool": {
"size": "7582515",
"size": "7326924",
"type": "egress",
"mode": "dynamic"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"mode": "static"
},
"egress_lossy_pool": {
"size": "7582515",
"size": "7326924",
"type": "egress",
"mode": "dynamic"
}
Expand Down
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
40000 5m 41808 18432 40560 -3 2496
50000 5m 41808 18432 40560 -3 2496
100000 5m 41808 18432 40560 -3 2496
40000 40m 51376 18432 50128 -3 2496
50000 40m 51376 18432 50128 -3 2496
100000 40m 51376 18432 50128 -3 2496
40000 300m 51376 18432 50128 -3 2496
50000 300m 51376 18432 50128 -3 2496
100000 300m 51376 18432 50128 -3 2496
40000 5m 55120 18432 56368 -3 2496
50000 5m 55120 18432 56368 -3 2496
100000 5m 55120 18432 56368 -3 2496
40000 40m 55120 18432 56368 -3 2496
50000 40m 55120 18432 56368 -3 2496
100000 40m 55120 18432 56368 -3 2496
40000 300m 55120 18432 56368 -3 2496
50000 300m 55120 18432 56368 -3 2496
100000 300m 55120 18432 56368 -3 2496
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"mode": "static"
},
"egress_lossy_pool": {
"size": "7582515",
"size": "7326924",
"type": "egress",
"mode": "dynamic"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"mode": "static"
},
"egress_lossy_pool": {
"size": "7582515",
"size": "7326924",
"type": "egress",
"mode": "dynamic"
}
Expand Down
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
40000 5m 41808 18432 40560 -3 2496
50000 5m 41808 18432 40560 -3 2496
100000 5m 41808 18432 40560 -3 2496
40000 40m 51376 18432 50128 -3 2496
50000 40m 51376 18432 50128 -3 2496
100000 40m 51376 18432 50128 -3 2496
40000 300m 51376 18432 50128 -3 2496
50000 300m 51376 18432 50128 -3 2496
100000 300m 51376 18432 50128 -3 2496
40000 5m 55120 18432 56368 -3 2496
50000 5m 55120 18432 56368 -3 2496
100000 5m 55120 18432 56368 -3 2496
40000 40m 55120 18432 56368 -3 2496
50000 40m 55120 18432 56368 -3 2496
100000 40m 55120 18432 56368 -3 2496
40000 300m 55120 18432 56368 -3 2496
50000 300m 55120 18432 56368 -3 2496
100000 300m 55120 18432 56368 -3 2496
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "11213696",
"size": "10875072",
"type": "ingress",
"mode": "dynamic",
"xoff": "3855488"
"xoff": "4194112"
},
"egress_lossy_pool": {
"size": "9532224",
"size": "9243812",
"type": "egress",
"mode": "dynamic"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "10443264",
"size": "10875072",
"type": "ingress",
"mode": "dynamic",
"xoff": "4625920"
"xoff": "4194112"
},
"egress_lossy_pool": {
"size": "8877440",
"size": "9243812",
"type": "egress",
"mode": "dynamic"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "11213696",
"size": "10875072",
"type": "ingress",
"mode": "dynamic",
"xoff": "3855488"
"xoff": "4194112"
},
"egress_lossy_pool": {
"size": "9532224",
"size": "9243812",
"type": "egress",
"mode": "dynamic"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
10000 300m 1248 2288 46176 -3 2288
25000 300m 1248 2288 79040 -3 2288
40000 300m 1248 2288 108160 -3 2288
50000 300m 1248 2288 131456 -3 2288
50000 300m 1248 2288 141856 -3 2288
100000 300m 1248 2288 268736 -3 2288
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "11213696",
"size": "10875072",
"type": "ingress",
"mode": "dynamic",
"xoff": "3855488"
"xoff": "4194112"
},
"egress_lossy_pool": {
"size": "9532224",
"size": "9243812",
"type": "egress",
"mode": "dynamic"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "10443264",
"size": "10875072",
"type": "ingress",
"mode": "dynamic",
"xoff": "4625920"
"xoff": "4194112"
},
"egress_lossy_pool": {
"size": "8877440",
"size": "9243812",
"type": "egress",
"mode": "dynamic"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "32799936",
"size": "33329088",
"type": "ingress",
"mode": "dynamic",
"xoff": "8356608"
"xoff": "7827456"
},
"egress_lossy_pool": {
"size": "26240448",
"size": "26663272",
"type": "egress",
"mode": "dynamic"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"mode": "static"
},
"egress_lossy_pool": {
"size": "7582515",
"size": "7326924",
"type": "egress",
"mode": "dynamic"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"mode": "static"
},
"egress_lossy_pool": {
"size": "7582515",
"size": "7326924",
"type": "egress",
"mode": "dynamic"
}
Expand Down
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
40000 5m 41808 18432 40560 -3 2496
50000 5m 41808 18432 40560 -3 2496
100000 5m 41808 18432 40560 -3 2496
40000 40m 51376 18432 50128 -3 2496
50000 40m 51376 18432 50128 -3 2496
100000 40m 51376 18432 50128 -3 2496
40000 300m 51376 18432 50128 -3 2496
50000 300m 51376 18432 50128 -3 2496
100000 300m 51376 18432 50128 -3 2496
40000 5m 55120 18432 56368 -3 2496
50000 5m 55120 18432 56368 -3 2496
100000 5m 55120 18432 56368 -3 2496
40000 40m 55120 18432 56368 -3 2496
50000 40m 55120 18432 56368 -3 2496
100000 40m 55120 18432 56368 -3 2496
40000 300m 55120 18432 56368 -3 2496
50000 300m 55120 18432 56368 -3 2496
100000 300m 55120 18432 56368 -3 2496
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "11213696",
"size": "10875072",
"type": "ingress",
"mode": "dynamic",
"xoff": "3855488"
"xoff": "4194112"
},
"egress_lossy_pool": {
"size": "9532224",
"size": "9243812",
"type": "egress",
"mode": "dynamic"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "10443264",
"size": "10875072",
"type": "ingress",
"mode": "dynamic",
"xoff": "4625920"
"xoff": "4194112"
},
"egress_lossy_pool": {
"size": "8877440",
"size": "9243812",
"type": "egress",
"mode": "dynamic"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
10000 300m 1248 2288 46176 -3 2288
25000 300m 1248 2288 79040 -3 2288
40000 300m 1248 2288 108160 -3 2288
50000 300m 1248 2288 131456 -3 2288
50000 300m 1248 2288 141856 -3 2288
100000 300m 1248 2288 268736 -3 2288
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "10443264",
"size": "10875072",
"type": "ingress",
"mode": "dynamic",
"xoff": "4625920"
"xoff": "4194112"
},
"egress_lossy_pool": {
"size": "8877440",
"size": "9243812",
"type": "egress",
"mode": "dynamic"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "11213696",
"size": "10875072",
"type": "ingress",
"mode": "dynamic",
"xoff": "3855488"
"xoff": "4194112"
},
"egress_lossy_pool": {
"size": "9532224",
"size": "9243812",
"type": "egress",
"mode": "dynamic"
},
Expand Down
4 changes: 2 additions & 2 deletions files/build_templates/buffers_config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ def
"{{ port_names_active }}|3-4": {
"profile" : "[BUFFER_PROFILE|egress_lossless_profile]"
},
"{{ port_names_active }}|0-1": {
"{{ port_names_active }}|0-2": {
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
},
"{{ port_names_active }}|5": {
"{{ port_names_active }}|5-6": {
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
}
}
Expand Down
Loading