Skip to main content

MD Trajectory Benchmarks

Trajectory benchmarks measure frame-wise SASA calculation under streaming, low-memory conditions. The current pinned throughput suite uses 100 sphere points, 10 threads, stride 1, the NACCESS classifier, and explicit hydrogens.

Throughput summary

MD throughput vs peak RSS

Figure 1. MD throughput versus peak RSS. The zsasa CLI paths occupy the high-throughput, low-memory region across the three workloads.

Headline values:

DatasetBest zsasa modeRuntimeFrames/sRSSSpeedup
5wvo_CCLI bitmask f320.839 s1,19422.6 MiB27.8× vs MDTraj
6sup_ACLI bitmask f326.949 s144115.9 MiB132× vs MDTraj
5vz0_ACLI bitmask f3238.056 s26364.6 MiB86.5× vs mdsasa-bolt

Per-dataset comparison

MD frames per second

Figure 2. Frames per second across trajectory workloads. zsasa CLI exact and bitmask modes are the fastest low-memory paths in the benchmarked workloads.

MD peak RSS

Figure 3. Peak RSS across trajectory workloads. The absolute-memory bars show why streaming trajectory processing matters for large or long trajectories.

MD runtime speedup

Figure 4. MD runtime speedup ratios. The n× speedup view is retained for direct comparator comparisons.

MD RSS reduction

Figure 5. MD RSS reduction ratios. This view shows the memory advantage of streaming trajectory processing.

Per-dataset values:

DatasetTool/modeRuntimeFrames/sRSSNotes
5wvo_Czsasa CLI f641.850 s54122.5 MiB12.6× faster than MDTraj
5wvo_Czsasa CLI bitmask f320.839 s1,19422.6 MiB27.8× faster than MDTraj
5wvo_CMDTraj23.285 s43.0158.0 MiBNative reference comparator
5wvo_Cmdsasa-bolt (Rust)4.477 s223.61,409 MiBHigher memory via MDAnalysis front-end
6sup_Azsasa CLI f6415.671 s63.9119.2 MiB58.6× faster than MDTraj
6sup_Azsasa CLI bitmask f326.949 s144115.9 MiB132× faster than MDTraj
6sup_AMDTraj917.892 s1.11,001 MiBNative reference comparator
6sup_Amdsasa-bolt (Rust)58.596 s17.111,621 MiBHigh peak RSS
5vz0_Azsasa CLI f6484.670 s11865.6 MiB38.9× faster than mdsasa-bolt
5vz0_Azsasa CLI bitmask f3238.056 s26364.6 MiB86.5× faster than mdsasa-bolt
5vz0_Amdsasa-bolt (Rust)3,293.112 s3.024,082 MiBMDTraj not run for this long trajectory

Workloads

DatasetFramesAtomsSourceUse
5wvo_C1,0013,858ATLASvalidation and throughput
6sup_A1,00133,377ATLASlarge-system throughput
5vz0_A10,00117,910ATLASlong-trajectory throughput

Memory interpretation

zsasa streams trajectory frames and keeps memory close to the current-frame working set. In contrast, the mdsasa-bolt path uses an MDAnalysis front-end that materializes atom data for every frame before the Rust SASA core runs, so its peak memory grows with trajectory length.

Validation pointer

Trajectory validation against MDTraj is covered in SASA Validation. In short, agreement improves with point count: the zsasa+MDTraj path reaches R² = 0.9938 at 500 points and R² = 0.9983 at 1,000 points on 5wvo_C.

Evidence source

The values above are exported from zsasa-benchmarks/results/tables/md_summary.csv and validation_pairwise_summary.csv.