-
Notifications
You must be signed in to change notification settings - Fork 681
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
[config] Reduce Calls to SONiC Cfggen #1052
[config] Reduce Calls to SONiC Cfggen #1052
Conversation
Will remove commit from the other branch. |
129fe94
to
c7f2d5c
Compare
Which commit and which branch are you referring to? |
I branched off another branch and so there commit that is not in master nor part of this particular PR. Removed those now. Sorry about this inconvenience. |
Calls to sonic-cfggen is CPU expensive. This PR reduces calls to sonic-cfggen during config-setup when configuring buffer/qos. singed-off-by: Tamer Ahmed <[email protected]>
c7f2d5c
to
c8d6ba5
Compare
@tahmed-dev: FYI, "retest default please" will not work. If there is only one test named "default", you must use "retest this please". |
5adf6f7
to
b30d9ef
Compare
Calls to sonic-cfggen is CPU expensive. This PR reduces calls to
sonic-cfggen during config-setup when configuring buffer/qos.
singed-off-by: Tamer Ahmed [email protected]
- What I did
Reduce time required to start config-setup service
- How I did it
Used template batch mode to batch together 4 calls into one call to sonic-cfggen
- How to verify it
flame graph showed gain of ~1.5% sonic-cfggen CPU util.
- Previous command output (if the output of a command-line utility has changed)
N/A
- New command output (if the output of a command-line utility has changed)
N/A