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

Optimize counter initialization by reducing the number of bulk counter poll calls and communication between swss/sairedis #1527

Draft
wants to merge 29 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
9e6688b
Support bulk step 1: deserialize bulk but handle it in single mode
stephenxs May 27, 2024
5500c57
Support bulk add flex counter
Junchao-Mellanox May 27, 2024
cad8d0b
Fix compiling errors
stephenxs May 27, 2024
dbbe4fe
Compiling pass
stephenxs May 27, 2024
2cbfde9
bulk counter: syncd
stephenxs May 28, 2024
6b57401
Working solution
stephenxs May 28, 2024
5cc1fbe
Fix compiling errors
stephenxs Dec 13, 2024
a7aa9c1
Bulk counter init + bulk chunk size
stephenxs Dec 20, 2024
9d9a03c
Support addBulkStatsContext using vector
stephenxs Dec 22, 2024
57c420e
Support test for bulk counter init
stephenxs Dec 23, 2024
82e4db0
Optimize addBulkStatsContext
stephenxs Dec 24, 2024
3cf66a5
Insert entry with single OID as key into FLEX_COUNTER_DB
stephenxs Dec 24, 2024
19c0918
Cover bulk counter initialization
stephenxs Dec 24, 2024
ed6ea79
Remove non-used function queryObjectSupportedCounters
stephenxs Dec 24, 2024
0d5cc61
Remove unused code
stephenxs Dec 24, 2024
5c31a68
Minor changes
stephenxs Dec 31, 2024
1f0ffe2
Simplify the logic
stephenxs Jan 6, 2025
b58df83
Fix issue: fail to parse virtual ID vector which causes error message
stephenxs Jan 6, 2025
ef22684
Fix alignment
stephenxs Jan 6, 2025
78bce8e
Fix issue: check bulk with empty OID list and add unit test case
stephenxs Jan 8, 2025
ca061be
Update log severity before and after bulk counter polling to info
stephenxs Jan 9, 2025
373991b
Enhance unit test
stephenxs Jan 12, 2025
7f0a8fc
Handle corner case that partial counters are not supported to be poll…
stephenxs Jan 13, 2025
2d90bda
Enhance the unit test
stephenxs Jan 13, 2025
597d256
Add comments
stephenxs Dec 30, 2024
8583436
Move the syslog to avoid confusion
stephenxs Dec 31, 2024
67e41df
Do not check bulk capability if it is configured for counter groups w…
stephenxs Jan 25, 2025
11069a2
Fix spelling check error and tail white spaces
stephenxs Feb 9, 2025
d2a613b
Fix issue and simplify code
stephenxs Feb 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading