Skip to main content

I/O tuning and analysis

User documentation · CLI reference

Leave saving, compression and serialization arguments in your application command after --. With supported snapshots, Warper suppresses saving during compute search, then restores it for full validation and a separate I/O stage.

Choose an I/O mode

python3 -m warper Forward --io-analysis auto --optimize-for 15m -- app.py

Replace Forward and app.py, keeping the application’s usual arguments.

Mode Use it to
auto (default) Detect supported saved/compressed outputs, suppress optional snapshots during compute search and restore full I/O afterward.
on Request analysis even when custom I/O cannot be detected automatically.
off Keep saving in compute search and skip the separate Systems stage. Application saving stays enabled.
only Analyze a recorded champion without repeating compute search.

To analyze an existing result:

python3 -m warper --resume SESSION_ID --io-analysis only

Matching completed analysis is reused. Supplemental analysis preserves the compute champion, recommendation and final result. Choose Sync sources to refresh a laptop copy afterward. Older sessions retain their recorded policy.

Systems traces require nsys on PATH, or an NSYS override. Automatic collection can retain a successful compute result even if tracing fails. Fix the tools and retry with only.

What gets tuned

Supported sessions test a small set of npthreads worker counts and buf-async-degree buffer depths while keeping compute kernels fixed. Buffer growth requires measured producer waits and sufficient memory. Only correctness-checked, consistently faster settings replace the incumbent. The stage uses the remaining original session budget and reuses paid work on resume.

Your application still controls compression provider, bit count, save mode and subsampling.

Read the results

The dashboard’s I/O analysis panel shows:

Measurement Meaning
Final runtime without setup Full application result, including saving and compression.
Ordinary compute/full comparison Observed I/O impact from one pair; it does not estimate variability.
Section mix and waits Diagnostic Devito timers. Asynchronous worker times can overlap.
Systems evidence Launches, transfers, synchronization and overlap. Trace durations do not replace performance measurements.
Compression ratios Logical/stored estimates, distinct from filesystem payload bytes.

A materially faster full-I/O control makes the impact comparison inconclusive; ordering, caching or other state may confound it.

Expand Snapshot storage & streaming settings for per-field counts and volume, or System cache & writeback for execution-node memory and filesystem context. System-wide cache counters do not establish how much of this run was cached.

The panel offers normalized metadata and Download .nsys-rep when retained. Records live under summary/io-analysis/ and summary/io-tuning/. Set a source’s include_nsys_reports to false to omit raw traces from the laptop archive while keeping normalized metrics. See report retention.

Back to top