config agent: reduce full config check frequency from 5s to 1m and compare hashes instead#3028
Open
config agent: reduce full config check frequency from 5s to 1m and compare hashes instead#3028
Conversation
6fa1ee4 to
2ab7f72
Compare
Contributor
Author
|
Here's a before and after comparison of total CPU usage by Arista EOS ConfigAgent when running all tests in parallel. Before change: After change: Note that the peak usage is about the same, but the steady state usage (after all tests have run and the config agents are just polling) is reduced from about 400% (consuming 4 cores) to about 200% (consuming 2 cores) across 29 EOS containers. |
b80e2f9 to
c8454d9
Compare
packethog
requested changes
Feb 27, 2026
c8454d9 to
ab051f9
Compare
e939e25 to
3d6caec
Compare
3d6caec to
89aa601
Compare
91d1675 to
10b7bbf
Compare
#3026) The agent now fetches the full config every 5 seconds but only applies it to the EOS device when the content has changed (using local SHA256 hash computation) or after a 60-second timeout. This reduces CPU usage on Arista EOS devices by avoiding unnecessary config applications while maintaining responsiveness to config changes.
10b7bbf to
69b9539
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Controller
Agent
Testing Verification