Skip to content
Projects

aaawangyh/dqn-adaptive-cpu-scheduler

View on GitHub

About

Adaptive task scheduling for multi-core CPUs using DQN with DVFS & thermal-aware reward; includes simulator, baselines, training, evaluation, and plotting.

Other Projects

How these counts are measured

Measured star growth

in 24h
-1
in 7 days
-2
in 15 days
-2
in 1 month
-1

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

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

Explore related projects

Loading…