Skip to main content

SerialTailExposureScenario

Agents scenarios · Implementation: mlsysim/engine/scenario_definitions/agents.py.

Construct this scenario with keyword inputs. The fields below show the types and defaults declared by this class.

Serial calls that each exceed their own tail latency independently.

Notes

Equation: The result property delegates to the named solver documented below; it converts declared scenario units before passing the inputs.

Assumptions: Each serial call independently exceeds its own declared tail threshold.

Excludes: A distribution for the total serial latency and correlated stragglers.

References

Derivation: the scenario composes mlsysim.physics.agents.calc_independent_success. Their contracts supply the underlying equations; property equations show the remaining unit conversions and accounting.

Examples

>>> from mlsysim import Scenarios
>>> scenario = Scenarios.ThirtyCallTailExposure
>>> value = scenario.any_tail
>>> round(float(value), 3)
0.26

Attributes

Name Description
any_tail Probability that at least one independent serial call exceeds its own tail threshold.
calls
tail_probability

calls

Type: int.

Declared default: required.

tail_probability

Type: float.

Declared default: required.

any_tail

engine.scenario_types.SerialTailExposureScenario.any_tail

Probability that at least one independent serial call exceeds its own tail threshold.

Equation: calc_independent_success(tail_probability, calls).

Back to top