What BitLocker Costs an S2D CSV
Encrypted vs. unencrypted Cluster Shared Volumes, benchmarked side by side on Cascade Lake and Sapphire Rapids, to put numbers on what BitLocker costs.
Table of Contents
Preface
“What does BitLocker cost?” comes up on almost every S2D or Azure Local project. The usual answers are “nothing” or “nothing is free”, and everyone wants the security without the performance hit. Neither answer comes with numbers, so I measured it.
I ran the same test on two CPU generations:
- a 2-node cluster on 2nd-gen Xeon Scalable (Cascade Lake)
- a single node on 4th-gen Xeon Scalable (Sapphire Rapids)
The short version:
- Small writes barely notice BitLocker on either generation.
- Small reads pay about 24 µs each, and a newer CPU doesn’t change that.
- Bulk throughput is where the CPU generation matters. Sapphire Rapids roughly halves the hit.
The test
I created two identical CSVs and benchmarked them against each other with diskspd, from small random I/O up to large sequential transfers. Then I encrypted one of them (XTS-AES-256, the Azure Local default) and ran the same benchmarks again. Comparing the two volumes side by side cancels out anything else going on in the host, so the difference that’s left is BitLocker. I turned off the CSV block cache on both, so reads came from the drives rather than RAM (more on that below).
| Cascade Lake system | Sapphire Rapids system | |
|---|---|---|
| CPU | 2× Xeon Gold 6240 | 2× Xeon Silver 4410Y |
| AES instructions | AES-NI | AES-NI + VAES |
| Topology | 2 nodes | 1 node |
The two systems are built differently, so the throughput percentages aren’t a straight comparison between them. The microseconds per I/O and the CPU per GiB/s are.
Results
Throughput
Three things stand out:
- 4K random reads at QD1 lose about a fifth of their IOPS on both CPUs. That’s the fixed read toll, covered in the next section.
- Small writes are flat. At QD1 the change was within the run-to-run noise on both systems.
- Big transfers are where the CPUs split. 64K sequential writes lost 24 % on Cascade Lake and 11 % on Sapphire Rapids. 512K sequential reads lost 15 % on Cascade Lake and 7 % on Sapphire Rapids.
Latency
This chart tells the story better than the throughput one does.
Writes: BitLocker encrypts a write before it goes to the drives, so the latency it adds is mostly the time the CPU spends encrypting. On Cascade Lake that’s about 11–14 µs for a 4K write and 40 µs for 64K. On Sapphire Rapids it’s 1–2 µs and 5 µs, about 8× faster at 64K. That’s VAES, plus two generations of core improvements. In both cases, a 4K write that takes 30–130 µs end to end doesn’t notice the extra time.
Reads: every small read profile adds 22–27 µs on both CPUs. That can’t be the decrypt itself: Cascade Lake encrypts 64K in about 40 µs, so decrypting 4K should take a few µs, not 25. The cost has to come from somewhere else in the read path. My best guess is that the data is handed off to another thread to be decrypted before the read completes. I haven’t traced it, so treat that as a theory. The practical point is the same either way: a newer CPU doesn’t make QD1 reads any faster under BitLocker. If an application is sensitive to single-threaded read latency, those 24 µs are what BitLocker costs it.
Host CPU
The CPU that BitLocker uses runs in the host partition, and with minroot the host doesn’t get many cores:
- At 512K, Sapphire Rapids needs about half the CPU per GiB/s (0.51 vs 0.92 logical processors). On the Cascade Lake system, streaming reads took root CPU from about 36 % of its 24 LPs on the plain volume to 75 % on the encrypted one, and still lost 15 % of their throughput.
- At 64K, the two CPUs cost the same (about 2.2 LPs per GiB/s). At that size, the fixed overhead of each I/O outweighs the cipher.
For the per-KB decrypt cost, a rough fit from the two sizes gives about 0.69 µs/KB on Cascade Lake and 0.27 µs/KB on Sapphire Rapids. It’s only two data points, so read it as “around 2.5× faster”, not as a spec.
One result I can’t explain
On the Sapphire Rapids system, 4K random reads at QD32 were 12 % faster on the encrypted volume. It happened in all three rounds with a 1.2 % spread, so it isn’t noise. At the same time, median latency went up 23 µs and host CPU rose by five LPs.
My theory: at about 41K IOPS per diskspd thread, the threads issuing the I/O were the bottleneck. If BitLocker moves the completion work onto other threads, those issuing threads get more time to submit. I haven’t proven it. This is not BitLocker making storage faster, it’s a side effect of how the benchmark loads the CPU, and I wouldn’t expect a real workload to see it.
What about hardware-accelerated BitLocker?
All of this is “software” BitLocker. The event log shows it using hardware AES (event 796), but
that only means CPU instructions, so the cipher still runs on the host’s cores. Microsoft announced
true hardware-accelerated BitLocker in late 2025, which offloads the cipher to a crypto engine.
It needs NVMe and an SoC that has that engine, and the first platforms are client chips (Intel Core
Ultra Series 3). There’s no server silicon list yet. When it arrives, manage-bde -status will show
Hardware accelerated as the encryption method. On my Sapphire Rapids node it showed “not hardware
accelerated”.
Until then, the realistic upgrade is the CPU: anything Ice Lake-SP or newer has VAES, which the Windows crypto library uses from Windows Server 2022 onward.
What I’d do with this
- Leave BitLocker on. For the writes and mixed workloads most clusters run, the cost is small: mostly single-digit percentages and microseconds, more on older CPUs for large writes.
- Factor in the CSV block cache. It sits above BitLocker, so a cache hit skips the decrypt along with the drive read. I turned it off for this test on purpose, so the read numbers are uncached worst cases. A workload that rereads its hot data pays the read toll much less often.
- Size minroot for streaming. If the cluster pushes multiple GB/s of reads (backups, analytics, large scans), the decrypt runs on host CPU. On older CPUs that’s close to one host logical processor per GiB/s.
- For QD1 read latency, measure before you promise. About 24 µs per read is real on every generation I tested. Most applications won’t notice it; a latency-sensitive database doing synchronous single-page reads might.
- When choosing CPUs, VAES (Ice Lake-SP and newer) roughly halves the bulk-transfer cost and makes write encryption close to free.
Caveats
- One system per generation. The effects are well outside the run-to-run noise, so I trust which way each one goes. I wouldn’t quote the exact ratios as a spec.
- The topologies differ. The Sapphire Rapids node is a single node with both mirror copies on local drives. On a multi-node cluster the network round trip hides more of the write cost as a percentage, though the microseconds stay the same.
- The Cascade Lake system ran a preview build of Azure Local. The Sapphire Rapids node ran a released one.
- CPU % is host-wide. It includes everything the host was doing. On the busier Cascade Lake system the small-I/O CPU readings were too noisy to use, so I only quote CPU for sequential reads.
- Uncached reads. The block cache was off. With it on, cached reads skip the decrypt cost.