├── .coveragerc ├── .github └── workflows │ ├── codeql-analysis.yml │ └── pythonpackage.yml ├── .gitignore ├── LICENSE ├── README.rst ├── deeprm-agent.py ├── docs ├── Makefile ├── conf.py ├── design.rst ├── img │ ├── cluster-resourcepool.svg │ ├── gym.gif │ ├── job-resource.drawio │ └── job-resource.svg ├── index.rst ├── make.bat ├── modules.rst ├── requirements.txt ├── schedgym.rst └── tutorials │ ├── index.rst │ └── ppo.ipynb ├── mypy.ini ├── pyproject.toml ├── requirements.txt ├── schedgym ├── __init__.py ├── cluster.py ├── envs │ ├── __init__.py │ ├── base.py │ ├── compact_env.py │ ├── deeprm_env.py │ ├── render.py │ ├── simulator.py │ └── workload.py ├── event.py ├── heap.py ├── job.py ├── pool.py ├── resource.py ├── scheduler │ ├── __init__.py │ ├── backfilling_scheduler.py │ ├── easy_scheduler.py │ ├── fifo_scheduler.py │ ├── null_scheduler.py │ ├── packer_scheduler.py │ ├── random_scheduler.py │ ├── scheduler.py │ ├── sjf_scheduler.py │ └── tetris_scheduler.py ├── simulator.py ├── test_schedgym.py └── workload │ ├── __init__.py │ ├── base.py │ ├── distribution.py │ ├── swf_parser.py │ └── trace.py ├── setup.cfg ├── setup.py └── sjf-agent.py /.coveragerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/.coveragerc -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/pythonpackage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/.github/workflows/pythonpackage.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | venv 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/LICENSE -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/README.rst -------------------------------------------------------------------------------- /deeprm-agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/deeprm-agent.py -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/design.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/docs/design.rst -------------------------------------------------------------------------------- /docs/img/cluster-resourcepool.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/docs/img/cluster-resourcepool.svg -------------------------------------------------------------------------------- /docs/img/gym.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/docs/img/gym.gif -------------------------------------------------------------------------------- /docs/img/job-resource.drawio: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/docs/img/job-resource.drawio -------------------------------------------------------------------------------- /docs/img/job-resource.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/docs/img/job-resource.svg -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/modules.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/docs/modules.rst -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/docs/requirements.txt -------------------------------------------------------------------------------- /docs/schedgym.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/docs/schedgym.rst -------------------------------------------------------------------------------- /docs/tutorials/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/docs/tutorials/index.rst -------------------------------------------------------------------------------- /docs/tutorials/ppo.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/docs/tutorials/ppo.ipynb -------------------------------------------------------------------------------- /mypy.ini: -------------------------------------------------------------------------------- 1 | [mypy] 2 | 3 | ignore_missing_imports = True 4 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/requirements.txt -------------------------------------------------------------------------------- /schedgym/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # -*- coding: utf-8 -*- 3 | 4 | __version__ = '0.1.0' 5 | -------------------------------------------------------------------------------- /schedgym/cluster.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/cluster.py -------------------------------------------------------------------------------- /schedgym/envs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/envs/__init__.py -------------------------------------------------------------------------------- /schedgym/envs/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/envs/base.py -------------------------------------------------------------------------------- /schedgym/envs/compact_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/envs/compact_env.py -------------------------------------------------------------------------------- /schedgym/envs/deeprm_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/envs/deeprm_env.py -------------------------------------------------------------------------------- /schedgym/envs/render.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/envs/render.py -------------------------------------------------------------------------------- /schedgym/envs/simulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/envs/simulator.py -------------------------------------------------------------------------------- /schedgym/envs/workload.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/envs/workload.py -------------------------------------------------------------------------------- /schedgym/event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/event.py -------------------------------------------------------------------------------- /schedgym/heap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/heap.py -------------------------------------------------------------------------------- /schedgym/job.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/job.py -------------------------------------------------------------------------------- /schedgym/pool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/pool.py -------------------------------------------------------------------------------- /schedgym/resource.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/resource.py -------------------------------------------------------------------------------- /schedgym/scheduler/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/scheduler/__init__.py -------------------------------------------------------------------------------- /schedgym/scheduler/backfilling_scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/scheduler/backfilling_scheduler.py -------------------------------------------------------------------------------- /schedgym/scheduler/easy_scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/scheduler/easy_scheduler.py -------------------------------------------------------------------------------- /schedgym/scheduler/fifo_scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/scheduler/fifo_scheduler.py -------------------------------------------------------------------------------- /schedgym/scheduler/null_scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/scheduler/null_scheduler.py -------------------------------------------------------------------------------- /schedgym/scheduler/packer_scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/scheduler/packer_scheduler.py -------------------------------------------------------------------------------- /schedgym/scheduler/random_scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/scheduler/random_scheduler.py -------------------------------------------------------------------------------- /schedgym/scheduler/scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/scheduler/scheduler.py -------------------------------------------------------------------------------- /schedgym/scheduler/sjf_scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/scheduler/sjf_scheduler.py -------------------------------------------------------------------------------- /schedgym/scheduler/tetris_scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/scheduler/tetris_scheduler.py -------------------------------------------------------------------------------- /schedgym/simulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/simulator.py -------------------------------------------------------------------------------- /schedgym/test_schedgym.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/test_schedgym.py -------------------------------------------------------------------------------- /schedgym/workload/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/workload/__init__.py -------------------------------------------------------------------------------- /schedgym/workload/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/workload/base.py -------------------------------------------------------------------------------- /schedgym/workload/distribution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/workload/distribution.py -------------------------------------------------------------------------------- /schedgym/workload/swf_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/workload/swf_parser.py -------------------------------------------------------------------------------- /schedgym/workload/trace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/schedgym/workload/trace.py -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/setup.py -------------------------------------------------------------------------------- /sjf-agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renatolfc/sched-rl-gym/HEAD/sjf-agent.py --------------------------------------------------------------------------------