SlowdownDiagnosisScenario
Communication scenarios · Implementation: mlsysim/engine/scenario_definitions/communication.py.
Construct this scenario with keyword inputs. The fields below show the types and defaults declared by this class.
A training step that slowed, and a pairwise link test that finds one link at a fraction of its rate.
Notes
Equation: Use the dimensional products, ratios, or selection rules documented on the calculated properties below.
Assumptions: Before/after steps contain the same work, and expected and measured bandwidth fractions refer to the same path.
Excludes: The arithmetic does not identify the cause of a slowdown or collect measurements.
References
Derivation: the calculated properties below state their defining arithmetic and units. They are scenario accounting or input-selection rules, not independently measured relationships.
Examples
>>> from mlsysim import Scenarios
>>> case = Scenarios.HalfRateLinkDiagnosis
>>> round(case.slowdown, 4)
0.1429Attributes
| Name | Description |
|---|---|
| days_since_launch | |
| delivered_efficiency | |
| expected_bandwidth | Expected delivered link rate under the stated efficiency. Equation: |
| measured_bandwidth | Rate represented by the stated fraction of expected delivered rate. Equation: |
| measured_fraction | |
| port_bandwidth | |
| slowdown | Relative increase from the healthy step duration. Equation: ``step_after / step_before - |
| step_after | |
| step_before | |
| utilization_after | |
| utilization_before |
step_before
Type: Quantity.
Declared default: required.
step_after
Type: Quantity.
Declared default: required.
utilization_before
Type: float.
Declared default: required.
utilization_after
Type: float.
Declared default: required.
days_since_launch
Type: int.
Declared default: required.
port_bandwidth
Type: Quantity.
Declared default: required.
delivered_efficiency
Type: float.
Declared default: required.
measured_fraction
Type: float.
Declared default: required.
slowdown
engine.scenario_types.SlowdownDiagnosisScenario.slowdown
Relative increase from the healthy step duration. Equation: step_after / step_before - 1. Units: dimensionless; the compared steps must perform equal work.
expected_bandwidth
engine.scenario_types.SlowdownDiagnosisScenario.expected_bandwidth
Expected delivered link rate under the stated efficiency. Equation: delivered_efficiency * port_bandwidth. Units: bandwidth; efficiency is an input, not inferred by this property.
measured_bandwidth
engine.scenario_types.SlowdownDiagnosisScenario.measured_bandwidth
Rate represented by the stated fraction of expected delivered rate. Equation: expected_bandwidth * measured_fraction. Units: bandwidth; the measurement fraction must come from outside the model.