Skip to content

[RouteOrch] fix performance regression in ResponsePublisher#4079

Closed
stepanblyschak wants to merge 3 commits intosonic-net:masterfrom
stepanblyschak:fix-routeorch-resp
Closed

[RouteOrch] fix performance regression in ResponsePublisher#4079
stepanblyschak wants to merge 3 commits intosonic-net:masterfrom
stepanblyschak:fix-routeorch-resp

Conversation

@stepanblyschak
Copy link
Contributor

What I did

  • Fix performance regression caused by New p4orch development changes #3066 : setBuffered wasn't using Redis pipeline correctly.
  • Add a flag to directly write attributes passed by the caller of publish API avoiding Redis HGET which breaks Redis pipeline.

Why I did it

Fix performance degradation observed in BGP suppress test.

How I verified it

  • t1-lag BGP route test. Starting BGP sessions config bgp startup all and profile.
  • BGP suppress FIB sonic-mgmt test

Without this change:

image

With this change:

image

Details if related

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@stepanblyschak
Copy link
Contributor Author

@dgsudharsan to take over this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants