Class Lqn_mol
A compact, self-contained reimplementation of the layered fixed point SolverLN runs,
restricted to LQNs in which every entry binds exactly one activity and there are no activity
precedences. It decomposes the model the way lqns --srvn-layering does -- one submodel
per processor and one per called task -- and sweeps them in the two phases of Rolia-Sevcik's
Method of Layers: all software (task) submodels, then all hardware (processor) ones.
Every submodel is a closed multiclass queueing network with ONE station and one class per
client task, so it is solved by Pfqn_qdamva rather than by building a Network. The
surrogate client delay of SolverLN collapses into the think-time vector Z of that call.
WHERE THIS DIFFERS FROM SolverLN's srvn.cs: a submodel here carries one class
per client TASK with visit-weighted demands, where srvn.cs carries one class per activity
and encodes the call multiplicities as routing. On an entry-only model the two agree on the
structure and differ only in the aggregation, so the throughputs and processor utilizations track
closely while entry response times spread more.
SCOPE. Entry-only models. Activity graphs (fork/join, OR-branches, loops, second phases, forwarding), asynchronous calls, caches, setup tasks, admission constraints, replication and open arrivals are REFUSED, not approximated, and named when they are.
INDEX BASE. LayeredNetworkStruct is 0-BASED, unlike MATLAB's lsn, which
numbers from 1: hosts run 0..nhosts-1, tasks tshift..tshift+ntasks-1, and so on,
with nidx the element COUNT. Every loop here is written in that convention.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classTuning of the outer fixed point.static classThe four (nidx) vectors in the column conventionSolverLNand LQNS report, so they line up withLN(model).getAvgTable()cell for cell. -
Method Summary
Modifier and TypeMethodDescriptionstatic Lqn_mol.ResultMethod of Layers with the reference's default tuning.static Lqn_mol.Resultlqn_mol(LayeredNetworkStruct lsn, Lqn_mol.Options options) Method of Layers on an entry-only, closed, synchronous LQN.
-
Method Details
-
lqn_mol
Method of Layers with the reference's default tuning. -
lqn_mol
Method of Layers on an entry-only, closed, synchronous LQN.- Parameters:
lsn- the layered struct, fromLayeredNetwork.getStruct()options- iteration cap, tolerance and under-relaxation factor- Returns:
- the four measure vectors and the fixed-point state behind them
-