Updated a TODO from the list of TODOs, changed the usage of running electron with Watts as a resource and updated the workload schema
This commit is contained in:
parent
aed4fd1073
commit
ee94e13d86
1 changed files with 23 additions and 22 deletions
45
README.md
45
README.md
|
@ -10,7 +10,7 @@ To Do:
|
||||||
* Make parameters corresponding to each scheduler configurable (possible to have a config template for each scheduler?)
|
* Make parameters corresponding to each scheduler configurable (possible to have a config template for each scheduler?)
|
||||||
* TODO : Adding type of scheduler to be used, to be picked from a config file, along with it's configurable parameters.
|
* TODO : Adding type of scheduler to be used, to be picked from a config file, along with it's configurable parameters.
|
||||||
* Write test code for each scheduler (This should be after the design change)
|
* 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.
|
* Populate constants.PowerClasses dynamically.
|
||||||
Possible to setup the constants at runtime based on the environment?
|
Possible to setup the constants at runtime based on the environment?
|
||||||
* Log fix for declining offer -- different reason when insufficient resources as compared to when there are no
|
* Log fix for declining offer -- different reason when insufficient resources as compared to when there are no
|
||||||
longer any tasks to schedule.
|
longer any tasks to schedule.
|
||||||
|
@ -28,9 +28,9 @@ How to run (Use the --help option to get information about other command-line op
|
||||||
|
|
||||||
`./electron -workload <workload json>`
|
`./electron -workload <workload json>`
|
||||||
|
|
||||||
To run electron with ignoreWatts, run the following command,
|
To run electron with Watts as Resource, run the following command,
|
||||||
|
|
||||||
`./electron -workload <workload json> -ignoreWatts`
|
`./electron -workload <workload json> -wattsAsAResource`
|
||||||
|
|
||||||
|
|
||||||
Workload schema:
|
Workload schema:
|
||||||
|
@ -41,30 +41,31 @@ Workload schema:
|
||||||
"name": "minife",
|
"name": "minife",
|
||||||
"cpu": 3.0,
|
"cpu": 3.0,
|
||||||
"ram": 4096,
|
"ram": 4096,
|
||||||
"watts": 50,
|
"watts": 63.141,
|
||||||
"image": "gouravr/minife:v5",
|
"class_to_watts": {
|
||||||
"cmd": "cd src && mpirun -np 1 miniFE.x -nx 100 -ny 100 -nz 100",
|
"A": 93.062,
|
||||||
"inst": 9,
|
"B": 65.552,
|
||||||
"class_to_watts" : {
|
"C": 57.897,
|
||||||
"A": 30.2475289996,
|
"D": 60.729
|
||||||
"B": 35.6491229228,
|
},
|
||||||
"C": 24.0476734352
|
"image": "rdelvalle/minife:electron1",
|
||||||
}
|
"cmd": "cd src && mpirun -np 3 miniFE.x -nx 100 -ny 100 -nz 100",
|
||||||
|
"inst": 10
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "dgemm",
|
"name": "dgemm",
|
||||||
"cpu": 3.0,
|
"cpu": 3.0,
|
||||||
"ram": 4096,
|
"ram": 32,
|
||||||
"watts": 50,
|
"watts": 85.903,
|
||||||
"image": "gouravr/dgemm:v2",
|
"class_to_watts": {
|
||||||
|
"A": 114.789,
|
||||||
|
"B": 89.133,
|
||||||
|
"C": 82.672,
|
||||||
|
"D": 81.944
|
||||||
|
},
|
||||||
|
"image": "rdelvalle/dgemm:electron1",
|
||||||
"cmd": "/./mt-dgemm 1024",
|
"cmd": "/./mt-dgemm 1024",
|
||||||
"inst": 9,
|
"inst": 10
|
||||||
"class_to_watts" : {
|
|
||||||
"A": 35.2475289996,
|
|
||||||
"B": 25.6491229228,
|
|
||||||
"C": 29.0476734352
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
Reference in a new issue