Diagnose why DTSCS replication is so slow
iameli opened this issue · 0 comments
iameli commented
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:
- 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
- Updating
mbedtls
to the latest (2.x) version did not help: #99 - Compiling with optimizations enabled did not help
- 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.