soc: qcom: hab: increase OUT_LARGE_BUF_SIZE from 50k to 64k

The hab team recommends that the maximum message size that the
hab client can send is 64k. We increase the size of
OUT_LARGE_BUF_SIZE to 64K so that the memory pool can cover
all messages of the recommended size.

In non-stress scenarios, this helps to avoid jitter in the
performance of sending messages due to memory requests.

This change does not result in a large amount of additional
reserved memory, because OUT_LARGE_BUF_NUM is 10, and each
pchan group will only reserves (64k- 50k) * 10 = 140k more memory.

Change-Id: Ia26f408230e1121d6f927dd084f551cc64656e96
Signed-off-by: Zelong Ren <quic_zeloren@quicinc.com>
This commit is contained in:
Zelong Ren 2024-06-26 11:48:50 +08:00
parent 029712d054
commit f4ecfb8b83

View file

@ -66,7 +66,7 @@ struct vh_buf_header {
#define IN_BUF_SIZE 5120
#define OUT_SMALL_BUF_SIZE 512
#define OUT_MEDIUM_BUF_SIZE 5120
#define OUT_LARGE_BUF_SIZE 51200
#define OUT_LARGE_BUF_SIZE (64 * 1024)
#define IN_BUF_NUM 100 /*64*/
#define OUT_SMALL_BUF_NUM 200 /*64*/