Manuscript Offprint
arXiv:2610.13704Benchmarking Content-Defined Chunking Algorithms for Data Deduplication
Marcel Gregoriadis , Leonhard Balduf , Björn Scheuermann , Johan Pouwelse
Delft University of Technology, Delft, The Netherlands
Technical University of Darmstadt, Darmstadt, Germany
m.gregoriadis@tudelft.nl, leonhard.balduf@tu-darmstadt.de, scheuermann@tu-darmstadt.de, j.a.pouwelse@tudelft.nl
Abstract—Data deduplication relies on content-defined chunking (CDC) algorithms to decide where data is split. We observe that most CDC algorithms are modular: a base chunking algorithm fixes the byte-level cut-point condition, while high-level techniques (size normalization, min/max thresholds, caching) layer on top. Existing benchmarks conflate the two, obscuring which design choices actually drive performance. We isolate and evaluate eight state-of-the-art base chunking algorithms across four realistic workloads and four metrics: throughput, deduplication ratio, mean chunk size, and chunk-size variance. Further, we derive new formulas relating algorithm parameters to expected chunk size for AE, RAM, and MII. In doing so, we uncover a longstanding error in the widely-used AE parameterization reproduced across multiple papers and evaluation tools that produces chunks 13–39 % smaller than intended and inflates AE's reported deduplication. Across our evaluation, AE is the most balanced base chunking algorithm across all four metrics, RAM's similarity to AE does not carry over to low-entropy data, and MII and PCI show limited advantages over simpler alternatives in storage-oriented workloads. We release all implementations, datasets, and analysis scripts as open source.
Index Terms—content-defined chunking, deduplication, storage systems, distributed systems
I. INTRODUCTION
Generative AI is driving rapid data growth and increasing the pressure on storage capacity and network bandwidth. IDC projects global data generation to double between 2025 and 2029, reaching 527 zettabytes annually [1]. Yet across the global datasphere most stored data is redundant, with IDC estimating the ratio of unique to replicated data at roughly 1:9 [2]. This redundancy is highest in backup and archival workloads, including near-identical VM images, container layers, snapshots, and database backups [3], where successive versions overlap heavily. Chunk-based data deduplication [4]–[6] makes retaining and synchronizing this history affordable. Large-scale studies of Microsoft [7], [8] and EMC [9] report space savings of up to 83%. Data deduplication has been studied directly in database and primary-storage settings, including online database deduplication and inline deduplication for primary storage [10], [11]. At the core of chunk-based storage deduplication sits a chunking algorithm that partitions an incoming byte stream into chunks for redundancy detection.

TTTD [22]
FastCDC [14]
QuickCDC [16]
Fig. 1: Most modern chunking algorithms can be decomposed into modular building blocks.
While partitioning data into fixed-size chunks is simple and efficient, modern deduplication systems employ content-defined chunking (CDC) algorithms that place boundaries based on a chunk's content rather than its size. CDC improves resilience to byte insertions and deletions, thereby increasing the amount of redundant content that can be identified [4], [8]. The choice of the chunking algorithm directly governs both how much redundancy is exposed and how fast data can be ingested. Over the years, numerous chunking algorithms have been proposed, claiming higher throughput [12]–[16], improved deduplication ratios [17]–[19], and lower chunk-size variance [20]–[22].
We find that many proposed chunking algorithms are compositions of interchangeable techniques. Based on this observation, we advocate a modular view of chunking algorithms, distinguishing between base chunking algorithms (e.g., Rabin [4] and Gear [23]) and composite algorithms (e.g., TTTD [22] and FastCDC [20]), which augment base chunking algorithms with higher-level optimizations. Figure 1 illustrates three pervasive chunking algorithms and their decompositions. This perspective reveals that many composite algorithms are evaluated only in combination with a specific base chunking algorithm, despite being compatible with a broader range of alternatives. Consequently, identifying the strongest base chunking algorithm becomes a fundamental question. Yet the state of the art remains unclear. Existing studies often conflate the effects of high-level techniques and base chunking algorithms rather than evaluating them independently [13], [15], [24], [25]. For example, TTTD is frequently benchmarked using Rabin [13], [26], while newer composite algorithms such as RapidCDC [27], UltraCDC [28], and SuperCDC [29] largely recombine existing techniques in different ways. As a result, current benchmarks provide limited
The popular benchmark tool DedupBench has since corrected it following our report.

Fig. 2: Overview of data deduplication process.
insight into the relative merits of the underlying base chunking algorithms. The problem is further exacerbated by inconsistent evaluation methodologies. Existing benchmarks are typically conducted on different datasets and with custom metrics [15], [21], [23], [30], [31]. Moreover, several algorithms lack a principled method for selecting parameters that achieve a desired target chunk size, precluding fair comparisons based on deduplication efficiency, since smaller chunks generally yield higher deduplication ratios. For instance, we uncover a longstanding parametrization error in AE [21] that caused chunks to be 13–39 % smaller than the configured target size, artificially inflating reported deduplication ratios.
In this paper, we conduct a rigorous analysis and benchmark of representative base chunking algorithms. Our goal is to determine which byte-level cut-point rules remain effective once high-level techniques are stripped away and algorithm settings are selected for common configured targets on uniformly random data before being evaluated unchanged on realistic workloads. Specifically, this paper makes the following contributions:
• We release a new benchmark framework that supports modular CDC evaluations by separating base chunking algorithms from high-level techniques.
• We benchmark eight representative base chunking algorithms—Rabin [8], Buzhash [32], Gear [23], AE [21], RAM [15], MII [30], PCI [31], and SeqCDC [13]—on four realistic workloads (Table II), measuring throughput, average chunk size, chunk-size variance, and deduplication ratio.
• We derive parameter rules for common target chunk sizes, including formulas for AE, RAM, and MII, and assess their calibration on uniformly random data, distinguishing configured targets from empirical means.

Fig. 3: Boundary-shift problem.
A. Hash-Based CDC
The earliest CDC algorithms used a sliding window of size w over a file and a hash function to determine chunk boundaries. The hash of each iteration of the sliding window is compared against a bitmask to determine new chunk boundaries. For efficiency this is done using rolling hash functions, such as Rabin [33]–[35], Buzhash [32], or Gear [23]. We refer to this approach generally as Basic Sliding Window (BSW), illustrated in Figure 4. Hash-based CDC yields higher deduplication ratios than FSC, but is criticized for low throughput and high chunk-size variance. Efficient rolling hashes such as Gear [23] mitigate the former, while the latter remains intrinsic to hash-based CDC.

Fig. 4: Window sliding over a file byte-by-byte. At every offset, the fingerprint generated from the current window is matched against a bitmask.
B. Chunk-Size Variance
High chunk-size variance gives rise to the issue of pathological, i.e. very large or very small, chunk sizes [22]. Very large chunks can be the product of a recurring pattern in the byte sequence that fails to meet the criteria for setting a cut-point [36]. Large chunks are less likely to be duplicates and more likely to be affected by modifications, increasing the number of bytes that must be stored again [22]. Pathologically small chunks are undesirable as well because they produce more overhead due to additional metadata, processing, and, in distributed settings, additional round-trip times. In some use cases, high chunk-size variance is not a critical concern. For example, with MII [30] and PCI [31], Zhang et al. focus on the application of CDC for incremental file synchronization (e.g., with rsync [37]). This use case does not consider data reduction within long-term storage systems but instead a transaction of file synchronization between two machines. This relaxes the constraint on low chunk-size variance, as the overhead from excessively large or small chunks does not accumulate over multiple revisions of the dataset.
C. Hashless CDC
High chunk-size variance and low throughput led to the development of other approaches. MAXP [38] and LMC [39] were the first CDC algorithms to determine chunk boundaries based on local extrema in the data stream. As an illustrative example, Figure 5 presents AE [40], a representative hashless CDC algorithm. By using byte comparisons rather than hash functions, these algorithms claim to achieve higher throughput than hash-based algorithms. Furthermore, they are attributed with a significantly lower chunk-size variance [39], [40]. Modern adaptations of this technique can be found in AE [40] and RAM [15]. Alternative hashless CDC algorithms exist: PCI [31] compares the popcount of a sliding window to a threshold in order to determine chunk boundaries.

Fig. 5: Illustration of the AE chunking algorithm on a sequence of 27 bytes and a horizon . The vertical red lines mark the cut points.
D. High-Level Techniques
Parallel to improvements in the basic chunking mechanism, researchers have proposed high-level methods to increase chunking throughput, lower chunk-size variance, or enhance the deduplication ratio. Often (e.g., with FastCDC [20] and QuickCDC [16]), proposed algorithms are a combination of several high-level techniques. Table I summarizes their compatibility with base algorithms beyond those used in the original papers.
Chunking Throughput: A popular strategy for increasing chunking throughput and lowering chunk-size variance at the same time is the enforcement of minimum and maximum chunk sizes [13], [15], [20]. This ensures that chunk sizes remain within a desirable range and allows implementations to skip computation for the minimum chunk length within each new chunk. While effective at improving those two metrics, it contradicts the very idea of CDC: to set chunk boundaries based on content, not position. Inevitably, this technique trades off deduplication efficiency [8], [20], [40]. More sophisticated techniques include, e.g., a caching layer [16], [27] or normalization of the chunk-size distribution [20], [28], [29] to allow for skipping with no or negligible impact on deduplication ratio. Other efforts have explored parallelization by exploiting properties of modern hardware [12], [24], [42], [43].
Chunk-Size Variance: Hash-based chunking algorithms suffer from a highly skewed chunk size distribution [20], [21], [46]. A common approach to achieve a more uniform chunk-size distribution while minimizing the impact on deduplication ratio is the use of multiple threshold bitmasks. Multiple thresholds enable dynamic adjustments to the probability of satisfying the chunking condition, increasing or decreasing it as needed. Most notable are the algorithms in TTTD [22] and Regression Chunking (RC) [8]. Similar algorithms have later been proposed under the label of Normalized Chunking (NC) [20], [28], [29]. Furthermore, a popular technique for eliminating pathologically small chunks involves merging adjacent chunks [12], [22], [42]. Similarly, pathologically large chunks can be eliminated by rechunking them with a more relaxed chunking condition.
Deduplication Ratio: Rechunking large chunks also positively affects the number of redundant chunks that are detected in a dataset. Different variations of this technique have been formalized, e.g., within FBC [18] and Bimodal chunking [17], among other approaches [19], [44], [45].
III. METHODOLOGY
We benchmark eight representative CDC algorithms—Rabin, Buzhash, Gear, AE, RAM, MII, PCI, and SeqCDC—in a standardized environment, measuring throughput, chunk-size distribution, and deduplication ratio across target chunk sizes from 512 B to 8 KiB. We isolate algorithmic performance from factors not inherent to the chunking algorithms themselves: deployed systems often combine a base algorithm with size thresholds, normalization, caching, skipping, and fingerprinting, which obscure which cut-point rule causes the measured effect. We therefore tune every algorithm to the same target chunk sizes on uniformly random data—analytically where possible and by simulation otherwise—freeze those settings, and then evaluate them unchanged on all realistic datasets. We discuss the implications of this choice in Section VIII.
We run our benchmarks on a machine with an Intel Xeon Gold 6154 CPU at 3.00 GHz and 378 GB of mem-
TABLE I: Compatibility matrix between base chunking algorithms and high-level techniques.
| Base Algorithm | High-Level Techniques | Chunk-Size Variance | Deduplication | ||||||
|---|---|---|---|---|---|---|---|---|---|
| JC [41] | SIMD [12] | MUCH [42] | VectorCDC [24] | GPU [43] | Caching [16], [27] | Multiple Thresholds [8], [20], [22], [28], [29] | Merging [12], [22], [42] | Rechunking [17]-[19], [44], [45] | |
| Hash-based | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |
| Hashless | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |||
TABLE II: Datasets and their Gzip compression ratios.
| Name | Size | Compress. Ratio | Description |
|---|---|---|---|
| RAND | 11 GB | 100 % | Randomly generated binary file. |
| WEB | 46 GB | 88 % | One month of tar-ed daily website snapshots of nytimes.com using wget -l 1 and the Internet Archive. |
| DB | 100 GB | 31 % | 25 snapshots of a MySQL VM running TPC-C [47]. |
| VMB | 285 GB | 25 % | 33 backups of a nightly Rust build server. |
| CODE | 110 GB | 18 % | 207 versions of tar-ed source code distributions for Linux, GDB, GCC, and Emacs. |
TABLE III: Algorithmic parameter settings.
| Algorithm | Parameter Settings |
|---|---|
| Rabin, Buzhash | , |
| Gear | |
| AE | Horizons in Table IV |
| RAM | Chosen in accordance with Equation (2). |
| MII | Chosen in accordance with Equation (3). |
| PCI | Obtained through simulation. |
| SeqCDC | Obtained through simulation. |
ory, running Debian 12. Throughput and microarchitectural findings describe this system and the evaluated implementations; their magnitude and ranking may change with the processor, compiler, or execution environment. For identical input bytes, parameters, and deterministic algorithm semantics, chunk boundaries and the resulting deduplication ratios and chunk-size distributions do not depend on execution speed. Our recommendations concern the evaluated base algorithms; they do not establish rankings for complete deduplication systems or for composites that add thresholds, normalization, caching, or skipping.
To produce a desired mean chunk size, CDC algorithms must be tuned through their parameters. Section IV derives parameter rules from each algorithm's stochastic properties, using simulation where analytical derivation is intractable.
A. Datasets
Because both deduplication ratio and chunk-size distribution strongly depend on the input data, we use multiple realistic datasets and one artificially generated dataset with maximal entropy. Our dataset selection follows standard practice in CDC algorithm evaluations [13]–[17], [24]. Table II lists the datasets and their Gzip compression ratio :
Lower values indicate more compressible data. The datasets are chosen to reflect storage and data-management scenarios in which deduplication is typically deployed. RAND serves as a high-entropy calibration baseline for parameter tuning and throughput measurements, while the realistic datasets exercise different forms of temporal redundancy. WEB captures daily website snapshots, where HTML, scripts, metadata, and static assets evolve at different rates. DB represents repeated backups of a transactional database VM running TPC-C, a setting where database pages, logs, and filesystem layout can all influence redundancy. VMB captures nightly backups of a build server, combining operating-system state, source trees, package caches, and generated build artifacts. CODE contains many versions of large source-code distributions and stresses algorithms on compressible text, small files, and archive padding. For WEB and CODE, we store the file collections as uncompressed TAR archives, while DB and VMB are snapshot-style storage images. We evaluate these backups and snapshots as streams rather than isolated files.
B. Benchmarking Framework
To measure both algorithm throughput and the chunks produced, we implement a benchmarking framework in Rust, with a focus on performance and efficiency. The framework, including the algorithm implementations, is published on GitHub under permissive licenses. It simplifies the implementation of new base chunking algorithms and enables their performance to be tested either in isolation or together with high-level techniques such as NC, caching, and size limits. It also excludes overhead from fingerprinting and avoids disk I/O by reading data from a RAMdisk. The framework consists of a driver that reads the input file in large blocks and uses them to drive the selected algorithm. Each algorithm receives consecutive blocks of file data, identifies boundaries within them, and advances its internal state as it ingests data. The algorithms closely follow their original descriptions. All algorithms are integrated into a
We apply Gzip with the default compression level of 6.
https://github.com/mrd0ll4r/cdc-bench single benchmark program, compiled with the release profile and tuned for the target machine. The throughput baseline uses Rust 1.82.0-nightly. The release configuration enables thin link-time optimization, one code-generation unit, and native CPU targeting (-C target-cpu=native).
When evaluating algorithm throughput, we do not fingerprint the generated chunks. Instead, the benchmark program computes and reports a single aggregate value—the sum of all chunk sizes—to ensure that the compiler cannot eliminate the chunking code through optimization. We verify that file access does not limit performance by implementing and evaluating fixed-size chunking (FSC) within the same framework. Sufficient memory is reserved to prevent memory pressure during execution. Apart from the benchmark process itself, the system remains idle throughout the experiments. All performance measurements are conducted sequentially to avoid interference between benchmark runs. For each combination of dataset, algorithm, and target chunk size, the benchmark is executed times. Additionally, we perform a single warm-up run for each dataset-algorithm combination before collecting measurements, and we capture performance counters using perf. Throughput measurements use RAND, copied to a tmpfs RAMdisk before execution. The warm-up uses a target chunk size of 512 B for each algorithm. The benchmark runs in a KVM virtual machine without explicit CPU affinity or NUMA placement controls. CPU frequency is controlled by the host firmware, with power saving disabled. Where applicable, we normalize measurements by dataset size. For microarchitectural counters such as instructions per cycle (IPC), instruction count, and branch count, we report mean values; the standard error is at most 0.01 for all reported metrics and is therefore omitted. For runtime and throughput, which are commonly skewed in benchmarking experiments [48], we report the median and interquartile range (IQR), calculated as .
IV. PARAMETER SETTINGS AND DERIVATIONS
Every CDC algorithm operates based on specific parameter settings. We denote the configured target mean chunk size by and the empirical mean by . While depends on both the parameter settings and the characteristics of the respective dataset, parameter selection can be theoretically grounded with the assumption of uniformly distributed random data. We therefore use uniformly random data as a common calibration baseline and then evaluate how well the resulting settings transfer to realistic datasets. This choice separates parameter tuning from dataset-specific behavior and avoids retuning algorithms on the same data used for comparison.
A. Basic Sliding Window (BSW)
Given random data, a uniformly distributed hash function, and a bitmask of length , hash-based algorithms find a chunk boundary at each byte with the probability of [35], [46]. Preliminary experiments confirmed uniform hash-value distributions for Rabin, Buzhash, and Gear. These measurements describe how often hash values occur, but do not test whether successive cut-point decisions are statistically independent. We set window size for Rabin and Buzhash to align with the implicit window size in Gear. The implementation selects for Rabin and Buzhash, and for Gear, which does not impose the same explicit window-fill delay. For the five power-of-two targets in this study, both rules yield , respectively.
B. Asymmetric Extremum (AE)
The average chunk size in AE is largely determined by the horizon . The original authors suggest that [21], [40]. This formula has also been implemented in their open-source testing framework Destor [49], as well as another benchmarking tool DedupBench [26] (who corrected the formula following our report [50]). Following this, the formula was used to produce results for an evaluation of AE in various other works [20], [41], [51], [52]. However, preliminary experimental evaluations on random data show chunk size averages well below the desired target, motivating us to revisit the formula. Our theoretical analysis then reveals that this formula fails to account for the discrete value range of random variables within [0, 255], as well as the conditioning of probabilities on dependent events. Concretely, the maximum byte value in a horizon of length equals 255 with probability . For large , the cut predicate therefore approaches the event that the next unseen byte equals 255, which occurs with probability . Based on this reasoning, we propose using the approximation if KiB and rely on simulations when target chunk sizes are smaller. At the 2 KiB threshold, the approximate horizon gives . This probability supports the large-horizon approximation; it is not a bound on its mean-size error. Table IV lists the horizons obtained from simulation for the two smaller targets and from for targets at or above 2 KiB. Appendix A provides the detailed stochastic analysis of AE.
TABLE IV: AE horizon parameterization.
| μ bytes | h bytes |
|---|---|
| 512 | 348 |
| 1024 | 793 |
| 2048 | 1792 |
| 4096 | 3840 |
| 8192 | 7936 |
C. Rapid Asymmetric Extremum (RAM)
The authors of RAM do not explicitly state how to tune the horizon for a desired mean chunk size. Let be the maximum of independent, uniformly distributed bytes. Conditional on , the number of subsequent bytes up to and including the first matching byte is geometric with success probability . Averaging these conditional waiting times gives the model-predicted mean chunk size :
This identity assumes an unbounded IID byte stream and counts the matching byte in the chunk. Minimizing over positive integer horizons provides a theoretical calibration rule for the configured target .
The benchmark parameter calculation replaces the random horizon maximum by its expected value, giving the approximation
This substitution uses a single representative maximum instead of accounting for variation between chunks. It becomes accurate for large horizons, where approaches one and both means approach . For smaller horizons, however, the maximum varies more, and the waiting time is a nonlinear function of that maximum: evaluating it at the expected maximum underestimates the mean waiting time by convexity.
Solving Equation (2) for the target mean and rounding gives the benchmark horizons for targets 512, 1024, 2048, 4096, 8192 bytes, respectively. At the two smallest targets, Equation (1) predicts means of 544 B and 1030 B (rounded to whole bytes), matching the rounded RAND measurements in Table VIII. The unrounded predictions exceed the targets by and , respectively. The theoretically calibrated horizons are 300 and 774; they are not the settings used for these measurements. For the three larger targets, both rules select the same integer horizons. Appendix B provides the conditional waiting-time derivation and the detailed approximation-error analysis.
D. Minimal Incremental Interval (MII)
The average chunk size in MII depends on the interval parameter . Our approximation starts from the boundary predicate used by MII: a chunk boundary is found when a window of bytes is strictly increasing. Thus, counts bytes and a matching window contains increasing adjacent comparisons, consistent with the implementation. For uniformly random input, each window contains possible byte sequences. For the predicate to hold, all bytes must be distinct; for each set of distinct byte values, exactly one ordering is strictly increasing. The number of satisfying windows is therefore , yielding the approximate boundary probability . Treating candidate windows as independent gives an expected waiting time equal to the inverse of this probability, plus the window length . This counting argument captures the factorial growth of the average chunk size with increasing and the weak control over chunk sizes that follows from it, as also noted by the authors of MII [30].
We use the factor 1.14 as an empirical correction calibrated on RAND, fixed across target sizes and datasets. It scales the inverse-probability term, not the additive window length, and is not a theoretical constant. Dependencies between overlapping windows are a possible explanation for the discrepancy with the independence approximation. This yields the following approximation:
MII presents a special case among the evaluated algorithms, as bytes give rounded predictions of 147, 877, 6248, 51341 bytes, respectively. This makes aligning MII to our range of target chunk sizes impossible. We use windows for targets 512, 1024, 2048, 4096, 8192 bytes, respectively. For and , the rounded RAND means are 887 B and 6242 B (Table VIII).
E. Parity Check of Interval (PCI)
The average chunk size produced by PCI depends on the setting of its two parameters (window size) and (threshold). Specifically, it depends on the ratio , as well as the absolute value of (as the window acts as a lower bound on the chunk size). Because we are not aware of a tractable analytical mapping from to , we obtain suitable values across all target chunk sizes through simulation on RAND. For each target, we select the parameter pair whose simulated mean chunk size is closest to and use that pair unchanged for all datasets.
TABLE V: Parameter settings for PCI.
| μ | w bytes | 8w bits | θ | |
|---|---|---|---|---|
| 512 | 58 | 464 | 253 | 0.545 |
| 1024 | 34 | 272 | 157 | 0.577 |
| 2048 | 61 | 488 | 273 | 0.559 |
| 4096 | 39 | 312 | 183 | 0.587 |
| 8192 | 57 | 456 | 262 | 0.575 |
F. SeqCDC
The average chunk size in SeqCDC is the product of three parameters: SeqLength, SkipTrigger, and SkipSize. For their experimental evaluation, the authors first generate candidate values via Monte Carlo simulation on randomized data [13]. Based on those results, they select a combination of values that performs best on one of their datasets. We note that the choice of those parameters has a large effect on chunking throughput and deduplication ratio. For example, a higher SkipSize is likely to improve chunking throughput at the cost of the deduplication ratio. Thus, multiple combinations of parameters can yield the same average chunk size and yet differ dramatically on the other metrics. Since no analytical framework is available, we compile a candidate set through simulation on RAND, analogous to the original paper. We then select one configuration per target size that matches while avoiding target-specific extremes in SkipSize; this keeps the throughput–deduplication tradeoff comparable across target sizes. The selected configurations are fixed before evaluating realistic datasets.
TABLE VI: Parameter settings for SeqCDC.
| μ | Seq Length | Skip Trigger | Skip Size |
|---|---|---|---|
| 512 | 4 | 65 | 512 |
| 1024 | 5 | 85 | 32 |
| 2048 | 5 | 85 | 256 |
| 4096 | 5 | 120 | 1024 |
| 8192 | 5 | 55 | 1024 |
TABLE VII: Computational performance of chunking algorithms with KiB on RAND.
| Alg. | Throughput (MiB/s) | Instr./B | IPC | Br./B | Br. Mispred. | |
|---|---|---|---|---|---|---|
| Median | IQR | |||||
| FSC | 1820 | 21 | 0.41 | 0.24 | 0.08 | 0.77 % |
| RAM | 886 | 19 | 8.44 | 2.39 | 1.76 | 0.43 % |
| Gear | 652 | 16 | 13.41 | 2.78 | 1.75 | 0.09 % |
| AE | 650 | 9 | 11.41 | 2.30 | 2.58 | 0.16 % |
| SeqCDC | 595 | 9 | 10.59 | 1.97 | 1.85 | 0.28 % |
| Buzhash | 311 | 6 | 29.36 | 2.90 | 5.07 | 0.10 % |
| PCI | 242 | 3 | 35.27 | 2.70 | 2.56 | 0.11 % |
| MII | 209 | 3 | 12.44 | 0.82 | 2.18 | 18.01 % |
| Rabin | 195 | 2 | 34.30 | 2.08 | 5.06 | 0.05 % |
V. COMPUTATIONAL EFFICIENCY
Much of the discussion and development around chunking algorithms has been fueled by the need to achieve higher throughput while maintaining good deduplication. Rabin, one of the oldest CDC algorithms, is widely known to be slow, which has spurred the development of faster CDC algorithms. We evaluate the algorithms in terms of throughput and use microarchitectural details to explain observed performance differences. Throughput is reported as input processed per execution time.
A. Results
We first provide an overview of the achievable throughput using the various algorithms. To that end, we evaluate each of them on the RAND dataset with a target chunk size of 2 KiB. For better interpretability of the results, we provide them together with relevant microarchitectural counters in Table VII. We discuss these results in detail below.
Hash-Based Algorithms: The hash-based algorithms Rabin and Buzhash have relatively low throughput in this RAND experiment, while Gear is faster. We discuss PCI alongside these sliding-window methods because it uses the same BSW scheme, but PCI is hashless: it replaces hashing with a rolling popcount. Although these algorithms all operate in per input byte, they differ substantially in constant complexity: Rabin and PCI require more than 30 instructions per input byte, while Buzhash falls just below that, resulting in the highest throughput of the three at 311 MiB/s. Gear uses only instructions per byte, leading to a much higher throughput of 652 MiB/s. In terms of microarchitectural performance, all algorithms can be executed relatively well at IPC and solid branch predictability.
Among the evaluated hash-based implementations, Gear combines low instruction count with high throughput. This makes Gear a useful base for further evaluation with high-level techniques such as SIMD or normalized chunking; those combinations are outside this comparison.
Hashless Algorithms: The remaining hashless algorithms use extrema or byte comparisons (AE, RAM, SeqCDC, and MII) and generally perform well, with the exception of MII. Among them, RAM performs best at 886 MiB/s, markedly better than AE at 650 MiB/s. On this system and input, RAM thus achieves its goal of being faster than AE [15]. SeqCDC follows closely at 595 MiB/s. This is impressive, considering we elect to implement only the core SeqCDC algorithm, without the optimization of skipping the start of each chunk. MII, although algorithmically simple, performs poorly at only 209 MiB/s. It executes slightly more instructions per input byte than AE, RAM, and SeqCDC, but it uses the CPU poorly, reaching only 0.82 IPC. A closer look shows that this is due to the poor predictability of the branch comparing the current input byte to the previous one. We find that 18% of branches are mispredicted (“Br. Mispred.”), by far the worst behavior of all examined algorithms.
Among these algorithms (MII, RAM, SeqCDC, AE), MII performs poorly because its branch is difficult to predict. Both AE and SeqCDC perform well, while RAM has the highest throughput in this experiment. These throughput rankings apply to the evaluated base implementations on RAND at 2 KiB on the measured system. Finally, if CDC is not a concern, FSC unsurprisingly outperforms all CDC contenders at about 1.8 GiB/s of processed input. These results also show that our benchmarking system is not limited by I/O.
B. Key Takeaways
Modern CPUs are complex. It is not always obvious how an algorithm, given in pseudocode, performs on a real system. We were able to show that various factors of the compiled code and microarchitecture, in particular constant complexity and branch predictability, play an important role in achieving higher throughput. Some algorithms (e.g., MII) are algorithmically simple yet difficult for the machine to execute. Others (e.g., Gear) are both simple and fast to execute.
VI. CHUNK SIZE DISTRIBUTION
Chunk-size distribution affects deduplication ratio, computational efficiency, and storage savings. Ideally, chunks have empirical mean close to the target without excessive variance: overly large chunks miss deduplication opportunities, while overly small chunks increase processing and metadata overhead. Because some variation is still needed to recover from boundary shifts, these distributions reveal both tuning accuracy and robustness across datasets with different byte patterns and compressibility.
We characterize each CDC algorithm's chunk-size distribution using two metrics:
-
The empirical mean , whose proximity to indicates tuning accuracy.
-
The empirical standard deviation , which measures spread around the mean.

