Skip to content

oslab-ewha/PSVS-GA

Repository files navigation

PSVS-GA(Partial Swap & Voltage Scaling for GA)

This project demonstrates that a GA (genetic algorithm) approach can provide power-efficient scheduling for real-time tasks that makes use of DRAM memory swap and DVS (dynamic voltage scaling).

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.

Build

Just make to build gastask

# make

Run

  • 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.

Batch run

  • runsim.sh performs all procedures in batch including simrts run