Abhishek Jain
|
f85ed944f4
|
Changed the loop as now we are looping over a map and not a slice.
|
2017-03-23 22:13:29 -04:00 |
|
Pradyumna Kaushik
|
fdcb401447
|
Made classMapWatts a commandLine option where one can enable and disable mapping of watts to powerclasses when accepting offers from Mesos. Removed the schedulers that were created solely for the classMapWatts feature. Retrofitted all schedulers to use the powerClass mapped watts attribute for a task, if classMapWatts has been enabled. Removed unnecessary functions and variables from constants.go. Removed unnecessary functions from utilities/utils.go. Fixed operator precendence issue with takeOffer(...) in some of the schedulers. Added TODO to decouple capping strategies from the schedulers completely. Added TODO to move all the common struct attributes in the schedulers into base.go.
|
2017-02-09 18:05:38 -05:00 |
|
Pradyumna Kaushik
|
b838c53c6d
|
added CPUSorter to task to be able to sort tasks based on CPU requirement.
|
2017-02-05 14:49:07 -05:00 |
|
Renan DelValle
|
2678032c2c
|
Go fmt on the entire project
|
2017-01-03 20:57:25 -05:00 |
|
Renan DelValle
|
312728a2f6
|
Adding node class mapping for Watts as a resource in binpack
|
2016-12-23 21:04:15 -05:00 |
|
Pradyumna Kaushik
|
6289b8954d
|
Prevented the use of reflect and instead compared the TaskIDs of the tasks.
|
2016-12-22 22:59:03 -05:00 |
|
Pradyumna Kaushik
|
50d1d79051
|
fixed naming convensions to be camel cased. Reformatted the code.
|
2016-12-22 22:59:03 -05:00 |
|
Pradyumna Kaushik
|
cd644bbf69
|
Formatted the code
|
2016-12-22 22:59:02 -05:00 |
|
Pradyumna Kaushik
|
0f8a2d3f0c
|
fixed a an error.
|
2016-12-22 22:59:02 -05:00 |
|
Pradyumna Kaushik
|
0c53bb386f
|
Added TaskID as a field. Added a function UpdateHost() to update the host on which the task runs. Added a setter for TaskID. Added a comparator called Compare() that compares to instances of Task
|
2016-12-22 22:59:02 -05:00 |
|
Renan DelValle
|
617fb8ac0f
|
Sorting based on watts value added. bin packing based on watts is almost complete.
|
2016-12-22 22:59:02 -05:00 |
|
Renan DelValle
|
c2e2b7e554
|
Moved schedulers from the main programs to schedulers package. Can now choose different scheduelrs to use. Work on code sharing between schedulers remains to be done.
|
2016-12-22 22:59:02 -05:00 |
|