-
Notifications
You must be signed in to change notification settings - Fork 338
[lib] Make ZMQ buffer size adjustable and set it to 4MB by default #1697
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
Conversation
Update zmq response buffers to be adjustable, also decrease the size of response buffers outside of syncd Signed-off-by: Connor Roos <croos@nvidia.com>
Adds 64MB buffer size constants to RedisRemoteSaiInterface and syncd Signed-off-by: Connor Roos <croos@nvidia.com>
Signed-off-by: Connor Roos <croos@nvidia.com>
|
/azp run |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azpw run |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azpw run |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azpw run |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@prabhataravind this is another PR for 202511 this time to reduce memory consumption, especially in orchagent |
|
@lolyu , could you please help to review? |
|
@lolyu the issue with setting the buffer to 64 MB is that not every service needs 64MB. This doubles the steady-state memory consumption of orchagent (which does not need that much memory) |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Connor Roos <croos@nvidia.com>
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azpw run |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@lolyu Kindly reminding on this review request. |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
lolyu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Adds zmqResponseBufferSize variables to ZeroMQ Channel classes to reduce the size of ZeroMQ Servers in memory. Only ServerSai <-> Syncd channel will use 64 MB ZMQ Buffer. All other buffers reduced back to 4 MB to be the same as before commit 8123a9820cc330675147b5a99cfd81ea8df39271