diff options
author | Sree Kuchibhotla <sreek@google.com> | 2017-08-25 17:10:10 -0700 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2017-08-25 17:10:10 -0700 |
commit | 196145206c4cea852548f04356a782db4c3850b9 (patch) | |
tree | 3b591d115752e3a4e22c2b4e26b5e444c3dce8e7 | |
parent | 0e909574584b44c6d6f12e7db182ddda9455a1dc (diff) |
Reduce batch size to 1 - This seems to help with unary and streaming
benchmarks
-rw-r--r-- | src/core/lib/iomgr/ev_epoll1_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/ev_epoll1_linux.c b/src/core/lib/iomgr/ev_epoll1_linux.c index 34d15dfc3b..8310b3c7a5 100644 --- a/src/core/lib/iomgr/ev_epoll1_linux.c +++ b/src/core/lib/iomgr/ev_epoll1_linux.c @@ -54,7 +54,7 @@ static grpc_wakeup_fd global_wakeup_fd; */ #define MAX_EPOLL_EVENTS 100 -#define MAX_EPOLL_EVENTS_HANDLED_PER_ITERATION 5 +#define MAX_EPOLL_EVENTS_HANDLED_PER_ITERATION 1 /* Note: Since fields in this struct are only modified by the designated poller, we do not need any locks to protect the struct */ |