ParaSync: Exploiting Fine-Grained Parallelism for Efficient File Synchronization
Zhihao Zhang, Lu Tang, Huiba Li, Yue Yu, Guangtao Xue, Jiwu Shu, Yiming Zhang
Abstract
File synchronization (sync) based on Content-Defined Chunking (CDC) is gaining increasing importance for data migration over networks owing to its effectiveness in detecting and eliminating duplicate data within synchronized files. CDC-based sync schemes typically comprise three phases: file chunking, chunk matching, and delta reconstruction. Unfortunately, existing sync schemes fail to exploit parallelism inherent in these phases due to two dependencies: a sequential bottleneck in chunking, where checksums are computed only after boundaries are finalized, and rigid client-server stalls that serialize matching and reconstruction.
This paper presents ParaSync, a novel CDC-based file sync scheme that breaks these dependencies to exploit finegrained parallelism. First, ParaSync's multi-threaded chunking algorithm reduces checksum computation to a lightweight combination step, decoupling it from boundary identification while preserving invariability. Second, ParaSync designs a streaming chunk matching method that removes the all-ornothing exchange dependency on both the client and the server sides. Finally, ParaSync introduces an efficient absolute-offsetbased pipelined delta reconstruction process that maximizes the overlap between network and disk I/O operations. We have done extensive experiments over both WANs and LANs using diverse real-world datasets. The results show that compared to the state-of-the-art file sync schemes, ParaSync achieves up to 7.6× speedup for file chunking and significantly improves the overall sync performance by up to 3.7×, while maintaining a consistent level of network traffic.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext ab52ee6e-78c6-4519-be32-67c4de27db82Builds on11
- Skyplane: Optimizing Transfer Cost and Throughput Using Cloud-Aware OverlaysParas Jain, Sam Kumar, Sarah Wooders, Shishir G. Patil et al.NSDI 2023 · 66 citations
- InfiniFS: An Efficient Metadata Service for Large-Scale Distributed FilesystemsWenhao Lv, Youyou Lu, Yiming Zhang, Peile Duan et al.FAST 2022 · 52 citations
- Host Congestion ControlSaksham Agarwal, Arvind Krishnamurthy, Rachit AgarwalSIGCOMM 2023 · 47 citations
- Nap: A Black-Box Approach to NUMA-Aware Persistent Memory IndexesQing Wang, Youyou Lu, Junru Li, Jiwu ShuOSDI 2021 · 46 citations
- Revisiting Congestion Control for Lossless EthernetYiran Zhang, Qingkai Meng, Chaolei Hu, Fengyuan RenNSDI 2024 · 34 citations
Related papers
- SkySync: Accelerating File Synchronization with Collaborative Delta GenerationZhihao Zhang, Huiba Li, Lu Tang, Guangtao Xue et al.FAST 2026
- pFSCK: Accelerating File System Checking and Repair for Modern StorageDavid Domingo, Sudarsun KannanFAST 2021 · 10 citations
- Finding Critical Files from a PacketJunNyung Hur, Hahoon Jeon, Hyeon Gy Shon, Young Jae Kim et al.INFOCOM 2021 · 1 citation
- CoRD: Combining Raid and Delta for Fast Partial Updates in Erasure-Coded Storage ClustersHai Zhou, Dan Feng, Yuchong Hu, Wei Wang et al.SC 2024 · 3 citations
- DeltaFS: a scalable no-ground-truth filesystem for massively-parallel computingQing Zheng, Charles D. Cranor, Gregory R. Ganger, Garth A. Gibson et al.SC 2021 · 5 citations
