Pradyumna Kaushik
|
74eb616a72
|
the observation that is to be considered for the classification of a task can now be given as a function that takes the task and returns the observations as a slice of float64. Retrofitted the other functions in taskUtils to make use of this feature.
|
2017-02-25 19:57:01 -05:00 |
|
Pradyumna Kaushik
|
e54697b0dc
|
Added a task utility to be able to cluster tasks into N clusters based on their watts resource requirements. Electron now compatible with Go1.8 and no longer with 1.7. Added TODOs.
|
2017-02-25 15:43:32 -05:00 |
|
Pradyumna Kaushik
|
9dddc38cad
|
created a utility for tasks that allows for KMeans clustering based on watts resource requirement
|
2017-02-24 20:52:59 -05: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 |
|