This project demonstrates that a GA (genetic algorithm) approach can provide power-efficient scheduling for real-time tasks that makes use of DVS (dynamic voltage scaling) and HM (Hybrid Memory).
Two executables included in this project.
- gasgen: task generation tool based on CPU and total utilization
- gastask: scheduling scheme generator based on GA
For comparison purposes, our basic simulator supporting dynamic voltage scaling (DVS) and hybrid memory (HM) can be downloaded at https://github.com/oslab-ewha/simrts.
Just make to build gastask
# make
- Create a new configuration file. Refer to gastask.conf.tmpl.
- run gasgen
# ./gasgen gastask.conf
- Tasks list will be generated into
task_generated.txt
according to gastask.conf - paste
task_generated.txt
into the task section of gastask.conf - run gastask
# ./gastask gastask.conf
- scheduling information is generated in
task.txt
, which can be used as an input to simrts.
- runsim.sh performs all procedures in batch including simrts run