expand thread rpc msg pool size
(cherry picked from commit 07e022000158492dc204b7d203d110fcb1560b85)
This commit is contained in:
parent
7d1456aee5
commit
39d8cb9a2f
25
0085-expand-thread-rpc-msg-pool-size.patch
Normal file
25
0085-expand-thread-rpc-msg-pool-size.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 6c88041590ef9f79e85a243fa905267898f3ab98 Mon Sep 17 00:00:00 2001
|
||||
From: wu-changsheng <wuchangsheng2@huawei.com>
|
||||
Date: Mon, 5 Sep 2022 16:54:55 +0800
|
||||
Subject: [PATCH] expand thread rpc msg pool size
|
||||
|
||||
---
|
||||
src/lstack/core/lstack_thread_rpc.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/lstack/core/lstack_thread_rpc.c b/src/lstack/core/lstack_thread_rpc.c
|
||||
index a6e9725..c9fc4e9 100644
|
||||
--- a/src/lstack/core/lstack_thread_rpc.c
|
||||
+++ b/src/lstack/core/lstack_thread_rpc.c
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "lstack_dpdk.h"
|
||||
#include "lstack_thread_rpc.h"
|
||||
|
||||
-#define RPC_MSG_MAX 32
|
||||
+#define RPC_MSG_MAX 512
|
||||
#define RPC_MSG_MASK (RPC_MSG_MAX - 1)
|
||||
struct rpc_msg_pool {
|
||||
struct rpc_msg msgs[RPC_MSG_MAX];
|
||||
--
|
||||
2.23.0
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
Name: gazelle
|
||||
Version: 1.0.1
|
||||
Release: 14
|
||||
Release: 15
|
||||
Summary: gazelle is a high performance user-mode stack
|
||||
License: MulanPSL-2.0
|
||||
URL: https://gitee.com/openeuler/gazelle
|
||||
@ -99,6 +99,7 @@ Patch9081: 0081-read-data-with-err-event.patch
|
||||
Patch9082: 0082-del-gazelle-ring-cons.tail-atomic-protect.patch
|
||||
Patch9083: 0083-fix-send-return-vale.patch
|
||||
Patch9084: 0084-add-examples.patch
|
||||
Patch9085: 0085-expand-thread-rpc-msg-pool-size.patch
|
||||
|
||||
%description
|
||||
%{name} is a high performance user-mode stack.
|
||||
@ -139,6 +140,9 @@ install -Dpm 0640 %{_builddir}/%{name}-%{version}/src/ltran/ltran.conf %{b
|
||||
%config(noreplace) %{conf_path}/ltran.conf
|
||||
|
||||
%changelog
|
||||
* Mon Sep 05 2022 wuchangsheng <wuchangsheng2@huawei.com> - 1.0.1-15
|
||||
- expand rpc msg pool size
|
||||
|
||||
* Mon Sep 05 2022 wuchangsheng <wuchangsheng2@huawei.com> - 1.0.1-14
|
||||
- backport bugfix and doc
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user