(a) VMB

(b) DB

(c) WEB

(d) CODE
— AE --- Buzhash --- Gear --- MII --- PCI --- Rabin --- RAM --- SeqCDC
Fig. 6: Chunk-size distributions for target chunk size truncated at .
A. General Overview
We first compare the empirical chunk-size distributions for all algorithms on the realistic datasets at target chunk size . Figure 6 presents these distributions as empirical cumulative distribution functions (CDFs), truncated to the range for readability. For most algorithms and datasets, the empirical CDF is already close to 1 near 4KiB, indicating that almost all chunks remain within four times the target size. The CODE dataset is the main exception: in Figure 6d, PCI and RAM show pathological size distributions, with approximately 15 % of chunks exceeding . More generally, the BSW algorithms produce many below-target chunks together with heavy-tailed distributions, especially on more compressible datasets. This is because all BSW algorithms follow the same stochastic property: Each position of the data stream, looked upon independently, is equally likely to become a chunk cut-point (cf. Section II). However, each position's probability also depends on all previous positions not having fulfilled the same matching condition. Therefore, we observe that these distributions produce the bulk of chunks at a small size, determined by the window size or other feature of the algorithm, and then decay, forming a heavy-tailed distribution. This shifts the mean closer to the target, but inevitably results in a large chunk-size variance. AE and RAM, in contrast, impose a lower bound through their horizon, so complete chunk sizes cannot fall far below the target . This lower bound does not constrain the upper tail: AE concentrates chunk sizes near the target, whereas RAM can still produce pathological distributions on realistic datasets.
B. Mean and Variance
We report the mean chunk size and standard deviation s across all datasets and algorithms. A detailed quantitative table is provided in Table VIII. Cell colors follow a continuous scale, with lighter shades indicating values closer to the optimum, which for corresponds to . The color range reaches its maximum where the mean deviates from the target . For the standard deviation s, the color range is relative to the empirical mean , in a range . Values are aggregated across all evaluated target chunk sizes. Recall from Section III that we examine algorithms without constraining chunk sizes through minimum or maximum thresholds.
We make the following observations: Firstly, RAND provides an empirical calibration check for AE and MII. For RAM, the measured means agree closely with the expectation in Equation (1) at the benchmark horizons. In particular, the configuration at a 512B target produces a mean of 544B, consistent with the parameter-selection approximation error quantified in Section IV-C. In general, all algorithms perform predictably within acceptable bounds on artificial pseudorandom data. On real-world datasets, results are much more varied. For many algorithms, the more compressible datasets tend to yield greater chunk-size variance. The compression ratios in Table II summarize dataset compressibility. Often, with hash-based algorithms, we furthermore observe an increase in variance when target chunk sizes are higher.
Hash-Based Algorithms: Different hash functions within hash-based algorithms yield slightly different chunk-size distributions. While Gear tends to maintain mean sizes closer to the target, all hash-based methods struggle with chunk-size variance. In particular, Rabin and Buzhash perform poorly on the more compressible datasets DB, CODE, and VMB. One hypothesis is that Gear's chunking rule interacts more favorably with the byte patterns in these datasets; isolating that mechanism requires further experiments.
Hashless Algorithms: The lowest levels of variance overall are produced by AE. RAM achieves similarly low variance only on the RAND dataset. On the realistic datasets, RAM often fails to find chunk boundaries frequently enough, resulting in pathological chunk-size distributions. The authors of RAM warn against poor performance on files containing low-entropy data. In their paper [15], the experiments yield very similar results in comparison with AE. We find pathological performance on all realistic datasets, including WEB, whose Gzip compression ratio is comparatively high. SeqCDC also produces means close to the target on all datasets except CODE, indicating a potential sensitivity to CODE's byte patterns.
TABLE VIII: Extensive results on empirical means and standard deviations of produced chunk sizes.
| Algorithm | 512 B | 1024 B | 2048 B | 4096 B | 8192 B | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| s | s | s | s | s | ||||||
| RANDOM | ||||||||||
| Rabin | 542 | 511 | 1054 | 1023 | 2078 | 2046 | 4123 | 4096 | 8213 | 8185 |
| Buzhash | 544 | 512 | 1057 | 1026 | 2084 | 2053 | 4137 | 4106 | 8240 | 8208 |
| Gear | 511 | 510 | 1024 | 1022 | 2047 | 2045 | 4094 | 4088 | 8197 | 8181 |
| AE | 512 | 136 | 1024 | 209 | 2048 | 252 | 4095 | 255 | 8191 | 255 |
| RAM | 544 | 234 | 1030 | 252 | 2048 | 255 | 4096 | 255 | 8193 | 255 |
| PCI | 506 | 465 | 1017 | 990 | 2085 | 2038 | 4290 | 4257 | 8693 | 8637 |
| MII | 887 | 881 | 887 | 881 | 887 | 881 | 6242 | 6238 | 6242 | 6238 |
| SeqCDC | 506 | 698 | 1026 | 1036 | 2069 | 2185 | 4110 | 4578 | 8544 | 9024 |
| CODE | ||||||||||
| Rabin | 278 | 1201 | 364 | 1507 | 427 | 1869 | 478 | 2471 | 517 | 3475 |
| Buzhash | 351 | 1317 | 476 | 1668 | 628 | 2395 | 720 | 3234 | 775 | 4437 |
| Gear | 572 | 1718 | 1165 | 2706 | 2305 | 4496 | 4706 | 8450 | 9358 | 15605 |
| AE | 484 | 147 | 1046 | 313 | 2228 | 588 | 4594 | 1135 | 9332 | 2266 |
| RAM | 32663 | 3620803 | 61202 | 4955982 | 120909 | 6989936 | 219247 | 9411473 | 387964 | 12516487 |
| PCI | 6609 | 116719 | 10722 | 259899 | 22598 | 948426 | 30252 | 883873 | 44879 | 1627986 |
| MII | 333 | 2977 | 333 | 2977 | 333 | 2977 | 481 | 6299 | 481 | 6299 |
| SeqCDC | 191 | 1521 | 318 | 2794 | 373 | 3199 | 420 | 3731 | 561 | 4782 |
| WEB | ||||||||||
| Rabin | 444 | 525 | 717 | 1002 | 1071 | 1868 | 1422 | 3255 | 1702 | 5231 |
| Buzhash | 551 | 542 | 1058 | 1082 | 2090 | 2195 | 4009 | 4252 | 7740 | 9274 |
| Gear | 523 | 561 | 1039 | 1103 | 2076 | 2173 | 4189 | 4491 | 8498 | 9534 |
| AE | 517 | 147 | 1048 | 245 | 2124 | 374 | 4224 | 536 | 8406 | 904 |
| RAM | 672 | 53567 | 1256 | 73244 | 2435 | 101956 | 4764 | 142598 | 9414 | 200436 |
| PCI | 357 | 2007 | 491 | 3523 | 739 | 4617 | 994 | 7760 | 1323 | 15125 |
| MII | 841 | 1304 | 841 | 1304 | 841 | 1304 | 4970 | 8797 | 4970 | 8797 |
| SeqCDC | 424 | 744 | 943 | 1424 | 1805 | 2665 | 3377 | 5158 | 6572 | 9467 |
| DB | ||||||||||
| Rabin | 95 | 277 | 101 | 402 | 104 | 571 | 106 | 796 | 107 | 1081 |
| Buzhash | 823 | 47860 | 1579 | 66862 | 3050 | 93309 | 5670 | 127677 | 10108 | 172277 |
| Gear | 524 | 38456 | 1531 | 65776 | 3006 | 92557 | 6162 | 134051 | 12129 | 190428 |
| AE | 448 | 220 | 949 | 339 | 2079 | 618 | 4328 | 1107 | 8780 | 2180 |
| RAM | 886 | 58702 | 1741 | 82555 | 3601 | 117545 | 7147 | 166900 | 13830 | 231920 |
| PCI | 4481 | 376356 | 1968 | 264093 | 8546 | 1670258 | 7853 | 1121784 | 11720 | 2037800 |
| MII | 1490 | 69072 | 1490 | 69072 | 1490 | 69072 | 8724 | 185368 | 8724 | 185368 |
| SeqCDC | 631 | 43950 | 1591 | 71362 | 2785 | 95023 | 5039 | 128883 | 9401 | 180942 |
| VMB | ||||||||||
| Rabin | 170 | 653 | 194 | 843 | 212 | 1143 | 222 | 1549 | 227 | 2144 |
| Buzhash | 676 | 16728 | 1312 | 23348 | 2455 | 32106 | 4949 | 46735 | 9063 | 66011 |
| Gear | 602 | 15855 | 1222 | 23730 | 2435 | 33795 | 4867 | 48583 | 9184 | 69614 |
| AE | 471 | 163 | 1047 | 352 | 2297 | 706 | 4807 | 1438 | 9542 | 2664 |
| RAM | 1298 | 112214 | 2603 | 160204 | 5141 | 256212 | 9595 | 351555 | 17255 | 415735 |
| PCI | 2150 | 93943 | 3166 | 127712 | 5365 | 167882 | 6063 | 197997 | 8925 | 253655 |
| MII | 1619 | 34972 | 1619 | 34972 | 1619 | 34972 | 10623 | 122867 | 10623 | 122867 |
| SeqCDC | 503 | 17570 | 1538 | 34052 | 2391 | 42843 | 3717 | 57142 | 6565 | 77491 |
CDC for Data Synchronization: PCI exhibits a significant deviation from the target chunk size and high chunk-size variance across most settings. Its predecessor, MII, although restrictive in the targets it can tune to, performs slightly better in this regard. However, since chunk-size variance is not a critical concern in the application for data synchronization, this may not be a substantial drawback.
C. Key Takeaways
The results on synthetic and real-world datasets lead to the following conclusions about CDC chunk-size distributions:
Chunk-Size Variance: Almost all algorithms produce many small chunks near an algorithm-defined minimum, followed by a heavy tail that moves the mean closer to the target. Rolling hash-based algorithms use relatively small windows and generally exhibit longer tails and greater variance. AE and RAM both impose a horizon-based lower bound near the configured target, reducing the opportunity for very small chunks. Only AE consistently achieves low variance in our realistic workloads; RAM's long upper tails remain pathological despite that lower bound.
Performance on Real-World Datasets: We find that all algorithms can be tuned to perform well on pseudorandom data, which often forms the basis for their theoretical analyses. On real-world data, however, we see mixed results, depending on the algorithm and dataset combination. Among the evaluated base chunking algorithms, AE is the most consistent across datasets, with Gear and SeqCDC also performing well on several metrics.

