ZeroFS vs Azure Files Benchmarks

All tests ran on an Azure Standard D8ads v6 VM (8 vCPUs, 32 GiB memory) in the West Europe region. Results published August 2025.

Test Setup

  • VM: Azure Standard D8ads v6, West Europe
  • ZeroFS Storage: Azure Blob Storage (Hot tier)
  • Azure Files Configuration: Hot tier, Standard performance
  • Azure Files Mount: CIFS/SMB with cache=none (client-side caching disabled)
  • Benchmark suite: github.com/Barre/ZeroFS/bench
  • Operations per test: 10,000

Architecture Differences

ZeroFS: One userspace process serving Azure Blob Storage as a POSIX filesystem, mounted over 9P for these tests. No other infrastructure is involved.

Azure Files: Managed SMB/CIFS service with NFS support.

Performance at a Glance

Key Performance Differences

Sequential Writes (higher is better)Azure: 34.9x slower
ZeroFS
988 ops/s
Azure
28 ops/s
Data Modifications (higher is better)Azure: 15.7x slower
ZeroFS
1063 ops/s
Azure
68 ops/s
File Append (higher is better)Azure: 16.6x slower
ZeroFS
1118 ops/s
Azure
67 ops/s
Empty Files (higher is better)Azure: 41.5x slower
ZeroFS
1374 ops/s
Azure
33 ops/s
Empty Directories (higher is better)Azure: 38.9x slower
ZeroFS
1598 ops/s
Azure
41 ops/s
Random Reads (higher is better)Azure: 4.2x slower
ZeroFS
1389 ops/s
Azure
327 ops/s
Git Clone (lower is better)ZeroFS: 8.3x faster
ZeroFS
2.2s
Azure
18.3s
Cargo Build
ZeroFS
2m 03s
Azure
Failed
TAR Extract (lower is better)ZeroFS: 18x faster
ZeroFS
9.1s
Azure
2m 41.6s
Storage Cost per GB (lower is better)ZeroFS: 1.4x cheaper
ZeroFS
2.0¢
Azure
2.7¢

Benchmark Results

Synthetic Benchmarks

TestZeroFSAzure FilesDifference
Sequential Writes
Operations/sec988.1828.3234.9x faster
Mean latency1.01ms35.28ms34.9x slower
Success rate100%100%-
Data Modifications
Operations/sec1,063.0067.6415.7x faster
Mean latency0.94ms14.78ms15.7x slower
Success rate100%100%-
Single File Append
Operations/sec1,118.0467.3116.6x faster
Mean latency0.89ms14.85ms16.7x slower
Success rate100%100%-
Empty Files
Operations/sec1,374.4433.1241.5x faster
Mean latency0.53ms30.17ms56.9x slower
Success rate100%100%-
Empty Directories
Operations/sec1,597.7141.0838.9x faster
Mean latency0.62ms24.33ms39.2x slower
Success rate100%100%-
Random Reads
Operations/sec1,389.42327.184.2x faster
Mean latency0.72ms3.05ms4.2x slower
Success rate100%100%-

Real-World Operations

OperationZeroFSAzure FilesNotes
Git clone2.2s18.3sZeroFS repository
Cargo build2m 03sFailedBuild artifacts corrupted
tar -xf (ZFS source)9.1s2m 41.6sZFS 2.3.3 release tarball

Issues with Azure Files

Build Corruption

The cargo build failed on the Azure Files mount:

error: linking with `cc` failed: exit status: 1
  = note: /media/bench/ZeroFS/zerofs/target/debug/deps/serde_derive-44a05269d948f943.serde_derive.f1ce333ee4d08087-cgu.12.rcgu.o: 
          file not recognized: file format not recognized
          collect2: error: ld returned 1 exit status

Object files written during the build were corrupted; the linker could not use them.

Cost Analysis

Storage Cost Comparison

Based on Azure pricing in West Europe, as of August 2025:

Azure Files Pricing:

  • Storage: $0.0271/GB-Month (Hot tier)
  • LRS redundancy included
  • Per-transaction charges apply

Azure Blob Storage Pricing (for ZeroFS):

  • Storage: $0.0196/GB-Month (Hot tier)
  • LRS redundancy included
  • Per-transaction charges apply

Raw Storage Cost Comparison

Storage SizeZeroFS (Blob) MonthlyAzure Files MonthlyCost Difference
100 GB$1.96$2.711.4x more expensive
1 TB$19.60$27.101.4x more expensive
10 TB$196.00$271.001.4x more expensive
100 TB$1,960.00$2,710.001.4x more expensive

Annual Storage Cost Projection

Storage SizeZeroFS (Blob) AnnualAzure Files AnnualAnnual Savings with ZeroFS
100 GB$23.52$32.52$9.00
1 TB$235.20$325.20$90.00
10 TB$2,352.00$3,252.00$900.00
100 TB$23,520.00$32,520.00$9,000.00

Notes:

  • The tables cover storage only. Both services also charge per transaction; those charges are not included.
  • Both prices include LRS (Locally Redundant Storage).

Technical Details

Sequential Writes

Creates files in sequence. Tests metadata performance and write throughput.

ZeroFS: 10,000 files in 10.1 seconds
Azure Files: 10,000 files in 353.1 seconds (34.9x slower)

Data Modifications

Random writes to existing files. Tests consistency and caching.

ZeroFS: 10,000 operations in 9.4 seconds
Azure Files: 10,000 operations in 147.8 seconds (15.7x slower)

Single File Append

Appends to a single file. Tests lock contention and write ordering.

ZeroFS: 10,000 operations in 8.9 seconds
Azure Files: 10,000 operations in 148.6 seconds (16.6x slower)

Empty File Creation

Pure metadata operations without data writes.

ZeroFS: 10,000 files in 7.3 seconds
Azure Files: 10,000 files in 301.9 seconds (41.5x slower)

Empty Directory Creation

Tests directory metadata operations.

ZeroFS: 10,000 directories in 6.3 seconds
Azure Files: 10,000 directories in 243.4 seconds (38.9x slower)

Random Reads

Tests read performance from various file positions.

ZeroFS: 1,389.42 ops/sec
Azure Files: 327.18 ops/sec (4.2x slower)

Git Clone

Tests mixed read/write patterns with metadata operations.

ZeroFS: Completed in 2.2 seconds
Azure Files: Completed in 18.3 seconds (8.3x slower)

Compilation Workload

Rust compilation of ZeroFS codebase. Tests mixed read/write patterns and file consistency.

ZeroFS: 2 minutes 3 seconds (successful)
Azure Files: Failed - corrupted build artifacts

Archive Extraction

Extracting ZFS 2.3.3 source tarball. Tests sequential file creation with varying sizes.

ZeroFS: 9.1 seconds
Azure Files: 161.6 seconds (17.8x slower)

Summary

On this setup, ZeroFS completed the synthetic benchmarks 4.2x to 41.5x faster than Azure Files. The gap is widest in metadata operations: 24 to 35 ms mean latency on Azure Files against 0.5 to 1 ms on ZeroFS.

The Blob storage backing ZeroFS costs $0.0196/GB-month against $0.0271/GB-month for Azure Files (Hot tier, West Europe, storage only). The cargo build failed on Azure Files in this configuration with corrupted build artifacts; the same build completed on ZeroFS in 2 minutes 3 seconds.

Was this page helpful?