Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Make the scheduler resource aware

已关闭
#23 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
python

调研方向

首先阅读 Python 项目中的 scheduler 实现以及现有的 "max parallel jobs" 配置。先明确预期的资源限制范围:按资源限制、build/run 限制、总限制、随时间变化的可用性,还是外部服务轮询。完成标准应包括针对所选范围的具体、可测试的 scheduling 行为和配置。

由索引模型根据 Issue 内容生成。

描述

The regression runs require different tools, and those tools have differing number of available licenses. Those licenses are part of a shared pool of licenses, and it would be useful to limit the number of jobs depending on the type of resource they require (for example Tool A, and Tool B). At the moment the only configuration that can be used to influence resource usage is "max parallel jobs".

  • Limit the number of concurrent jobs the scheduler will deploy per resource type. For example, max of X jobs using Tool A, max of Y jobs using Tool B.
  • Limit the number of jobs in the build phase independent of the run phase?
  • Limit the total number of jobs - retain the max parallel functionality
  • Allow for changes in resource availability over time - for example limit license usage in the day, and increase the limits over night?
  • Fully dynamic resource aware scheduling by polling an external service to get the instantaneous resource usage (allow definitions such as use up to 80% of available resources).
主要语言
Python
星标
15
派生
22
平均合并
4 天 3 小时
30 天内合并 PR
7

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

lowRISC/dvsim 的其他 Issue

查看 lowRISC/dvsim 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。