(a) VMB
(b) DB
(c) WEB

(d) CODE
AE Buzhash FSC Gear MII PCI Rabin RAM SeqCDC
Fig. 7: Deduplication ratios at configured targets; note that the y-axis scales differ between plots.

(a) VMB
(b) DB
(c) WEB
(d) CODE
AE Buzhash FSC Gear MII PCI Rabin RAM SeqCDC
Fig. 8: Empirical mean chunk size and metadata-adjusted storage savings under 64 B metadata cost per emitted chunk. Each plot uses its own axis limits; x-axes are logarithmic; rings mark configurations nondominated among the evaluated points.
VII. DEDUPLICATION RATIO
The degree of achievable deduplication is a key metric for evaluating CDC algorithms. It determines how effectively an algorithm identifies and eliminates redundant data, thereby reducing storage requirements. We compare the selected algorithms by deduplication ratio and examine how dataset characteristics, such as compressibility and repeated byte patterns, relate to this metric. The deduplication performance of CDC algorithms is typically measured using the following metric:
where represents the original size of the dataset and represents the deduplicated size, which is equivalent to the total size of unique chunks. The dedup. ratio indicates the fraction of storage space saved by eliminating redundant chunks. For instance, a deduplication ratio of 0.4 on a dataset of 1 GB indicates that the same dataset can be represented using 600 MB of unique emitted chunks. Note that this metric excludes any metadata overhead. Moreover, in Table VIII, we show that achieved mean chunk sizes can deviate strongly from the configured target. Small chunks have implications on the potential storage savings as they produce greater metadata overhead. We therefore complement our study with Figure 8, which plots the metadata-adjusted storage savings against the achieved mean chunk size and highlights the Pareto frontier of measured configurations. For this figure, we employ the more practically oriented metric of storage savings:
where N represents the total number of emitted chunks and denotes the metadata cost per chunk. Fingerprint, indexing, and placement designs can produce different overheads. We model metadata overhead according to Debnath et al. [53] and assume 64 bytes per emitted chunk (i.e., ): 20-byte SHA-1 fingerprints with an additional 44 bytes to contain chunk length and location.
A. Results and Key Observations
Deduplication ratios generally decline as the target chunk size grows (Figure 7). Rabin attains the highest ratios and the flattest curves, but this mostly reflects its unresponsiveness to the configured target. On DB its mean chunk size grows only from 95B to 107B as increases from 512B to 8KiB, and on CODE it reaches just 517B at (Table VIII). AE, RAM, and MII degrade faster because they reach larger targets by scaling a horizon or window (e.g., for AE at 8KiB). This makes cut-points depend on longer stretches of content, so we expect the trend to continue beyond the tested range. MII's curves change in a single step, since only and fall within our target range. FSC performs well because every target is a multiple of the 512-byte TAR block [54], and VM images are similarly block-organized. Fixed boundaries therefore often align with unchanged blocks across versions. RAM and PCI fail on CODE, where zero padding in block-aligned archives suppresses cut-points and inflates their mean chunk sizes to tens or hundreds of kilobytes.
Plotting metadata-adjusted storage savings against the empirical mean chunk size removes Rabin's apparent advantage (Figure 8). At 64B per chunk, metadata alone costs 60–67% of the original size on DB, lowering Rabin's worst-case savings to around 30%. RAM and PCI fail in the opposite direction: their oversized chunks miss most redundancy, with storage savings very close to 0 on CODE. With the exception of FSC on DB, AE achieves both the highest best-case savings and the highest worst-case savings. Raw deduplication ratios thus favor algorithms that silently produce small chunks. Once granularity and metadata are accounted for, AE offers the most favorable and stable tradeoff, with Gear as the strongest hash-based alternative.
VIII. DISCUSSION
We synthesize our results into guidance for selecting base chunking algorithms within the tested workloads and target range. Our comparisons isolate the base chunking algorithm; they do not rank composite algorithms or end-to-end deduplication systems, whose behavior also depends on size thresholds, normalization, caching, fingerprinting, and storage organization.
A. Summary of Results
Our benchmark indicates that traditional hash-based algorithms, such as Rabin and Gear, still offer competitive deduplication efficacy, even when accounting for achieved mean chunk sizes. However, we find that AE attains similar or better performance while closely adhering to the configured target chunk size and exhibiting low chunk-size variance. Our experiments show that, depending on the structure of the dataset, Rabin can produce pathologically small chunks. These yield impressive deduplication ratios, but once metadata overhead is accounted for, a different picture emerges (see Figures 8a and 8b). We also discussed in Section VII-A that AE's deduplication may degrade when operating with target chunk sizes larger than those considered in our experiments, owing to the scaling-window problem. In those settings, Gear may represent a more robust alternative. Moreover, given the wide range of higher-level techniques that build upon hash-based algorithms, Gear remains an appealing choice for a variety of applications. RAM, which has the highest measured throughput on RAND at 2 KiB, proves sensitive to structured input: On highly compressible data, such as the source-code archives in CODE, the algorithm fails to find chunk boundaries, resulting in the generation of pathologically large chunks. MII and PCI were proposed specifically for data synchronization applications, where chunk-size variance is of lesser importance. Nevertheless, in our storage-oriented evaluation, we do not observe clear advantages over alternatives such as AE or Gear, which offer comparable or higher deduplication and throughput. Likewise, the more recently published SeqCDC shows no benefit in our evaluated settings over, for instance, Gear or AE.
TABLE IX: Summary of key success metrics, based on experiments configured at KiB. Superscripts identify every dataset attaining the extremum: C = CODE, W = WEB, V = VMB, D = DB. Bold: best; underline: second best.
| Algorithm | Throughput (MiB/s) ↑ | Chunk Sizes | Storage Savings | ||
|---|---|---|---|---|---|
| Max. Err. ↓ | Max. CV ↓ | Min. ↑ | Max. ↑ | ||
| Rabin | 195 | ||||
| Buzhash | 311 | ||||
| Gear | 652 | ||||
| AE | 650 | ||||
| RAM | 886 | ||||
| PCI | 242 | ||||
| MII | 209 | ||||
| SeqCDC | 595 | ||||
Table IX summarizes results at KiB with two measures of chunk-size calibration and variability: “Max. Err.” measures the maximum error across datasets; “Max. CV” measures the maximum coefficient of variation across datasets.
B. Contrasting Results with Literature
While our study confirms many of the claims made by the original algorithms' developers, we also encounter several discrepancies. These differences arise from factors such as dataset characteristics, experimental setups, and implementation details. We therefore contrast our results with those from the literature and reflect on their implications.
AE: As shown in Section IV, the formula by which the parameterization in AE is derived does not reflect the actual behavior of the algorithm fully, but has been disseminated in this form throughout several studies [20], [21], [40], [41], [51], [52], and moreover, the open-source chunking algorithm evaluation platforms Destor [49] and DedupBench [26]. Following our report, DedupBench corrected its AE parameterization [50]. According to our own experiments on RAND, the previously established formula renders chunks 13% smaller than the target when it is set to 512B, and 39% smaller with a target of 8 KiB. Because smaller chunks can improve deduplication ratios while increasing chunk and metadata counts, earlier AE comparisons must be interpreted with this size shift in mind. The 13–39 % range quantifies the mean-size deviation in our RAND experiments, not a bound on deduplication gains across other workloads. If a reported advantage could be explained by the size shift, the comparison remains unresolved without a re-evaluation controlling for empirical mean chunk size. We do not claim a ranking reversal: reproducing the affected studies would require their datasets, minimum/maximum constraints, fingerprinting, and other configuration details, and is outside our scope. In the original paper [40], the authors suggest that AE is superior to hash-based algorithms in terms of deduplication. While AE shows superior performance in some of our experiments and is competitive in most, its performance sometimes degrades with higher target chunk sizes.
RAM: Our results show that RAM performs poorly on low-entropy datasets, most notably in the case of CODE (see Table VIII). The authors of RAM notice this flaw [15]; however, the full extent of this shortcoming was not evident from prior experiments. In their study, the authors evaluate RAM on high-entropy datasets that may not represent the lower-entropy inputs often encountered in data deduplication workloads. Indeed, deduplication is only evaluated in the form of “bytes saved per second”, which counterintuitively conflates throughput with deduplication. Moreover, the paper suggests chunk-size variances similar to AE, while none of our experiments on real-world datasets support this statement. Recently, Al Jarah et al. [25] evaluate the impact of low entropy with synthetic datasets. While imposing a maximum chunk size constraint, the authors quantify an algorithm’s robustness to low-entropy data by measuring the rate of artificial boundaries. Interestingly, in their study, RAM exhibits better robustness than Rabin or FastCDC, which stands in contrast to our results. This divergence may be explained by their reliance on synthetic datasets and the maximum chunk size constraint.
IX. RELATED WORK
Previous works have studied the state-of-the-art of data deduplication and chunking algorithms [6], [55], [56]. These studies primarily focus on theoretical discussions based on the original works that introduced the algorithms. Liu et al. [26] experimentally evaluate FSC, AE, Gear, and Rabin. Interestingly, their benchmark considers two AE configurations, with chunk boundaries determined by either local maxima (AE-Max) or minima (AE-Min). AE-Min yields slightly higher deduplication efficacy than AE-Max. However, the authors only evaluate on a single dataset based on VM images. We argue that performance differences (on any metric) between AE-Max and AE-Min are most likely based on the dataset's data distribution. We further note that their evaluation relied on an incorrect formula for the AE window size, resulting in an average chunk size nearly half of the expected value (see Section IV-B). Most other experimental evaluations and comparisons of chunking algorithms are part of works introducing new algorithms [15], [31], [40], [51]. These works do not provide a consistent set of datasets or comparable evaluation methodologies for judging the algorithms against one another. For example, Manogar and Abirami [51] present the superior throughput of their algorithm. In their measurements, however, they do not isolate the effects of the chunking algorithm from the computationally expensive SHA-1 fingerprinting of the produced chunks. Consequently, the resulting throughput is heavily skewed in favor of algorithms that generate a lower number of chunks. Notably, their own algorithm produces the fewest chunks across all evaluated algorithms and datasets. The authors of PCI [31] compare their algorithm against Rabin, LMC, AE, RAM, and MII. The datasets used in the experiments are artificial, based on sequences of zeros with random byte insertions or deletions in defined intervals. In practice, chunking algorithms are applied to real-world data, which is not reflected in the datasets used by the authors. For instance, the issue of low-entropy strings is disregarded within this experiment. Recently, Al Jarah et al. [25] benchmark AE, FastCDC, Rabin, and RAM on synthetic datasets simulating low-entropy data. Interestingly, using our methodology, we reach different conclusions, which we briefly discuss in Section VIII-B. Viji and Revathy [57] compare specifically the throughput of Rabin, LMC, AE, RAM, and PCI on random datasets. In their experiment, RAM significantly outperforms the other algorithms, followed by AE and PCI; our experimental study confirms this ordering on random data.
X. CONCLUSION
We showed that CDC algorithms are best understood and evaluated modularly: a base algorithm supplies the cut-point rule, while high-level techniques such as normalization, size thresholds, caching, and skipping change its operating envelope. By isolating this base layer, benchmarking eight algorithms on realistic backup-oriented datasets, and calibrating parameters on uniformly random data before freezing them for realistic workloads, we expose effects that prior composite evaluations obscure. We correct a widely propagated AE parameterization error, derive tuning rules for RAM and MII, and show that behavior on uniformly random data does not necessarily transfer to realistic workloads. Within the evaluated workloads and target range, AE is the most robust of the tested base chunking algorithms, Gear remains a strong hash-based choice, RAM is fast but fragile on low-entropy inputs, and Buzhash, MII, PCI, and SeqCDC offer limited advantages for storage-oriented deduplication. We hope that our framework supports future advances in CDC algorithms and enables more systematic evaluations of high-level techniques under the same modular discipline.
ACKNOWLEDGMENTS
The authors thank Asterios Katsifodimos for his valuable feedback and support. This work has been partly funded by the Dutch National NWO/TKI Science Grant BLOCK.2019.004 and the Federal Ministry of Research, Technology and Space of Germany within the project “Open6GHub+” (grant number:
16KIS2407). Generative AI tools were used to improve the linguistic clarity and quality of the manuscript and to assist in writing R code for visualizing existing data. No scientific content, software, results, or conclusions were generated using AI. All content was reviewed and verified by the authors.
REFERENCES
[1] A. Wright, G. Ireland, and E. Burns. (2025, October) Content creation in the age of generative ai: Implications for value and scale. Accessed: 2026-06-08. [Online]. Available: https://www.seagate.com/content/dam/seagate/assets/resources/How-Generative-AI-Is-Transforming-Content-Creation-and-Data-Value-/files/US53817625-WP.pdf
[2] D. Reinsel, J. Gantz, and J. Rydning. (2018) Data age 2025: The digitization of the world from edge to core. Accessed on 2025-03-17. [Online]. Available: https://www.seagate.com/files/www-content/our-story/trends/files/idc-seagate-dataage-whitepaper.pdf
[3] X. Peng, X. Fan, S. Cheng, L. Meng, C. Fu, W. Zhou, and C. Weng, “Bbs: Batch-based snapshot for the cloud database backup,” in 2025 IEEE 41st International Conference on Data Engineering (ICDE). IEEE, 2025, pp. 4248–4261.
[4] A. Muthitacharoen, B. Chen, and D. Mazières, “A low-bandwidth network file system,” in Proceedings of the 18th ACM Symposium on Operating System Principles, SOSP 2001, Chateau Lake Louise, Banff, Alberta, Canada, October 21-24, 2001, K. Marzullo and M. Satyanarayanan, Eds. ACM, 2001, pp. 174–187. [Online]. Available: https://doi.org/10.1145/502034.502052
[5] S. Quinlan and S. Dorward, “Venti: A new approach to archival data storage,” in Conference on File and Storage Technologies (FAST 02). Monterey, CA: USENIX Association, Jan 2002. [Online]. Available: https://www.usenix.org/conference/fast-02/venti-new-approach-archival-data-storage
[6] W. Xia, H. Jiang, D. Feng, F. Douglas, P. Shilane, Y. Hua, M. Fu, Y. Zhang, and Y. Zhou, “A comprehensive study of the past, present, and future of data deduplication,” Proceedings of the IEEE, vol. 104, no. 9, pp. 1681–1710, 2016.
[7] D. T. Meyer and W. J. Bolosky, “A study of practical deduplication,” ACM Transactions on Storage (ToS), vol. 7, no. 4, pp. 1–20, 2012.
[8] A. El-Shimi, R. Kalach, A. Kumar, A. Ottean, J. Li, and S. Sengupta, “Primary data deduplication - large scale study and system design,” in Proceedings of the 2012 USENIX Annual Technical Conference, USENIX ATC 2012, Boston, MA, USA, June 13-15, 2012, G. Heiser and W. C. Hsieh, Eds. USENIX Association, 2012, pp. 285–296. [Online]. Available: https://www.usenix.org/conference/atc12/technical-sessions/presentation/el-shimi
[9] G. Wallace, F. Douglas, H. Qian, P. Shilane, S. Smaldone, M. Chamness, and W. Hsu, “Characteristics of backup
workloads in production systems," in Proceedings of the 10th USENIX conference on File and Storage Technologies, FAST 2012, San Jose, CA, USA, February 14-17, 2012, W. J. Bolosky and J. Flinn, Eds. USENIX Association, 2012, p. 4. [Online]. Available: https://www.usenix.org/conference/fast12/characteristics-backup-workloads-production-systems
[10] L. Xu, A. Pavlo, S. Sengupta, and G. R. Ganger, “Online deduplication for databases,” in Proceedings of the 2017 ACM International Conference on Management of Data, 2017, pp. 1355–1368.
[11] A. Wildani, E. L. Miller, and O. Rodeh, “Hands: A heuristically arranged non-backup in-line deduplication system,” in 2013 IEEE 29th International Conference on Data Engineering (ICDE). IEEE, 2013, pp. 446–457.
[12] F. Ni, X. Lin, and S. Jiang, “Ss-cdc: A two-stage parallel content-defined chunking for deduplicating backup storage,” in Proceedings of the 12th ACM Intl Conf on Systems and Storage, 2019, pp. 86–96.
[13] S. Udayashankar, A. Baba, and S. Al-Kiswany, "Seqcdc: Hashless content-defined chunking for data deduplication," in Proceedings of the 25th International Middleware Conference, MIDDLEWARE 2024, Hong Kong, SAR, China, December 2-6, 2024, J. Cao, Z. Jin, V. Schiavoni, and J. Edinger, Eds. ACM, 2024, pp. 292–298. [Online]. Available: https://doi.org/10.1145/3652892.3700766
[14] W. Xia, Y. Zhou, H. Jiang, D. Feng, Y. Hua, Y. Hu, Q. Liu, and Y. Zhang, “Fastcdc: a fast and efficient content-defined chunking approach for data deduplication,” in Proceedings of the 2016 USENIX Annual Technical Conference, USENIX ATC 2016, Denver, CO, USA, June 22-24, 2016, A. Gulati and H. Weatherspoon, Eds. USENIX Association, 2016, pp. 101–114. [Online]. Available: https://www.usenix.org/conference/atc16/technical-sessions/presentation/xia
[15] R. N. S. Widodo, H. Lim, and M. Atiquzzaman, "A new content-defined chunking algorithm for data deduplication in cloud storage," Future Gener. Comput. Syst., vol. 71, pp. 145–156, 2017. [Online]. Available: https://doi.org/10.1016/j.future.2017.02.013
[16] Z. Xu and W. Zhang, “Quickcdc: A quick content defined chunking algorithm based on jumping and dynamically adjusting mask bits,” in 2021 IEEE Intl Conf on Parallel & Distributed Processing with Applications, Big Data & Cloud Computing, Sustainable Computing & Communications, Social Computing & Networking (ISPA/BDCloud/SocialCom/SustainCom), New York City, NY, USA, September 30 - Oct. 3, 2021. IEEE, 2021, pp. 288–299. [Online]. Available: https://doi.org/10.1109/ISPA-BDCloud-SocialCom-SustainCom52081.2021.00049
[17] E. Kruus, C. Ungureanu, and C. Dubnicki, “Bimodal content defined chunking for backup streams.” in Fast, 2010, pp. 239–252.
[18] G. Lu, Y. Jin, and D. H. Du, “Frequency based chunking for data de-duplication,” in 2010 IEEE International
Symposium on Modeling, Analysis and Simulation of Computer and Telecommunication Systems. IEEE, 2010, pp. 287–296.
[19] B. Romanski, L. Heldt, W. Kilian, K. Lichota, and C. Dubnicki, “Anchor-driven subchunk deduplication,” in Proceedings of SYSTOR 2011: The 4th Annual Haifa Experimental Systems Conference, Haifa, Israel, May 30 - June 1, 2011. ACM, 2011, p. 16. [Online]. Available: https://doi.org/10.1145/1987816.1987837
[20] W. Xia, X. Zou, H. Jiang, Y. Zhou, C. Liu, D. Feng, Y. Hua, Y. Hu, and Y. Zhang, “The design of fast content-defined chunking for data deduplication based storage systems,” IEEE Trans. Parallel Distributed Syst., vol. 31, no. 9, pp. 2017–2031, 2020. [Online]. Available: https://doi.org/10.1109/TPDS.2020.2984632
[21] Y. Zhang, D. Feng, H. Jiang, W. Xia, M. Fu, F. Huang, and Y. Zhou, “A fast asymmetric extremum content defined chunking algorithm for data deduplication in backup storage systems,” IEEE Trans. Computers, vol. 66, no. 2, pp. 199–211, 2017. [Online]. Available: https://doi.org/10.1109/TC.2016.2595565
[22] K. Eshghi and H. K. Tang, “A framework for analyzing and improving content-based chunking algorithms,” Hewlett-Packard Labs Technical Report TR, vol. 30, no. 2005, 2005.
[23] W. Xia, H. Jiang, D. Feng, L. Tian, M. Fu, and Y. Zhou, “Ddelta: A deduplication-inspired fast delta compression approach,” Perform. Evaluation, vol. 79, pp. 258–272, 2014. [Online]. Available: https://doi.org/10.1016/j.peva.2014.07.016
[24] S. Udayashankar, A. Baba, and S. Al-Kiswany, "Vectorcdc: Accelerating data deduplication with vector instructions," in 23rd USENIX Conference on File and Storage Technologies, FAST 2025, Santa Clara, CA, February 25-27, 2025, H. S. Gunawi and V. Tarasov, Eds. USENIX Association, 2025, pp. 513–522. [Online]. Available: https://www.usenix.org/conference/fast25/presentation/udayashankar
[25] M. A. Jarah, S. Udayashankar, A. Baba, and S. Al-Kiswany, “The impact of low-entropy on chunking techniques for data deduplication,” in 17th IEEE International Conference on Cloud Computing, CLOUD 2024, Shenzhen, China, July 7-13, 2024. IEEE, 2024, pp. 134–140. [Online]. Available: https://doi.org/10.1109/CLOUD62652.2024.00025
[26] A. Liu, A. Baba, S. Udayashankar, and S. Al-Kiswany, “Dedupbench: A benchmarking tool for data chunking techniques,” in IEEE Canadian Conference on Electrical and Computer Engineering, CCECE 2023, Regina, SK, Canada, September 24-27, 2023. IEEE, 2023, pp. 469–474. [Online]. Available: https://doi.org/10.1109/CCECE58730.2023.10288834
[27] F. Ni and S. Jiang, “Rapidcdc: Leveraging duplicate locality to accelerate chunking in cdc-based deduplication systems,” in Proceedings of the ACM Symposium on Cloud Computing, SoCC
2019, Santa Cruz, CA, USA, November 20-23, 2019. ACM, 2019, pp. 220–232. [Online]. Available: https://doi.org/10.1145/3357223.3362731
[28] P. Zhou, Z. Wang, W. Xia, and H. Zhang, "Ultracdc:a fast and stable content-defined chunking algorithm for deduplication-based backup storage systems," in IEEE International Performance, Computing, and Communications Conference, IPCCC 2022, Austin, TX, USA, November 11-13, 2022. IEEE, 2022, pp. 298–304. [Online]. Available: https://doi.org/10.1109/IPCCC55026.2022.9894295
[29] B. Wan, L. Pu, X. Zou, S. Li, P. Wang, and W. Xia, “Supercdc: A hybrid design of high-performance content-defined chunking for fast deduplication,” in IEEE 40th International Conference on Computer Design, ICCD 2022, Olympic Valley, CA, USA, October 23-26, 2022. IEEE, 2022, pp. 170–178. [Online]. Available: https://doi.org/10.1109/ICCD56317.2022.00034
[30] C. Zhang, D. Qi, Z. Cai, W. Huang, X. Wang, W. Li, and J. Guo, “MII: A novel content defined chunking algorithm for finding incremental data in data synchronization,” IEEE Access, vol. 7, pp. 86932–86945, 2019. [Online]. Available: https://doi.org/10.1109/ACCESS.2019.2926195
[31] C. Zhang, D. Qi, W. Li, and J. Guo, “Function of content defined chunking algorithms in incremental synchronization,” IEEE Access, vol. 8, pp. 5316–5330, 2020. [Online]. Available: https://doi.org/10.1109/ACCESS.2019.2963625
[32] J. D. Cohen, “Recursive hashing functions for n-grams,” ACM Trans. Inf. Syst., vol. 15, no. 3, pp. 291–320, 1997. [Online]. Available: https://doi.org/10.1145/256163.256168
[33] M. O. Rabin, “Fingerprinting by random polynomials,” Technical report, 1981.
[34] R. M. Karp and M. O. Rabin, “Efficient randomized pattern-matching algorithms,” IBM J. Res. Dev., vol. 31, no. 2, pp. 249–260, 1987. [Online]. Available: https://doi.org/10.1147/rd.312.0249
[35] A. Z. Broder, “Some applications of rabin’s fingerprinting method,” in Sequences II. Springer, 1993, pp. 143–152.
[36] S. Schleimer, D. S. Wilkerson, and A. Aiken, "Winnowing: Local algorithms for document fingerprinting," in Proceedings of the 2003 ACM SIGMOD International Conference on Management of Data, San Diego, California, USA, June 9-12, 2003, A. Y. Halevy, Z. G. Ives, and A. Doan, Eds. ACM, 2003, pp. 76–85. [Online]. Available: https://doi.org/10.1145/872757.872770
[37] A. Tridgell, P. Mackerras et al., “The rsync algorithm,” 1996.
[38] A. Anand, C. Muthukrishnan, A. Akella, and R. Ramjee, “Redundancy in network traffic: findings and implications,” in Proceedings of the Eleventh International Joint Conference on
Measurement and Modeling of Computer Systems, SIGMETRICS/Performance 2009, Seattle, WA, USA, June 15-19, 2009, J. R. Douceur, A. G. Greenberg, T. Bonald, and J. Nieh, Eds. ACM, 2009, pp. 37–48. [Online]. Available: https://doi.org/10.1145/1555349.1555355
[39] N. S. Bjørner, A. Blass, and Y. Gurevich, “Content-dependent chunking for differential compression, the local maximum approach,” J. Comput. Syst. Sci., vol. 76, no. 3-4, pp. 154–203, 2010. [Online]. Available: https://doi.org/10.1016/j.jcss.2009.06.004
[40] Y. Zhang, H. Jiang, D. Feng, W. Xia, M. Fu, F. Huang, and Y. Zhou, “AE: an asymmetric extremum content defined chunking algorithm for fast and bandwidth-efficient data deduplication,” in 2015 IEEE Conference on Computer Communications, INFOCOM 2015, Kowloon, Hong Kong, April 26 - May 1, 2015. IEEE, 2015, pp. 1337–1345. [Online]. Available: https://doi.org/10.1109/INFOCOM.2015.7218510
[41] X. Jin, H. Liu, C. Ye, X. Liao, H. Jin, and Y. Zhang, “Accelerating content-defined chunking for data deduplication based on speculative jump,” IEEE Trans. Parallel Distributed Syst., vol. 34, no. 9, pp. 2568–2579, 2023. [Online]. Available: https://doi.org/10.1109/TPDS.2023.3290770
[42] Y. Won, K. Lim, and J. Min, “Much: Multithreaded content-based file chunking,” IEEE Transactions on Computers, vol. 64, no. 5, pp. 1375–1388, 2014.
[43] P. Bhatotia, R. Rodrigues, and A. Verma, “Shredder: Gpu-accelerated incremental storage and computation,” in Proceedings of the 10th USENIX conference on File and Storage Technologies, FAST 2012, San Jose, CA, USA, February 14-17, 2012, W. J. Bolosky and J. Flinn, Eds. USENIX Association, 2012, p. 14. [Online]. Available: https://www.usenix.org/conference/fast12/shredder-gpu-accelerated-incremental-storage-and-computation
[44] B. Zhou and J. Wen, “Hysteresis re-chunking based metadata harnessing deduplication of disk images,” in 42nd International Conference on Parallel Processing, ICPP 2013, Lyon, France, October 1-4, 2013. IEEE Computer Society, 2013, pp. 389–398. [Online]. Available: https://doi.org/10.1109/ICPP.2013.48
[45] D. Bobbarjung, C. Dubnicki, and S. Jagannathan, “Fingerdiff: Improved duplicate elimination in storage systems,” Proc. Mass Storage Syst. Technol, pp. 1–5, 2006.
[46] B. Chapuis, B. Garbinato, and P. Andritsos, “Throughput: A key performance measure of content-defined chunking algorithms,” in 36th IEEE International Conference on Distributed Computing Systems Workshops, ICDCS Workshops, Nara, Japan, June 27-30, 2016. IEEE Computer Society, 2016, pp. 7–12. [Online]. Available: https://doi.org/10.1109/ICDCSW.2016.32
[47] S. T. Leutenegger and D. Dias, “A modeling study of the tpc-c benchmark,” ACM Sigmod Record, vol. 22, no. 2, pp. 22–31, 1993.
[48] D. Lemire. (2023) Are your memory-bound benchmark-
ing timings normally distributed? https://lemire.me/blog/2023/04/06/, visited 2024-08-25. [Online]. Available: https://lemire.me/blog/2023/04/06/are-your-memory-bound-benchmarking-timings-normally-distributed/
[49] M. Fu, D. Feng, Y. Hua, X. He, Z. Chen, W. Xia, Y. Zhang, and Y. Tan, “Design tradeoffs for data deduplication performance in backup workloads,” in Proceedings of the 13th USENIX Conference on File and Storage Technologies, FAST 2015, Santa Clara, CA, USA, February 16-19, 2015. USENIX Association, 2015, pp. 331–344. [Online]. Available: https://www.usenix.org/conference/fast15/technical-sessions/presentation/fu
[50] “AE does not yield expected chunk size - Issue #37,” https://github.com/UWASL/dedup-bench/issues/37, 2024, [Accessed 04-09-2025].
[51] E. Manogar and S. Abirami, “Dynamic prime chunking algorithm for data deduplication in cloud storage,” KSII Transactions on Internet Information Systems, vol. 15, no. 4, pp. 1342–1359, 2021. [Online]. Available: https://doi.org/10.3837/tiis.2021.04.009
[52] E. Manogar and A. Murugappan, “A smart hybrid content-defined chunking algorithm for data deduplication in cloud storage,” Soft Comput., vol. 28, no. 15-16, pp. 9037–9052, 2024. [Online]. Available: https://doi.org/10.1007/s00500-023-09290-7
[53] B. K. Debnath, S. Sengupta, and J. Li, “Chunkstash: Speeding up inline storage deduplication using flash memory,” in Proceedings of the 2010 USENIX Annual Technical Conference, USENIX ATC 2010, Boston, MA, USA, June 23-25, 2010, P. Barham and T. Roscoe, Eds. USENIX Association, 2010.
[54] “GNU tar 1.35: Basic Tar Format — gnu.org,” https://www.gnu.org/software/tar/manual/html_node/Standard.html, [Accessed 18-03-2025].
[55] A. Goel and C. Prabha, “A detailed review of data deduplication approaches in the cloud and key challenges,” in 2023 4th International Conference on Smart Electronics and Communication (ICOSEC). IEEE, 2023, pp. 1771–1779.
[56] Y. Fu, J. Su, J. Ning, J. Wu, Y. Lu, and N. Xiao, "Distributed data deduplication for big data: A survey," ACM Computing Surveys, 2025.
[57] D. Viji and D. Revathy, “Comparative analysis for content defined chunking algorithms in data deduplication,” Webology, vol. 18, no. SpecialIssue2, pp. 255–268, 2021.
APPENDIX A STOCHASTIC ANALYSIS OF AE
Definition 1. In AE, marks a cut-point if it is the first position for which .
In order for any byte at position to become subject to the matching condition, all previous bytes must have failed the matching condition . However, these are not independent events. The event influences the expectation of , and therefore affects the probability . So does every previous condition back to , as it influences the expected value of . This leads to a chain of recursive conditional probabilities that we express as
For the purpose of readability, we introduce the abbreviation to denote the maximum value among bytes. As we are assuming uniformly distributed random data, and bytes are discrete variables in , the probability for any byte to take any value is . Furthermore, , , , and .
Lemma 1. The cumulative distribution function follows
for and can be used to express the probability mass function of :
for . Further, a lower bound x changes this distribution to
for and .
Intuitively, as increases, the probability of observing small values of diminishes, since more bytes contribute to the maximum. We illustrate this in Figure 9. Further, . For instance, with , . That is, for any .

