Commit Graph

4 Commits

Author SHA1 Message Date
Ingo Oppermann
7fa47a962a Add basic nvidia-smi parser 2024-07-16 08:14:19 +02:00
Ingo Oppermann
51d8b30e8f Fix MaxCPU and MaxMemory semantics
If a limit of 0 (or negative) is given for both cpu and memory, then
no limiting will be triggered. If any value between 1 and 100 (inclusive)
is given, then limiting will be triggered when that limit is reached.

I.e. giving a limit of 100 doesn't not mean unlimited.
2023-07-12 11:53:39 +02:00
Ingo Oppermann
519f39b217 Fix returning wrong value for HasLimits 2023-07-12 11:38:40 +02:00
Ingo Oppermann
fc03bf73a2 Make resource manager a main module and expose more details 2023-06-06 21:28:08 +02:00