danfra
Member
OP
- Joined:
- Jun 2024
- Posts:
- 159
- From:
- Frankfurt, DE
ethtool -S eth0 | grep -i "reset\|error"
Rx_errors: 0
Tx_errors: 0
Rx_over_errors: 0
Rx_crc_errors: 0
Align_errors: 0
Tx_abort_late_coll: 0
Tx_deferred_ok: 0
Tx_single_coll_ok: 0
Tx_multi_coll_ok: 0
Tx_timeout_count: 0
Rx_length_errors: 0
Rx_long_length_errors: 0
Rx_short_length_errors: 0
Rx_csum_offload_errors: 0
Rx_flow_control_xon: 0
Rx_flow_control_xoff: 0
Tx_flow_control_xon: 0
Tx_flow_control_xoff: 0
Rx_xdp_redirect: 0
Rx_xdp_drop: 0
Rx_xdp_tx_errors: 0
Tx_xdp_xmit_errors: 0
No resets, no errors. Clean card.
MRTG has been running 48 hours now. Comparing to vnstat for same period: MRTG shows 847.3 GB out, vnstat shows 849.1 GB. Within 0.2%. The Pi mirror is working, the TP-Link didn't drop anything significant.
So my measurement is consistent. Contabo's number for same 48 hours from their CSV: 1,187 GB. That's 40% high.
I'm writing the formal dispute now.
mitigated 800Gbps before breakfast
SingaporeRep
Member
Benchmark Addict
- Joined:
- Jul 2024
- Posts:
- 227
- From:
- Singapore, SG
Benchmark Addict If it boots, I benchmark it. Numbers over vibes.
0.2% vs 40%. That's not a vibe, that's a bug.
I ran a quick check: if their system uses 32-bit intermediate for rate calculation, and your 48-hour window had any 5-minute interval over 4GB (which at 1G is only ~34 seconds of line rate), the wrap would silently lose 4GB per overflow. Over 48 hours with variable traffic, easy to accumulate 40% phantom data.
Your MRTG at 60s would be less vulnerable, but still possible. The real fix is 64-bit throughout, which they claim to have at the SNMP layer but maybe not downstream.
I benchmarked this once: wrote a program to simulate 32-bit vs 64-bit counter aggregation with real pcap data. 32-bit intermediate lost 12-60% depending on burstiness. Bursty traffic = more wrap events = more error.
Contabo traffic is probably bursty. Your usage pattern?
fio, iperf, geekbench. results or gtfo.
danfra
Member
OP
- Joined:
- Jun 2024
- Posts:
- 159
- From:
- Frankfurt, DE
Web server with video content, so yes: bursty. Peaks during EU evening, quiet overnight. Exactly the pattern that would trigger 32-bit intermediate overflow repeatedly.
I checked their CSV more carefully. The negative deltas aren't random, they cluster around the evening peaks. My hypothesis: high traffic interval, 32-bit intermediate wraps, their "accounting" sees a negative, applies some broken correction (maybe absolute value, maybe drop and interpolate), and the result is inflated.
I'm going to test this. I'll write a script that simulates their 300s aggregation with 32-bit intermediate on my MRTG 60s data, see if I can reproduce ~40% inflation.
If I can reproduce it, that's proof it's their bug not my measurement.
mitigated 800Gbps before breakfast