Fig. 9: Probability mass function for . Note, m is discrete; line plots were chosen for readability. As h increases, the expected value for converges to 255.
The practical implication of this is that when AE is used with target chunk sizes beyond 2 KB, the approximation that can be used to simplify the problem to
On average, therefore, a chunk cut-point will be found after the evaluation of 256 bytes. Hence, target chunk size for AE is for large values of ; the parameterization is determined by . We continue with extended calculations for small target chunk sizes.
The probability for a random byte to fail the matching condition is
The probability in this form would apply to the first byte of the sequence, i.e., it is equivalent to .
The second byte , which only gets evaluated under the pre-condition that , faces the same condition as its precursor, but has a different probability as it is conditioned:
(5)
The expectation of and the expectation of are shifted towards higher values, given that .
The two conditional probabilities needed to solve (5) are less trivial. We are deriving using Bayes' formula, which transforms the expression to
We derive the inversed conditional probability in the following lemma.
Lemma 2. The probability of a byte being smaller than the maximum value among the h bytes in its horizon, given that one of the bytes is known, can be expressed as
(7)
Proof. Given , we know that . That is, either is the maximum in this horizon and , or the remaining bytes are .
Lemma 3. The probability distribution for the maximum value among h bytes, given that the preceding byte is smaller than the maximum value in its horizon, can be expressed as
which can be evaluated as
(8)
Proof. The expectation about a subset of bytes is influenced by the given condition, i.e., all bytes in the target sequence except for its final byte . Intuitively, one byte will be while the remaining bytes of the intersecting horizon are . By multiplying the chance for one of these bytes by , we account for every byte in the intersecting horizon to be in place of the maximum value. In the formula, we used as an arbitrary placeholder, as any byte in the affected sequence yields identical chances. Simultaneously, we also verify that the final (non-intersecting) byte . Finally, we account for the case that the final byte and all bytes in the conditioned sequence .
Evaluating (5) using Lemmas 2 and 3 accumulates six hierarchies of sum-loops. The complexity further depends on the size of . Even with low values for , the evaluation turns out too computationally expensive (we interrupted the execution after two hours). Therefore, we deem exact analytical solutions impractical. We recommend an experimental approach for tuning for low target chunk sizes, and making use of the approximation for target chunk sizes beyond 2 KB.
APPENDIX B STOCHASTIC ANALYSIS OF RAM
Definition 2. Let be independent bytes uniformly distributed on , and let be an integer. RAM fixes and cuts after the first subsequent byte at least as large as . Thus and the chunk length is .
Conditional on , each subsequent byte succeeds with probability , independently of the preceding subsequent bytes. Hence is geometric on , with
Averaging over the maximum distribution in (4) gives a mixture of geometric waiting times:
(10)
The benchmark horizons were selected using the approximation in Equation (2). This approximation takes the reciprocal of the average success probability, rather than averaging the conditional waiting times. By convexity, Jensen's inequality gives ; thus (2) underestimates (1). For horizons 327 and 780 the differences are approximately 32 B and 6 B, respectively.
Solving (2) and rounding gives the benchmark horizons 327, 780, 1792, 3840, 7936 for targets 512, 1024, 2048, 4096, 8192 bytes, respectively. At the two smallest targets, both the exact-model predictions and the measured RAND means round to 544 B and 1030 B, respectively (Table VIII). Minimizing over positive integer horizons for each configured target instead selects 300 and 774 for the two smallest targets and the same benchmark horizons for the three larger targets; these are calculated parameter choices, not additional measurements. Strictly increasing means permit binary search, with the smaller horizon selected on ties.
Finally, implies and . At , this approximation differs from the exact mean by less than 1 B. Relating this IID model to measurements also requires accounting for implementation-specific boundary indexing and terminal chunks.