procedure Servers & hardware
Plan a safe and meaningful storage benchmark
Define the comparison, verify a disposable target and permission, and set workload limits, cache assumptions and a stop rule. A complete plan is neither a measurement nor authorization to run.
What it means
Start with a disposable target and a question that tells you what to keep constant. For example: With the same 50 MiB dataset and write rate limit, does allowing four outstanding requests instead of one change write latency? Queue depth is the setting you would vary; latency is what you would need to measure. The planner checks the declarations for a proposed workload. It does not measure latency.
Read-only does not mean free of interference. Microsoft’s benchmark guidance warns that a benchmark can disturb production work and that concurrent work can affect how you interpret the benchmark. This planner therefore requires a disposable target for reads as well as writes. That is its safety policy, not a universal tool requirement.
Try it
Use synthetic declarations only. This local simulation performs no storage I/O, produces no executable job and grants no authorization.
Plan a safe and meaningful storage benchmark
Validate a synthetic plan for disposable target, workload, duration, limits, cache mode and stop conditions; show missing prerequisites and invalid comparisons.
Local simulation only: no device, service, stored object or database is changed, and no real operation is authorized.
The required declarations are present: disposable scope, permission, workload, capacity, queue depth, duration, rate, cache and stop condition. This validates declarations, not the real host.
A plan declaration never starts a workload
- Plan assessment
- plan-complete-not-authorized
- Known missing prerequisites
- None
- Real execution authorized by this lab
- No
Evaluated evidence
- Target isolation declaration
- disposable
- Explicit permission declaration
- yes
- Planned workload
- write
- Working dataset (MiB)
- 50
- Disposable target capacity (MiB)
- 100
- Queue depth (requests)
- 4
- Duration bound (seconds)
- 30
- Cache mode declaration
- declared-direct
- Observable stop condition
- io-error
- Rate bound (MiB/s)
- 10
No executable job, shell, raw-device path, I/O, performance result or authorization is produced. Read-only tests can also disturb production; this model requires disposable targets for every workload.
About this model
Every input is local synthetic evidence. Numbers stay as raw text until this model validates them. The shown evaluated values come from the same result as the explanation.
Presets replace the entire scenario. Reset restores all starting fields, scenario selection and model state; it does not change the open or closed state of this help or article FAQ.
No external request, device command, stored-input history or measurement is performed.
- Read the default plan. It declares a disposable target, explicit permission and a write workload. The 50 MiB working dataset fits within the declared 100 MiB target. Queue depth is 4 requests, the duration bound is 30 seconds and the rate bound is 10 MiB/s. Cache mode is
declared-direct, and the stop condition isio-error. With those declarations present, the assessment isplan-complete-not-authorizedand the model reports that execution is not authorized. The 10 MiB/s figure is a limit, not achieved throughput. - Choose “Declare a production target: STOP.” Only the target changes. The dataset still fits and the duration is still bounded, but neither protects production data from a write. The assessment is
stop, with reasontarget-not-disposable. Here a successfully computed assessment means the planner could assess the input, not that the plan is safe. Changing the declaration back todisposableremoves that blocker; it does not verify isolation or permission on a real host. - Choose “Inspect the evidence boundary.” This plan has the default disposable target but changes the cache declaration to
unknown. The status isunknown: there is no basis for treating the cache conditions as matched. Evendeclared-directanddeclared-buffereddescribe intended conditions, not observations of how a device handled the requests.
Starting from the default, denying permission or increasing the dataset to 101 MiB gives stop. Choosing None for the stop condition instead gives incomplete: a time limit says when time runs out, not what evidence should end the workload early.
Numeric inputs require whole-number decimal strings within the stated bounds. A duration of 0 seconds is invalid, as is a queue depth of 4.000000000000000001; the planner does not round it to four. Invalid input produces no plan assessment. Reset restores all default inputs and the default scenario, returns the step and virtual time to zero, and clears errors, history and any comparison.
In practice
Before considering a real test, record which target can be discarded, who confirmed its isolation and who granted permission for the specific workload. For an I/O-error stop condition, name the person watching for the error and who can halt the test. If you cannot establish the target or the permission, stop rather than treating a checkbox as evidence.
For the queue-depth question, write the one-request and four-request plans side by side. Keep the workload, dataset, cache policy, rate cap, duration bound and stop rule the same. Specify the size of each request separately: 50 MiB describes the working dataset, not an individual write. Be precise about time, too. The fio documentation distinguishes a runtime limit from a time-based workload: without time_based, the workload can finish before the runtime limit.
A complete plan tells you what comparison you intend to make. It neither authorizes the test nor tells you which queue depth has lower latency. If you cannot say what would change, what would stay fixed and what observation would answer the question, refine the plan before interpreting a performance number.
Frequently asked questions
Editorial questions based on the listed sources and explicitly labeled local examples.
Why is a production target unsafe?
A workload can overwrite data or disturb other work. This validator therefore requires a declared disposable target even for reads; a production target yields STOP. That is a safety policy, not a diagnosis of a particular host.
What makes two results comparable?
Define the same question and record workload, dataset, queue depth, duration, cache mode and limits before comparing results. This lab checks that those declarations exist; it does not certify two real measurements as comparable.
Why record cache conditions?
Otherwise, the compared tests may not be exercising the same data path. The sample distinguishes declared buffered and direct modes without assuming that a label proves how a real operating system or device handled every request.
Does a valid plan execute the test?
No. The planner never authorizes or executes a test. Invalid inputs return no assessment; a complete plan is neither authorization nor an executable command. This page performs no storage I/O.
Sources & model boundaries
Primary references used for this explanation. The interactive example is an educational model, not a live check.
- fio documentation
readonly; runtime; target/workload configuration. fio exposes read-only safety checks and explicit workload/time controls; runtime without time_based stops at workload completion or duration.
Checked .
- Azure VM performance diagnostics
Benchmark impact warning and workload interference. Benchmark activity can adversely affect production workloads, and concurrent workload activity can affect benchmark interpretation.
Checked .