Resource budget
What each deployment uses of its cores, buses and memory, and how long its end-to-end chains take, against the budgets the requirements set. It reads the timing analysis. It does the job of the anfra BigQuery Cost & Usage app.
archec new my-app --kind data-app --template resource-budget
archec ui preview my-app/main.arche --serve
What it shows#
- A filter: the deployment,
Roverto start. - Three tiles: the peak core load against
REQ-CPU, the peak bus load againstREQ-BUS, the memory used againstREQ-MEM. - The load of each core. A click opens the processor: its cores' load by thread, and its threads with their response time and deadline.
- The bus load, the memory used per processor, and each chain against its budget.
The data#
data/timing.jsonisarchec analyze --json: runarchec analyze main.arche --json > data/timing.jsonon your model.- One dataset per table of the analysis:
analyze threads,cores,buses,memory,chains. A thread'sloadis its time over its period.
Limits#
- The analysis has no power figure, so the template has no power budget.
- A load is a fraction, so its metric multiplies it by 100 for
unit %.
The model is lib/data-apps/resource-budget/main.arche, and the gallery lists
the other templates.