commit 860f56196cf3d4a17eda7f2a94848f0b9ccb5182
Author: Praveen K V <email address hidden>
Date: Tue Sep 22 16:41:26 2015 +0530
Use variable sized buffer for KSync Encode
The old code was using 4K buffer for Sandesh Encode and KSync write
operations. However, most of the messages are much smaller.
The encoded message buffers are enqueued into async_send_queue_. In
scaled setups, the size of work-queue can grow large resulting in lots
of unused memory.
Modifying KSync to use 512bytes buffer by default. Only NH will use 4K
buffer to take care of large composite-NH.
Reviewed: https:/ /review. opencontrail. org/13975 github. org/Juniper/ contrail- controller/ commit/ 860f56196cf3d4a 17eda7f2a94848f 0b9ccb5182
Committed: http://
Submitter: Zuul
Branch: R2.22-dev
commit 860f56196cf3d4a 17eda7f2a94848f 0b9ccb5182
Author: Praveen K V <email address hidden>
Date: Tue Sep 22 16:41:26 2015 +0530
Use variable sized buffer for KSync Encode
The old code was using 4K buffer for Sandesh Encode and KSync write
operations. However, most of the messages are much smaller.
The encoded message buffers are enqueued into async_send_queue_. In
scaled setups, the size of work-queue can grow large resulting in lots
of unused memory.
Modifying KSync to use 512bytes buffer by default. Only NH will use 4K
buffer to take care of large composite-NH.
Change-Id: I27408e6e96f8de a86056fb1760e47 04851c4d4ae
Partial-Bug: #1479295