Explorar el Código

Reduce batch size to 1 - This seems to help with unary and streaming
benchmarks

Sree Kuchibhotla hace 8 años
padre
commit
196145206c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/core/lib/iomgr/ev_epoll1_linux.c

+ 1 - 1
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 */