Commit Graph

3 Commits

Author SHA1 Message Date
taptap 7f7c06eaa4 Fix: Restore compare_rsync.sh from corrupted merge, add benchmark_network.sh
- Fix compare_rsync.sh: Remove merge conflict markers from commit 43701a4
  and properly integrate LAN/WAN latency simulation (--lan, --wan presets)
- Add benchmark_network.sh: New dedicated network condition benchmark with:
  - LAN scenario (10ms RTT)
  - WAN scenario (100ms RTT)
  - WAN with packet loss (1%, 5%, 10%)
  - WAN with jitter (100ms +/-50ms)
  - Custom latency support
  - Tests connection counts 1, 2, 4, 8, 16 under each scenario
  - ASCII bar chart visualization
  - Identifies best connection count per scenario

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-06-24 13:23:23 +02:00
Theo Tappe 43701a44e6 Feat: Add LAN/WAN simulation to compare_rsync.sh
Added latency simulation support to compare_rsync.sh with:
- Direct latency value: ./compare_rsync.sh 100 1 20 (20ms RTT)
- Preset profiles: ./compare_rsync.sh 100 1 --lan (10ms) or --wan (100ms)
- tc netem integration for network delay simulation
- Clean display of network condition in output

This brings compare_rsync.sh in line with benchmark.sh and
benchmark_comprehensive.sh which already supported latency simulation.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-06-24 12:49:28 +02:00
Theo Tappe bacb61f6ec Fix: Add missing checksum field to file_meta_t and file_task_t structs
The file_meta_t and file_task_t structs were missing the checksum field
that was being used in both client and server code, causing a compilation
error. Added uint64_t checksum to both structs and updated wq_push
declaration to match implementation.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-06-24 12:40:23 +02:00