DDVTECH/mistserver

Diagnose why DTSCS replication is so slow

iameli opened this issue · 0 comments

Doing intercontinental replication, DTSCS is 3-4x slower than DTSC; ~15sec instead of ~4sec. It's not yet clear to me why. Things I've investigated so far:

  1. Doing a socat proxy local to the node doing the pulling speeds things up a bunch — from 13.67s to 6.16s. socat TCP4-LISTEN:81,fork,reuseaddr TCP4:84.17.50.98:24300
  2. Updating mbedtls to the latest (2.x) version did not help: #99
  3. Compiling with optimizations enabled did not help
  4. FTR: unencrypted replications were slow until I tweaked some sysctl settings:
net.ipv4.tcp_congestion_control=bbr
net.core.default_qdisc=fq

So... worth thinking about.