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 512 and disabling bgp-vnc for optimization #20744

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants