From 7644025816492dd74ff7c5be2fa2eb5388b58d1a Mon Sep 17 00:00:00 2001 From: Yimin Jiang Date: Tue, 7 Jan 2020 10:46:01 +0800 Subject: [PATCH] rdma: reduce kStartDepth to 128 (#16) --- src/rdma_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rdma_utils.h b/src/rdma_utils.h index 5d40a8ec0..f087749cf 100644 --- a/src/rdma_utils.h +++ b/src/rdma_utils.h @@ -54,7 +54,7 @@ namespace ps { #define DIVUP(x, y) (((x)+(y)-1)/(y)) #define ROUNDUP(x, y) (DIVUP((x), (y))*(y)) -static const int kStartDepth = 1024; +static const int kStartDepth = 128; static const int kWriteDepth = kStartDepth; static const int kRxDepth = kStartDepth + kWriteDepth;