Verified Commit 71eeea8a authored by Marc Vef's avatar Marc Vef
Browse files

Optimization: Lowering RPC xstreams to 4

8 xstreams is not necessary. might even be lowered to 2 eventually. Further, using 8 xstreams decreased io performance on psm2 severely
parent 5e9f5e31
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ constexpr auto dirents_buff_size = (8 * 1024 * 1024); // 8 mega
 */
constexpr auto daemon_io_xstreams = 8;
// Number of threads used for RPC handlers at the daemon
constexpr auto daemon_handler_xstreams = 8;
constexpr auto daemon_handler_xstreams = 4;
} // namespace rpc

namespace rocksdb {