This repository has been archived on 2024-04-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
elektron/README.md

65 lines
1.8 KiB
Markdown
Raw Normal View History

2016-09-16 16:18:59 -04:00
Electron: A power budget manager
2016-09-16 16:16:33 -04:00
======================================
2016-09-16 16:14:41 -04:00
To Do:
2016-09-16 20:17:08 +00:00
2016-09-16 16:16:33 -04:00
* Create metrics for each task launched [Time to schedule, run time, power used]
* Have calibration phase?
2016-11-10 20:07:04 -05:00
* Add ability to use constraints
* Running average calculations https://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average
* Make parameters corresponding to each scheduler configurable (possible to have a config template for each scheduler?)
* Write test code for each scheduler (This should be after the design change)
* Some of the constants in constants/constants.go can vary based on the environment.
Possible to setup the constants at runtime based on the environment?
2016-11-10 20:07:04 -05:00
2017-01-03 18:10:05 -05:00
**Requires [Performance Co-Pilot](http://pcp.io/) tool pmdumptext to be installed on the
machine on which electron is launched for logging to work and PCP collector agents installed
on the Mesos Agents**
How to run (Use the --help option to get information about other command-line options):
`./electron -workload <workload json>`
2016-12-15 15:38:07 -05:00
To run electron with ignoreWatts, run the following command,
`./electron -workload <workload json> -ignoreWatts`
Workload schema:
```
[
{
"name": "minife",
"cpu": 3.0,
"ram": 4096,
"watts": 50,
"image": "gouravr/minife:v5",
"cmd": "cd src && mpirun -np 1 miniFE.x -nx 100 -ny 100 -nz 100",
2017-01-03 18:10:05 -05:00
"inst": 9,
"class_to_watts" : {
"A": 30.2475289996,
"B": 35.6491229228,
"C": 24.0476734352
}
},
{
"name": "dgemm",
"cpu": 3.0,
"ram": 4096,
"watts": 50,
"image": "gouravr/dgemm:v2",
"cmd": "/./mt-dgemm 1024",
2017-01-03 18:10:05 -05:00
"inst": 9,
"class_to_watts" : {
"A": 35.2475289996,
"B": 25.6491229228,
"C": 29.0476734352
}
}
]
2016-11-10 20:07:04 -05:00
```