Skip to content
项目

aaawangyh/dqn-adaptive-cpu-scheduler

在 GitHub 查看

关于

使用带有 DVFS 和热感知奖励的 DQN 实现多核 CPU 的自适应任务调度;包含模拟器、基线方案、训练、评估和绘图功能。

其他项目

这些数字如何统计

实测星标增长

24小时
-1
7天
-2
15天
-2
1个月
-1

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Adaptive Task Scheduling in Multi‑Core CPUs Using Deep Q‑Networks (DQN)

Research‑grade, config‑driven repo for a learning‑based CPU scheduler:

  • Gym‑like simulator of multi‑core CPUs with DVFS and thermal proxy
  • DQN agent (Double & Dueling), prioritized replay
  • Baselines: RR, EDF, SRTF
  • Reproducible experiments + plotting

Quick Start

python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python -m experiments.run_experiment --config configs/default.yaml --tag dqn_default
python -m src.evaluate --checkpoint artifacts/dqn_default/best.pt --episodes 50
python scripts/plot_results.py --runs artifacts/dqn_default/metrics.json artifacts/baselines/metrics.json

探索相关项目

加载中…