Dynamic Merkle Tree
A Dynamic Merkle Tree is a research hash-tree design that adapts its shape to storage access patterns to reduce authentication-path costs.
Burke and colleagues use modified splay operations to move frequently accessed regions closer to the root while preserving hash-tree invariants. Their FAST 2025 evaluation uses a block-device-in-user-space prototype on cloud virtual machines with locally attached NVMe storage, synthetic Zipfian workloads and application traces. [1]
The motivating measurement is that a balanced tree grows taller as capacity grows. In their setup a balanced binary tree lost about 60% of throughput relative to encryption without integrity at 16 MB and about 75% at 4 TB, and 4-ary and 8-ary trees lost about 70% at 4 TB. The adaptive tree reached more than 85% of the optimal throughput, improved throughput and latency by up to 2.2 times and cost about 6% relative to binary trees under uniform access. [1]
Linux dm-verity is a contrasting design. Its target is read-only, hashes are verified on demand up to the root hash and each hash block packs as many digests as fit, so a SHA-256 tree over 4096-byte blocks holds 128 digests per block. The shape is fixed by device size and does not adapt to access frequency. [3]
Relations
- related
- Merkle tree, dm-verity, Rollback protection
Advantages
- Shortens authentication paths for hot blocks, which reduces hashing and metadata I/O on skewed workloads. [1]
Limitations
- Reported gains are workload- and prototype-specific and are not measurements of stock Linux dm-verity or evidence of a deployed confidential-VM guarantee. [1]
- The threat model trusts the virtual machine and its memory and keeps the root hash in a secure location, so it does not cover a compromised guest. [1]
Citations
- Burke et al. On Scalable Integrity Checking for Secure Cloud Disks. FAST 2025, sections 3, 6 and 7.
- Linux kernel documentation. dm-verity: table parameters, theory of operation and hash tree.
Further reading
Sources & caveats
- dmt2025 is the FAST 2025 paper by Burke and colleagues, re-read on 2026-10-22 in the motivation, design and evaluation sections.
- The 60%, 75%, 70%, 85%, 2.2 times and 6% figures and the 16 MB and 4 TB capacities come from dmt2025.
- dm-verity is the Linux kernel admin guide page for the dm-verity target, read in the table parameters, theory of operation and hash tree sections.
- The 128 digests per block are computed from the 4096-byte block and the 32-byte SHA-256 digest of the dm-verity example.