Commit graph

10 commits

Author SHA1 Message Date
Abhishek Jain
b311ee81f5 Changed the loop as the Hosts is now a map and not a list and now looping over the keys is required. 2017-03-23 22:03:03 -04:00
Pradyumna Kaushik
02fede7184 resolved merge conflict with master. Also, changed the name of the constructor for BPSWMaxMin from NewBPMaxMinWatts to NewBPSWMaxMinWatts 2017-02-11 14:26:27 -05:00
Pradyumna Kaushik
ec78480067 renamed constants.CapMargin to constants.Tolerance for better semantics 2017-02-10 20:53:18 -05:00
Pradyumna Kaushik
07ee19b3f8 fixed comment 2017-02-09 23:36:07 -05:00
Pradyumna Kaushik
d2f754e23b fixed comment 2017-02-09 23:35:26 -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
f883abd36d Changed the description of the file. Now mentions that this is a capping strategy that can be used with different schedulers. 2017-01-31 15:12:43 -05:00
Pradyumna Kaushik
d5ae027e41 fixed return value of String() by changing 'Cluster Capper' to 'Cluster-wide Capper' 2017-01-31 14:27:57 -05:00
Pradyumna Kaushik
03a9d64a52 fixed package name from pcp to powerCapping 2017-01-28 21:49:57 -05:00
Pradyumna Kaushik
0413d2abd3 moved proactiveclusterwidecappers.go to powerCapping/ from pcp/ 2017-01-28 21:42:23 -05:00