Class Lqn_focus
lqn_focus.
Reduces a LayeredNetwork to a focused model (FM) that keeps a set
of preserved tasks and hosts unchanged and replaces every other task by one
aggregate task per dependency group, following Islam, Petriu and Woodside,
"Focused Layered Performance Modelling by Aggregation", ACM TOMPECS 2022.
The original model (OM) is solved once with SolverLN to obtain the
saturations S = U/m of every task and host. The preserved set is chosen by the
sat (SATr: forced elements plus every resource with S > Smax/r),
acc (ACCx: forced elements plus the i most saturated resources, i grown
until the reference-task throughput error is below x) or manual
(forced elements, the most saturated resource and preserve) strategy.
A preserved task preserves its host and a preserved host all of its tasks.
Tasks using features FSPT does not aggregate (priorities, AND forks/joins,
second phases, asynchronous calls, forwarding, open arrivals, replication,
fan-in or fan-out, setup/delay-off and activity think times) are always
preserved.
Non-preserved tasks with the same set Pi(T) of preserved tasks depending on them form a group, replaced by one aggregate task with one entry and one activity (eqs. 7-11). A host shared by several groups is split into shadow hosts of speed s_H (1 - saturation by the other groups) (eq. 15), or preserved when that capacity is not positive.
- Since:
- LINE 3.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classOne dependency group and its aggregate task.static final classOptions offocus(LayeredNetwork, Options).static final classFocused model and diagnostics, fields named as the MATLAB info struct.static final classOM and FM metrics of the retained tasks, entries and hosts. -
Method Summary
Modifier and TypeMethodDescriptionstatic Lqn_focus.Resultfocus(LayeredNetwork model) static Lqn_focus.Resultfocus(LayeredNetwork model, Lqn_focus.Options opt)
-
Method Details
-
focus
-
focus
-