Resolved merge conflicts with the master. Also, added TODO in README to use Go1.8 techniques.
This commit is contained in:
commit
1b15bb14e7
24 changed files with 122 additions and 101 deletions
51
README.md
51
README.md
|
@ -8,9 +8,8 @@ To Do:
|
|||
* 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?)
|
||||
* TODO : Adding type of scheduler to be used, to be picked from a config file, along with it's configurable parameters.
|
||||
* 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)
|
||||
* 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?
|
||||
* Log fix for declining offer -- different reason when insufficient resources as compared to when there are no
|
||||
longer any tasks to schedule.
|
||||
|
@ -19,8 +18,9 @@ To Do:
|
|||
* Convert def#WattsToConsider(...) to be a receiver of def.Task and change the name of it to Watts(...).
|
||||
* Have a generic sorter for task resources instead of having one for each kind of resource.
|
||||
* **Critical** -- Add software requirements to the README.md (Mesos version, RAPL version, PCP version, Go version...)
|
||||
* Retrofit to use Go 1.8 sorting techniques. Use def/taskUtils.go for reference.
|
||||
* Retrofit TopHeavy and BottomHeavy schedulers to use the clustering utility for tasks.
|
||||
* **Critical** -- Retrofit to use Go 1.8 sorting techniques. Use def/taskUtils.go for reference.
|
||||
* Handle powerclass not configured on a node condition. As of now, an assumption is made that the powerclass is configured
|
||||
for all the nodes.
|
||||
|
||||
**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
|
||||
|
@ -31,9 +31,9 @@ How to run (Use the --help option to get information about other command-line op
|
|||
|
||||
`./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:
|
||||
|
@ -44,30 +44,31 @@ 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",
|
||||
"inst": 9,
|
||||
"class_to_watts" : {
|
||||
"A": 30.2475289996,
|
||||
"B": 35.6491229228,
|
||||
"C": 24.0476734352
|
||||
}
|
||||
|
||||
"watts": 63.141,
|
||||
"class_to_watts": {
|
||||
"A": 93.062,
|
||||
"B": 65.552,
|
||||
"C": 57.897,
|
||||
"D": 60.729
|
||||
},
|
||||
"image": "rdelvalle/minife:electron1",
|
||||
"cmd": "cd src && mpirun -np 3 miniFE.x -nx 100 -ny 100 -nz 100",
|
||||
"inst": 10
|
||||
},
|
||||
{
|
||||
"name": "dgemm",
|
||||
"cpu": 3.0,
|
||||
"ram": 4096,
|
||||
"watts": 50,
|
||||
"image": "gouravr/dgemm:v2",
|
||||
"ram": 32,
|
||||
"watts": 85.903,
|
||||
"class_to_watts": {
|
||||
"A": 114.789,
|
||||
"B": 89.133,
|
||||
"C": 82.672,
|
||||
"D": 81.944
|
||||
},
|
||||
"image": "rdelvalle/dgemm:electron1",
|
||||
"cmd": "/./mt-dgemm 1024",
|
||||
"inst": 9,
|
||||
"class_to_watts" : {
|
||||
"A": 35.2475289996,
|
||||
"B": 25.6491229228,
|
||||
"C": 29.0476734352
|
||||
}
|
||||
"inst": 10
|
||||
}
|
||||
]
|
||||
```
|
||||
|
|
Reference in a new issue