Disable the minimum size of a network packet to be sent
This commit is contained in:
parent
b4b50cc48a
commit
7580c682f6
|
@ -106,6 +106,9 @@ namespace tcp {
|
||||||
if (_done) {
|
if (_done) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// This forces not using Nagle's algorithm.
|
||||||
|
// Improves the sync mode velocity on Linux by a factor of ~3.
|
||||||
|
_socket.set_option(boost::asio::ip::tcp::no_delay(true));
|
||||||
log_debug("streaming client: connected to", ep);
|
log_debug("streaming client: connected to", ep);
|
||||||
// Send the stream id to subscribe to the stream.
|
// Send the stream id to subscribe to the stream.
|
||||||
const auto &stream_id = _token.get_stream_id();
|
const auto &stream_id = _token.get_stream_id();
|
||||||
|
|
|
@ -195,7 +195,7 @@ unset BOOST_BASENAME
|
||||||
# -- Get rpclib and compile it with libc++ and libstdc++ -----------------------
|
# -- Get rpclib and compile it with libc++ and libstdc++ -----------------------
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
RPCLIB_PATCH=v2.2.1_c3
|
RPCLIB_PATCH=v2.2.1_c5
|
||||||
RPCLIB_BASENAME=rpclib-${RPCLIB_PATCH}-${CXX_TAG}
|
RPCLIB_BASENAME=rpclib-${RPCLIB_PATCH}-${CXX_TAG}
|
||||||
|
|
||||||
RPCLIB_LIBCXX_INCLUDE=${PWD}/${RPCLIB_BASENAME}-libcxx-install/include
|
RPCLIB_LIBCXX_INCLUDE=${PWD}/${RPCLIB_BASENAME}-libcxx-install/include
|
||||||
|
|
|
@ -36,7 +36,7 @@ rem If not set set the build dir to the current dir
|
||||||
if "%BUILD_DIR%" == "" set BUILD_DIR=%~dp0
|
if "%BUILD_DIR%" == "" set BUILD_DIR=%~dp0
|
||||||
if not "%BUILD_DIR:~-1%"=="\" set BUILD_DIR=%BUILD_DIR%\
|
if not "%BUILD_DIR:~-1%"=="\" set BUILD_DIR=%BUILD_DIR%\
|
||||||
|
|
||||||
set RPC_VERSION=v2.2.1_c3
|
set RPC_VERSION=v2.2.1_c5
|
||||||
set RPC_SRC=rpclib-src
|
set RPC_SRC=rpclib-src
|
||||||
set RPC_SRC_DIR=%BUILD_DIR%%RPC_SRC%\
|
set RPC_SRC_DIR=%BUILD_DIR%%RPC_SRC%\
|
||||||
set RPC_INSTALL=rpclib-install
|
set RPC_INSTALL=rpclib-install
|
||||||
|
|
Loading…
Reference in New Issue