KPI workloads and metrics#
KPI measures nine frozen workloads on three generated fixture bundles. This page defines what each workload does, its frozen settings, the work it must produce, and what each recorded time and memory value covers. The KPI glossary defines workload, bundle, attempt, campaign, controller, budget and the other KPI terms used here. Consumer terms such as backend, ovstage, OpenUSD, query, stage, duplicate and Suite API keep their consumer meaning. The KPI maintainer guide gives the quick start and explains how a run works, and Run KPI explains how to run KPI. Representative fixture stages explains how the bundles are generated, and KPI frozen contracts and maintenance the contract files behind these tables.
The three bundles are body-representative, cockpit-representative and
body-representative-depth, a full-motion Body bundle that only the Dynamic depth workload
uses. The workloads cover static and dynamic canonical reports (the overlap reports that the
canonical API returns), fresh saves through the Suite API, Body maximum local depth in MEDIUM
mode (OVCLASH_MAX_LOCAL_DEPTH_MODE_MEDIUM, the refined estimate of medium accuracy), Cockpit
7.5 mm clearance and Body duplicates-only detection. Both backends, ovstage and OpenUSD, run the
same stages, settings, scopes and sample grids on Windows x86-64, Linux x86-64 and Linux
AArch64. Every launcher run measures the same nine workloads, and no renderer or GPU is needed.
The nine workloads#
Workload ID |
Scope |
Schedule |
Consumer operation |
|---|---|---|---|
|
Full scene |
Time zero; 1 sample |
Create the runtime, open, detect, extract every report |
|
Full scene |
0–2 s at 32 samples/s; 65 samples |
Same, for every dynamic record |
|
Full scene |
Same 65 samples |
Detect, fetch all results, commit and explicitly save a fresh database |
|
Full scene |
Time zero; 1 sample |
Create the runtime, open, detect, extract every report |
|
Structure versus Module, Tool and Probes |
0–2 s at 32 samples/s; 65 samples |
Same, for every dynamic record |
|
Same scoped selection |
Same 65 samples |
Detect, fetch all results, commit and explicitly save a fresh database |
|
Full scene |
0–1.125 s at 8 samples/s; 10 samples |
Canonical reports with MEDIUM depth |
|
Full scene |
Time zero; 1 sample |
Canonical reports with 7.5 mm clearance |
|
Full scene |
Time zero; 1 sample |
Duplicate-only detection |
Cockpit selection A is /World/Station/Cell/Structure.
Selection B contains /World/Station/Cell/Mover/Module, /World/Station/Cell/Mover/Tool and
/World/Station/Cell/Mover/Probes. Every Body workload and every Cockpit static workload uses
the full scene.
Sampling includes both endpoints. A static workload runs 11 pipeline steps. A dynamic or Suite-save workload runs its sample count plus 7: 72 for the 65-sample workloads and 17 for Dynamic depth. Samples without contacts are still required work. Detection is sampled, not continuous: a contact that occurs only between two samples is not guaranteed to be found.
Query settings#
Each workload runs its query with these frozen settings. They are the consumer settings of the same names; Settings gives the type, range and default of each.
Setting group |
Frozen values |
|---|---|
Tasking |
|
Selection |
|
Contact mode |
|
Bounds and geometry |
|
Epsilons |
|
Depth and duplicates |
|
Results |
Report |
Persistence |
Suite-save workloads: a new database for every attempt, closed in SQLite’s DELETE journal mode |
The contract files store the exact values, including the native float conversions and every Suite-specific setting; this table only summarizes them. Do not change tasking, scopes or sampling to make a measurement faster: a different interval, task manager, scope or sample rate defines different work.
Depth, clearance and duplicates-only workloads#
These three workloads each change one setting of a base workload. Static clearance and duplicates-only run on the bundle of their base static workload. Static clearance has its own reviewed expected work. Duplicates-only keeps the 353 Body static duplicates and expects no overlap pairs, records, elements or report bytes.
Dynamic depth runs on the dedicated body-representative-depth bundle, which compresses the
same Body motion into 1.125 seconds; see
geometry and motion. Its expected work binds every
record’s maximum local depth to its pair, sample and element count. MEDIUM depth is computed
inside the timed pipeline.
The nine-workload contract describes the extension and depth references, how the depth rows are captured and replayed, and what the references do not prove.
Counts and saved stage sizes#
Each bundle’s stage counts come from the inventory metadata in its generated bundle.json;
they are not an independent geometric census.
Bundle |
Visible / hidden meshes |
Authored / expanded visible triangles |
Instance roots |
Layer files |
All layer bytes |
|
|---|---|---|---|---|---|---|
|
2,295 / 1,507 |
1,197,415 / 4,695,804 |
1,881 |
102 |
47,523,889 |
1,124,789 |
|
2,295 / 1,507 |
1,197,415 / 4,695,804 |
1,881 |
102 |
47,513,313 |
1,114,213 |
|
1,642 / 6,400 |
1,421,750 / 1,565,522 |
63 |
2,200 |
120,791,385 |
196,883 |
An authored definition can appear in many composed placements, so expanded triangles exceed
authored ones. Instance roots are not native prototype-cache entries. Layer bytes sum the
lengths of the manifest’s member files; they exclude bundle.json, reports, databases and
filesystem allocation.
The x86-64 contract expects this work. Volume is the native report size for canonical-report workloads and the logical BLOB size for Suite saves.
Workload |
Meshes |
Pairs |
Records |
Duplicates |
Elements |
Volume (bytes) |
|---|---|---|---|---|---|---|
Body static |
2,295 |
5,159 |
5,159 |
353 |
754,551 |
9,770,288 |
Body dynamic |
2,295 |
4,303 |
137,068 |
0 |
35,927,232 |
240,292,792 |
Body Suite save |
2,295 |
4,303 |
137,068 |
0 |
35,927,232 |
204,655,112 |
Cockpit static |
1,642 |
3,027 |
3,027 |
10 |
217,321 |
6,883,872 |
Cockpit dynamic |
1,642 |
115 |
790 |
0 |
7,585 |
401,008 |
Cockpit Suite save |
1,642 |
115 |
790 |
0 |
7,585 |
195,608 |
Body dynamic depth |
2,295 |
4,221 |
21,959 |
0 |
5,572,042 |
38,367,408 |
Cockpit static clearance |
1,642 |
3,612 |
3,612 |
10 |
50,343,522 |
14,743,488 |
Body duplicates only |
2,295 |
0 |
0 |
353 |
0 |
0 |
The columns count the work of one workload; the glossary defines the run, attempt and campaign terms.
Column |
Meaning |
|---|---|
Meshes |
The native |
Pair |
One overlap group; duplicates are counted separately |
Record |
One pair at one sampled time, so dynamic workloads have more records than pairs |
Element |
A record’s number of overlapping triangles or points ( |
On Linux AArch64, three workloads expect different values, each pinned exactly by its own reviewed file:
Workload |
Linux AArch64 value |
File |
|---|---|---|
Cockpit static |
Element counts of 8 records (each +1 or -1; total 217,321 unchanged); 6,883,868 report bytes |
|
Cockpit static clearance |
Element counts of 7 records, 50,343,528 elements in total; 14,743,080 report bytes |
|
Body dynamic depth |
38,367,432 report bytes |
|
Pair and sample identities, duplicates and settings stay the same, and the checks keep no tolerance. See why Linux AArch64 has its own expectation files.
Dynamic depth also writes a packed depth stream, benchmark-depth.bin, of 439,180 bytes: one
20-byte row for each of its 21,959 records. Depth rows
gives the row format.
Timing boundaries#
operation_seconds runs from runtime creation through usable results: complete canonical
report consumption, or a successful explicit Suite save. A Suite operation also includes fresh
database creation and query insertion. Process launch, module import, stage generation,
CPU admission and teardown are outside this interval. The attempt’s
Total in the console workload tables is the attempt’s wall
time: it adds CPU placement and admission, process launch, module import, verification,
retention and cleanup to the operation. Each attempt starts a fresh process and runtime after
the input preflight, the content hash of the bundles at the start of the session, has warmed
the filesystem cache, so it is not a cold-disk measurement. Suite workloads record this as the
local-disk-warm-cache-after-preflight filesystem policy.
Each attempt records these clocks in its metrics object. Every value is a number of seconds.
“Canonical” marks the seven canonical-report workloads (operation canonical-cold), and “Suite”
the two Suite saves (operation suite-fresh-save).
Field |
Type |
Required |
Boundary |
Inside |
|---|---|---|---|---|
|
number, seconds |
Canonical |
Creating the canonical runtime |
Yes |
|
number, seconds |
Every workload |
Opening the stage |
Yes |
|
number, seconds |
Every workload |
Sum of the Python |
Yes |
|
number, seconds |
Every workload |
The enclosing pipeline loop, including the step calls |
Yes |
|
number, seconds |
Canonical |
Canonical report extraction, release and metadata reduction in one traversal |
Yes |
|
number, seconds |
Canonical |
Fetching, copying and releasing canonical report buffers |
Yes; inside result capture |
|
number, seconds |
Canonical |
The rest of result capture: canonical metadata reduction and bookkeeping |
Yes; inside result capture |
|
number, seconds |
Suite |
Suite fetch-and-save iteration, native commit and explicit save |
Yes |
|
number, seconds |
Suite |
The same interval as |
Yes; do not add the two |
|
number, seconds |
Every workload |
Child checks after result-ready; canonical-report workloads add the metadata time already counted in result capture |
Partly |
|
number, seconds |
Every workload |
Writing and hashing the child receipt (the child’s result record), the canonical cardinality files and, for Dynamic depth, the depth stream |
No |
|
number, seconds |
Suite |
The controller’s single metadata scan of the closed Suite database |
No; inside controller verification |
|
number, seconds |
Every workload |
Controller contract and expected-work checks, excluding retention |
No |
|
number, seconds |
Every workload |
Hashing the Suite database, then writing and hashing its stored summary |
No |
|
number, seconds |
Every workload |
|
Partly; not a disjoint total |
|
number, seconds |
Once per campaign, in the controller’s |
Full bundle-content checks at the start and end of the session |
No |
These clocks overlap. Do not add child verification to operation time, and do not sum nested clocks to reconstruct total cost. Use the wall clock of the whole run or campaign for overall cost, including preparation, admission waits and retention. Generation timing is kept per bundle and in an aggregate receipt outside the measured workloads.
Metrics and measurement boundaries#
The noise gate and the budgets cover only the required metrics of each workload:
Operation |
Required metrics |
|---|---|
Canonical report ( |
|
Suite save ( |
|
Seven canonical and two Suite workloads give 47 required cells per CPU model on Linux and 56 on Windows. Every other recorded value is descriptive and has no budget:
pipeline_samples_per_secondis the canonical dynamic sample count divided bypipeline_step_seconds.logical_payload_bytesis the sum of stored BLOB lengths from the controller’s metadata scan.serialization_secondsrecords the same interval asextraction_serialization_seconds.The sampled and starting memory values are described in memory scope.
database_bytes is the physical length of the closed SQLite file. It is a required metric with
a budget in each platform’s packages, not an expected value, because it differs between
platforms; see
expected-work identity.
The budget noise of extraction_serialization_seconds is at least 30% of its pooled median,
because its time varies between runner hosts more than one collection job shows; see
budget limits.
Canonical cold operations#
The operation starts immediately before context creation. It includes stage opening, complete
settings application and readback, scope, pipeline creation and execution, and every requested
report buffer. Report mask 30 copies the matrices, the point-size scalar, faces, outlines and
points in bounded chunks, and releases each borrowed report. The same traversal collects pair,
sample and element metadata. The six base workloads have no payload hash oracle, raw binary
replay capture or second report traversal. The Body dynamic-depth workload adds the
post-result-ready metadata replay described in the
nine-workload contract.
report_bytes counts the two matrices, the point-size scalar and the buffers at their native
field sizes, excluding pointers and Python object overhead. Extraction neither keeps nor hashes
the buffer contents.
Canonical attempts also keep diagnostic buffer counts in benchmark-report-cardinalities.bin
and a canonical pair-name mapping in benchmark-report-cardinality-pairs.json. Each packed
33-byte row identifies its pair and sample, the face-buffer counts for both canonical object
names, the outline-segment count, the point-index count, the element count and the point-owner
side. These are counts from the same report lease; no geometry or buffer content is copied
again. Collecting them belongs to metadata time inside the operation. Writing and hashing the
files happens after result-ready and belongs to retention_seconds. The controller checks their
bounded file lengths, hashes and binding to the compact summary without replaying single rows.
benchmark-report-cardinalities.bin (format ovclash-kpi-report-cardinalities-v1) holds one
row per record, little-endian, with no header and no padding. Its length is exactly the record
count times 33 bytes:
Field |
Type |
Offset (bytes) |
Description |
|---|---|---|---|
Pair |
uint32 |
0 |
Index of the pair, its native overlap group, in the |
Sample |
uint32 |
4 |
Index of the record’s sample in the workload’s sample grid |
Faces 0 |
uint32 |
8 |
Face-buffer count of the first canonical object name of the pair |
Faces 1 |
uint32 |
12 |
Face-buffer count of the second canonical object name |
Outline segments |
uint32 |
16 |
Outline-segment count |
Points |
uint32 |
20 |
Point-index count |
Elements |
uint64 |
24 |
The record’s element count |
Point owner |
uint8 |
32 |
The canonical side, |
benchmark-report-cardinality-pairs.json is one compact ASCII JSON object with sorted keys. Every
field is required, and no other field is allowed:
Field |
Type |
Required |
Default or values |
Description |
|---|---|---|---|---|
|
integer |
Yes |
|
Format version |
|
string |
Yes |
|
Format name |
|
string |
Yes |
64 lowercase hexadecimal digits |
SHA-256 of the attempt’s retained compact summary |
|
string |
Yes |
64 lowercase hexadecimal digits |
The sample grid identity of the summary |
|
array of two-string arrays |
Yes |
One entry per pair, in native overlap-group order |
The two canonical prim paths of each pair; the rows’ Pair field indexes this list |
The files help locate a report-volume difference; the expected-work and exact volume checks still decide the verdict. They are bounded diagnostic evidence (32 MiB for the pair mapping, 160 MiB in total), not a geometry oracle or a source of new expectations.
The timer stops at result-ready, before statistics, the expected-work comparison, receipt writing and teardown. Context creation is included; process launch, module import and input preparation are outside. A fresh child gives a cold library state, while input preflight has already warmed the filesystem caches.
Dynamic and Suite operations#
Pipeline throughput excludes loading and report consumption. Step-name lookup and schedule validation are outside the step-call sum. A schedule cannot be inferred from report records alone, because some required samples have no clashes.
The Suite operation starts before runtime, serializer and data-handle creation. It includes
fresh database creation, query insertion, stage opening, settings and scope, the pipeline, a full
fetch_and_save_overlaps iteration, iterator closure, native commit and a successful explicit
data.save(). This is API-level save completion, not a power-loss durability guarantee.
Serialization is already inside the operation.
After result-ready, the child collects live metadata, closes the database and drains native
owners. The controller then scans the closed database once. It compares every stored header and
frame’s metadata with the live results and the frozen expectations, including the exact saved
query settings and logical BLOB length. No geometry predicate or payload decoding runs. DELETE
journal mode and the absence of the WAL (write-ahead log), SHM (shared-memory index) and journal
sidecar files are required. The controller
hashes the database and keeps benchmark-stored-summary.json for calibration export, which
does not repeat that scan.
Memory scope#
Linux VmHWM and Windows PeakWorkingSetSize cover the operation child from process startup
through result-ready, as resident_high_water_bytes. Windows also records PeakPagefileUsage
as private_high_water_bytes. These counters include Python, runtime bootstrap, normal result
capture and the in-process observer, even though operation latency starts
later. They exclude
the controller and post-result verification and are not process-tree aggregates. The public-API
operation must not spawn descendants.
Each memory value is an integer number of bytes in the attempt’s metrics object. A value that
the observer could not take is left out of metrics, so only the required metrics must be
present:
Field |
Type |
Required |
Console label |
Meaning |
|---|---|---|---|---|
|
integer, bytes |
Yes, a required metric of every workload |
OS peak resident |
The largest resident usage the OS recorded since process startup (Linux |
|
integer, bytes |
On Windows, a required metric; never recorded on Linux |
OS peak private commit |
Windows only: the largest process-private committed memory ( |
|
integer, bytes |
No. Recorded only when the observer saw the result-ready boundary and took at least three samples; the private value only on Windows |
Sampled peak |
The largest periodic reading during observation; it can miss a short spike between readings |
|
integer, bytes |
No; the private value only on Windows |
Starting |
The first reading |
All of them describe absolute memory sizes, not growth; do not add or subtract them as separate allocations. Resident memory is RAM held by the process, including shared pages. This observer provides no private-memory counter on Linux.
Memory freezes at the explicit result-ready boundary, before the remaining audit, receipt serialization and teardown. Canonical metadata collected inside the operation is included. A final process-exit peak cannot repair an absent boundary or a missing counter. Resident and private-commit values are distinct series; neither establishes minimum machine RAM or the capacity for an arbitrary scene.