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

[FRR]Setting multipath size to 514 and disabling bgp-vnc for optimization #20744

Merged
merged 4 commits into from
Dec 5, 2024

Conversation

dgsudharsan
Copy link
Collaborator

Why I did it

Increased the max multipath to 512. In addition removed bgp-vnc as this feature is not used by SONiC .

https://docs.frrouting.org/en/latest/vnc.html#vnc-and-vnc-gw

This feature adds overhead in general and removing this improves bgp convergence time for scale.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Added a patch modify debian rules.

How to verify it

Run BGP tests in scaled topology.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@dgsudharsan dgsudharsan requested a review from lguohan as a code owner November 9, 2024 00:04
@dgsudharsan
Copy link
Collaborator Author

@eddieruan-alibaba @hasan-brcm FYI. Please review the changes.

@hasan-brcm
Copy link
Contributor

hasan-brcm commented Nov 9, 2024

@dgsudharsan , frr 10.0.1 upgrade (PR#20269) is already in progress. Please wait for that to get merged.

@sudhanshukumar22 , @adyeung - FYI

@dgsudharsan
Copy link
Collaborator Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

--disable-zeromq \
--enable-ospfapi \
- --enable-bgp-vnc \
- --enable-multipath=256 \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the use case to have 512 ECMP paths from FRR.

Currently FRR uses uint8 for num paths.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fixed by FRR FRRouting/frr#16967. We will be taking this fix once FRR upgrade is done. We do have some specific use case scenarios where the number of nexthops might scale more than 256. So we are setting to 512 here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can refer to the topology here sonic-net/sonic-mgmt#15355

@dgsudharsan dgsudharsan marked this pull request as draft December 3, 2024 19:58
@dgsudharsan dgsudharsan marked this pull request as ready for review December 4, 2024 20:42
@dgsudharsan dgsudharsan changed the title [FRR]Setting multipath size to 512 and disabling bgp-vnc for optimization [FRR]Setting multipath size to 514 and disabling bgp-vnc for optimization Dec 5, 2024
@dgsudharsan
Copy link
Collaborator Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liat-grozovik liat-grozovik merged commit f43d350 into sonic-net:master Dec 5, 2024
22 checks passed
liat-grozovik pushed a commit that referenced this pull request Dec 5, 2024
- Why I did it
This PR follows #20744
Increasing the maximum-paths to 514. Currently value of 64 restricts the maximum paths that can created by BGP.

- How I did it
Updated constants file.

- How to verify it
Modified UT to verify.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants