SingaporeRep
Member
OP
Benchmark Addict
- Joined:
- Jul 2024
- Posts:
- 227
- From:
- Singapore, SG
Disk Speed:
Read : 412.34 MB/s
Write: 398.12 MB/s
Network Speed:
Provider | Location | Download | Upload | Latency
Contabo | Singapore | 89.2 | 42.1 | 234ms
OVHcloud | Frankfurt | 12.4 | 8.7 | 198ms
Vultr | Tokyo | 156.3 | 67.4 | 45ms
iperf3 UDP: 0% loss at 1Gbps, 23% loss at 10Gbps
Decent disk IO, meh network. But this thread isn't about that.
I inherited a setup at a client: VXLAN over UDP over TCP. Three layers where one should do. The TCP is wrapped in stunnel to a "gateway" box. I want to know who to blame before I tear it out.
- throughput: 180 Mbps on 10G hardware
- CPU: 40% spent in kernel, 30% in stunnel
- latency: added 12ms vs bare metal baseline
Someone explain why this exists so I know whether to preserve or nuke
fio, iperf, geekbench. results or gtfo.
uma
Member
99.99% or bust
- Joined:
- Jun 2024
- Posts:
- 324
- From:
- Dublin, IE
I've seen this pattern before—usually means someone needed "encryption" without understanding the layers. VXLAN: UDP/4789, standard overlay
UDP over TCP: head-of-line blocking, retransmission amplification
TCP in stunnel: +1 RTT for handshake, MSS clamping issues Uptime impact: your effective MTU is probably ~1350 after all headers. Fragmentation or PMTUD black holes explain the 23% UDP loss @SingaporeRep saw at 10Gbps. Status page consideration: this stack will fail catastrophically under congestion. Monitor retransmits, not just bandwidth. Alert fatigue warning: you'll get paged for "network slow" when it's actually serialization delay in stunnel.
436 days. reboot is surrender.
moebig
Member
RAID is not backup
- Joined:
- Jul 2024
- Posts:
- 115
- From:
- Casablanca, Morocco
Wesh @SingaporeRep
Le server حلو but le network تعبان. Incha'allah you find the person who did this.
I saw similar at a shop in Marseille: they had UDP-in-TCP because le firewall "enterprise" only allowed 80/443. Then they added VXLAN because "micro-segmentation" buzzword. Then stunnel because "compliance" required encryption. Each decision made alone, disaster together.
Code-switching is easier than this stack. Good luck.
RAID 1: because paranoia pays
hankels
Member
52 VPS and counting
- Joined:
- Jun 2024
- Posts:
- 301
- From:
- Phoenix, US
Let me cost this out:
- 1 gateway box just for stunnel: €6/GB RAM at Hetzner, so €24/month for 4GB
- CPU burn: equivalent to 0.8 cores per tunnel end, so $18/month in "virtualization tax" if you count opportunity cost
- Throughput loss: 180 Mbps vs 10Gbps = 98% waste, or $0.00/GB effective because you're capped by stupidity
Compare: WireGuard on same hardware, 8 Gbps achieved, $0 extra.
Nuke it. I have configs from 2019 I should also delete
seedbox, NAS, tape, and three offsite