Enable dynamic host/link cumulative usage probing
Goal
Let the scheduler do measures about host or link usage so it can adapt its decisions depending on saturation/etc..
Implementation plan
Create SimGrid plugins to monitor hosts/links usage
- Accumulate usage on state change (examples in energy plugins)
- Define a reset() function in the plugin API (to reset counters to 0)
- (perf issue: dynamically enable the plugin for the specified resources rather than for all of them all the time)
Expose it in the batprotocol
Something like:
{
"timestamp": 10.0,
"type": "QUERY",
"data": {
"requests": {"consumed_bytes": {
"resources": "link42",
"reset_after_probe": true
}}
}
}
{
"timestamp": 10.1,
"type": "ANSWER",
"data": {
"requests": {
"consumed_bytes": {
"link42": 4096
}
}
}
}