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>
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>