gazelle/0251-change-send_ring_size-32-in-lstack-conf.patch
jiangheng 09c9fb947d sync change send_ring_size 32 in lstack conf
(cherry picked from commit 156820fb23ee51d8f25af0e3be4a1582b74eb436)
2023-06-15 15:50:26 +08:00

26 lines
714 B
Diff

From 8e11724484118e82a29fec768a0d601a613df705 Mon Sep 17 00:00:00 2001
From: jiangheng <jiangheng14@huawei.com>
Date: Mon, 5 Sep 2022 18:57:38 +0800
Subject: [PATCH] change send_ring_size 32 in lstack conf
---
src/lstack/lstack.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lstack/lstack.conf b/src/lstack/lstack.conf
index 81da10a..fa7e284 100644
--- a/src/lstack/lstack.conf
+++ b/src/lstack/lstack.conf
@@ -20,7 +20,7 @@ tcp_conn_count = 1500
mbuf_count_per_conn = 170
# send ring size, default is 32, max is 2048
-send_ring_size = 256
+send_ring_size = 32
# 0: when send ring full, send return
# 1: when send ring full, alloc mbuf from mempool to send data
--
2.27.0