From: Yingxin Cheng Date: Thu, 11 Apr 2019 14:23:10 +0000 (+0800) Subject: crimson/net: increase out buffer to 65536 X-Git-Tag: v15.1.0~2798^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F27788%2Fhead;p=ceph.git crimson/net: increase out buffer to 65536 Signed-off-by: Yingxin Cheng --- diff --git a/src/crimson/net/Socket.h b/src/crimson/net/Socket.h index 5191a2b52071..a43a7f5a0bb2 100644 --- a/src/crimson/net/Socket.h +++ b/src/crimson/net/Socket.h @@ -35,7 +35,9 @@ class Socket : sid{seastar::engine().cpu_id()}, socket(std::move(_socket)), in(socket.input()), - out(socket.output()) {} + // the default buffer size 8192 is too small that may impact our write + // performance. see seastar::net::connected_socket::output() + out(socket.output(65536)) {} Socket(Socket&& o) = delete;