diff --git a/docs/tuning.html b/docs/tuning.html index aa1bf66b2..3366a9a8c 100644 --- a/docs/tuning.html +++ b/docs/tuning.html @@ -59,16 +59,17 @@
  • high performance seeding
  • -
  • benchmarking
    @@ -246,6 +247,18 @@ to true.

    session_settings::cache_expiry to a large number. This won't degrade anything as long as the client is only seeding, and not downloading any torrents.

    +
    +

    send buffer low watermark

    +

    libtorrent uses a low watermark for send buffers to determine when a new piece should +be requested from the disk I/O subsystem, to be appended to the send buffer. The low +watermark is determined based on the send rate of the socket. It needs to be large +enough to not draining the socket's send buffer before the disk operation completes.

    +

    The watermark is bound to a max value, to avoid buffer sizes growing out of control. +The default max send buffer size might not be enough to sustain very high upload rates, +and you might have to increase it. It's specified in bytes in +session_settings::send_buffer_watermark. The high_performance_seed() preset +sets this value to 5 MB.

    +

    peers

    First of all, in order to allow many connections, set the global connection limit