Foxing: High-Fidelity Filesystem Replication
Foxing is a high-performance filesystem replication system with two components:
fxcp — Standalone smart copy tool. Drop-in replacement for rsync / cp with auto-adaptive CoW/reflink, io_uring, and BLAKE3 Merkle delta detection. No BPF or root required.
— Standalone smart copy tool. Drop-in replacement for / with auto-adaptive CoW/reflink, io_uring, and BLAKE3 Merkle delta detection. No BPF or root required. foxingd — eBPF-powered replication daemon for continuous, event-driven mirroring with sub-millisecond latency.
Performance
fxcp vs rsync vs cp (btrfs-over-LUKS2, NVMe)
Workload rsync cp fxcp fxcp vs rsync 10K small files (4KB each) 607ms 424ms 607ms parity 10 large files (100MB each) 1236ms 4ms 23ms 54x faster Mixed (5K files, 2.1GB) 3998ms 239ms 383ms 10x faster Sparse files (10x50MB) 764ms 3ms 21ms 36x faster
NFS 4.2 Performance (XFS NVMe → NFS HDD)
Workload rsync fxcp fxcp vs rsync 5000 tiny files 12.8s 11.5s 1.11x faster NFS→NFS 100MB (same server) 297ms 82ms 3.62x faster 100MB throughput 322ms 386ms 0.83x (259 MB/s)
foxingd Daemon Latency (BPF event-driven)
... continue reading