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

FE; monitor BIRD route statistics #460

Merged
merged 1 commit into from
Oct 4, 2023
Merged

FE; monitor BIRD route statistics #460

merged 1 commit into from
Oct 4, 2023

Conversation

zolug
Copy link
Collaborator

@zolug zolug commented Oct 1, 2023

Description

Monitor BIRD route statistics.
BGP functionality in FE also accepts non-default routes, but a huge set of routing entries could have a negative effect on the system (e.g., increased memory usage).

As part of connectivity monitoring, print number of routes hosted by the default BIRD routing tables (master4/master6), and log memory usage. (Routing stats are polled every second.)
Note: BIRD seems to block route related queries via the CLI during reconfiguration and during processing routes.

Based on some basic tests on Kind:
100.000 IPv4 routes increases BIRD's memory consumption by 10MB.
Announcing the same set of routes via a second gateway (multipath routing) adds roughly 50-60%.
Pushing 2*100.000 IPv4 routes from one remote BGP peer (running BIRD) took a bit more than 2 seconds.

Issue link

#453

Checklist

  • Purpose
    • Bug fix
    • New functionality
    • Documentation
    • Refactoring
    • CI
  • Test
    • Unit test
    • E2E Test
    • Tested manually
  • Introduce a breaking change
    • Yes (description required)
    • No

@zolug zolug merged commit b42aad1 into master Oct 4, 2023
@zolug zolug deleted the route-check branch November 6, 2023 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants