The GPU share maths of the load sampler: node load record deltas, share, slices, gaps, and nearest-rank quantiles
$ sexc add @ajax/mesh-load-share- total 3
- drwxr-xr-x-../
- drwxr-xr-x-Oct 27 05:24v/# 1 version
- drwxr-xr-x-Oct 27 05:24files/# the files of 0.1.0
- latest
- 0.1.0, published Oct 27 05:24 by ajax
- owners
- ajax
- license
- MIT
- dependencies
- @ajax/mesh-check ^0.1.0
- dependents
- @ajax/mesh-load-host, @ajax/mesh-load-prog, @ajax/mesh-samplers
- keywords
- mesh alphaos load gpu share telemetry
- homepage
- https://github.com/thomasdavis/alpha-c-mesh/tree/main/packages/mesh-load-share
- repository
- https://github.com/thomasdavis/alpha-c-mesh
1# @ajax/mesh-load-share 2 3The GPU share maths of the load sampler: node load record deltas, share, slices, gaps, and nearest-rank quantiles. 4 5The GPU share a program's nodes obtained (load.rs Nl, Share, share, quantile): from the node load records' counters (mesh-abi NL_*: time observed, time lost to someone else, gaps, queue delay), summed over a program's nodes and over a window of samples. 6 7```c 8#include "mesh/load_share.h" 9``` 10 11## Ported from 12 13[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT): crates/mesh-host/src/load.rs: `Nl` (delta, add), `Share`, `share`, `quantile`. 14 15## Tests 16 17- `tests/load_share.c`: load.rs's `gpu_share_maths`. 18 19## Differences 20 21- `Nl::read` (from the mailbox) lives with the program sampler. 22 23## Licence 24 25MIT. See the repository's LICENSE.