Consider scratch disk sizes in the scheduler
- Dominant language
- Python
- Stars
- 670
- Forks
- 183
- Avg merge
- 15h 13m
- Merged PRs (30d)
- 368
Description
lablup/backend.ai-agent#70 will allow size configuration & enforcements of per-container scratch directories.The current manager does not take the disk space into account when scheduling, so we need to improve that.
- [ ] manager: Add "scratch" intrinsic resource slot type
- [ ] agent\* [ ] Add an intrinsic compute resource plugin, "ScratchDevice" and "ScracthPlugin", to `ai.backend.agent.intrinsic`
- [ ] Report the space availability info of the disk where the scratch root resides to the manager
┆Issue is synchronized with this [Asana task](https://app.asana.com/0/1159751085623729/1159757128378547) by [Unito](https://www.unito.io/learn-more)
JIRA Issue: BA-321
Contributor guide
Assessment
This issue has not been assessed yet.