Skip to content

Commit

Permalink
[Mellanox] Update Mellanox-SN5600-C256S1 buffer calculations (sonic-n…
Browse files Browse the repository at this point in the history
…et#20991)

- Why I did it
Update buffer calculations for Mellanox-SN5600-C256S1 HwSKU.

- How I did it
Update lossless pool

- How to verify it
Run sonic-mgmt QoS test
  • Loading branch information
noaOrMlnx authored Dec 12, 2024
1 parent 5614f51 commit ab16645
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
limitations under the License.
#}
{% set default_cable = '40m' %}
{% set ingress_lossless_pool_size = '115245056' %}
{% set ingress_lossless_pool_xoff = '14826496' %}
{% set ingress_lossless_pool_size = '142703616' %}
{% set ingress_lossless_pool_xoff = '1024' %}
{% set egress_lossless_pool_size = '158229504' %}
{% set egress_lossy_pool_size = '115245056' %}
{% set egress_lossy_pool_size = '142703616' %}

{% import 'buffers_defaults_objects.j2' as defs with context %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,18 @@
See the License for the specific language governing permissions and
limitations under the License.
#}
{% set default_cable = '300m' %}
{% set ingress_lossless_pool_size = '137779200' %}
{% set ingress_lossless_pool_xoff = '10092544' %}
{% set default_cable = '250m' %}
{% set ingress_lossless_pool_size = '142703616' %}
{% set ingress_lossless_pool_xoff = '1024' %}
{% set egress_lossless_pool_size = '158229504' %}
{% set egress_lossy_pool_size = '137779200' %}
{% set egress_lossy_pool_size = '142703616' %}

{%-set ports2cable = {
'torrouter_server' : '40m',
'leafrouter_torrouter' : '250m',
'spinerouter_leafrouter' : '1000m'
}
-%}

{% import 'buffers_defaults_objects.j2' as defs with context %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,11 @@
200000 300m 19456 19456 130048 0
400000 300m 19456 19456 243712 0
800000 300m 38912 38912 411648 0
10000 1000m 19456 19456 24576 0
25000 1000m 19456 19456 46080 0
40000 1000m 19456 19456 68608 0
50000 1000m 19456 19456 83968 0
100000 1000m 19456 19456 168960 0
200000 1000m 19456 19456 308224 0
400000 1000m 19456 19456 610304 0
800000 1000m 38912 38912 1153024 0

0 comments on commit ab16645

Please sign in to comment.