Commit graph

563 commits

Author SHA1 Message Date
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
Pradyumna Kaushik
92e432c312 formatted code 2017-01-28 21:37:01 -05:00
Pradyumna Kaushik
3a7c0dc33b changed message for command-line argument 'powerClass' 2017-01-28 21:36:33 -05:00
Pradyumna Kaushik
ee0cada747 changed name of command-line argument 'classMapWatts' to 'powerClass' 2017-01-28 21:33:36 -05:00
Pradyumna Kaushik
4f5036bd32 Added TODO to retrofit schedulers to run either with classMapWatts enabled or disabled. 2017-01-28 21:31:05 -05:00
Pradyumna Kaushik
3119724154 Added another command-line argument to indicate whether to use the Watts attribute or the ClassToWatts attribute in the workload JSON. 2017-01-28 21:30:15 -05:00
Pradyumna Kaushik
ae2e7eb3d7 Added function to determine the watts value to consider for each task, depending on weather -classMapWatts was enabled and also weather the workload contained a map of power-class to the watts requirement. 2017-01-28 21:09:43 -05:00
Pradyumna Kaushik
e7166420dd add function to determine PowerClass of host in offer. This was earlier to be written in each scheduler when using classMapWatts. 2017-01-28 21:08:11 -05:00
Pradyumna Kaushik
5128c51b22 formatted code. 2017-01-28 19:45:47 -05:00
Pradyumna Kaushik
5a6edb802e fixed comment. 2017-01-28 19:43:12 -05:00
Pradyumna Kaushik
8581749435 retrofitted all schedulers to call OfferAgg(...) and OffersSorter from utilities/offerUtils and also to use defaultFilter and longFilter from utilities/mesosUtils 2017-01-28 19:41:05 -05:00
Pradyumna Kaushik
354e89cac7 moved longFilter and defaultFilter to utilities/mesosUtils and OfferAgg and OffersSorter to utilities/offerUtils 2017-01-28 19:36:13 -05:00
Pradyumna Kaushik
44ce511eb1 Added classMapWatts, topHeavy and bottomHeavy schedulers to the list of schedulers. Also, added TODO for creating a package to hold all the source code to perform logging. 2017-01-28 19:34:28 -05:00
Pradyumna Kaushik
e63784b007 Created utilities/offerUtils that can can hold all the utility functions for Offers. 2017-01-28 19:32:54 -05:00
Pradyumna Kaushik
6d4446413d Created utilities/mesosUtils that can hold all the interactions with mesos. Moved longFilter and defaultFilter to mesosUtils. 2017-01-28 19:32:12 -05:00
Pradyumna Kaushik
2cd77a7ba8 Changed Window to ConsiderationWindow. 2017-01-28 18:29:00 -05:00
Pradyumna Kaushik
916581067b hybrid scheduler(TOP HEAVY) -- Pack Small tasks (less power intensive) using BinPacking and Spread large tasks (power intensive) using FirstFit. BOTTOM HEAVY -- Pack Large tasks (power intensive) using BinPacking and spread the small tasks (less power intensive) using FirstFit. 2017-01-28 18:06:59 -05:00
Pradyumna Kaushik
581803c2f0 FirstFit and BinPacking with SortedOffers based on CPU. 2017-01-28 17:52:24 -05:00
Pradyumna Kaushik
6b0f4e3729 removed commented lines. Changed the scheduler to BinPackedSortedWattsSortedOffers. 2017-01-28 17:48:15 -05:00
Pradyumna Kaushik
e60488f965 added OffersSorter that implements sort interface to sort offers based on CPU. 2017-01-28 17:47:24 -05:00
Pradyumna Kaushik
477a319688 Removed unnecessary whitespace. 2017-01-28 17:46:29 -05:00
Pradyumna Kaushik
042c64210a Added PowerClasses -- classification of hosts in the cluster, based on their TDP. 2017-01-28 17:44:16 -05:00
Renan DelValle
08e874c77a Merged in ffClassMapWatts (pull request #7)
FirstFit with ClassMapWatts. Retrofitting schedulers to use base.go and also to log scheduling trace.
2017-01-24 00:31:42 +00:00
Pradyumna Kaushik
fa17ae82e1 Added TODO for a centralised logFile that can filtered by an identifier. 2017-01-15 21:19:01 -05:00
Pradyumna Kaushik
a28acfcf50 added TODO for to fix log for declining offer, where we need to mention the correct reason for declining the offer 2017-01-15 19:48:41 -05:00
Pradyumna Kaushik
8c6ad36b5e changed name of StartLogAndDynamicCap(...) to StartPCPLogAndExtremaDynamicCap(...).] 2017-01-15 15:23:57 -05:00
Pradyumna Kaushik
7d3403d250 removed TODO for retrofitting schedulers to log scheduling trace. 2017-01-14 20:09:49 -05:00
Pradyumna Kaushik
62f199773a formatted the files 2017-01-14 20:04:37 -05:00
Pradyumna Kaushik
15c4f04d75 changed the scheduler to ffswClassMapWatts 2017-01-14 19:57:01 -05:00
Pradyumna Kaushik
3b52fb3619 retrofitted schedulers to use base.go and to log the scheduling trace. Changed the name of piston capper to binpackedpistoncapping and also changed the variable names inside binpackedpistoncapping.go to indicate the name of the scheduler. 2017-01-14 19:44:50 -05:00
Pradyumna Kaushik
65263426b4 formatted code 2017-01-14 17:22:15 -05:00
Pradyumna Kaushik
6798807a0b Fixed bug in logging the correct cap value. 2017-01-14 17:21:46 -05:00
Pradyumna Kaushik
cb7e697cfa First Fit SortedWatts ClassMapWatts with Proactive Clusterwide Capping. 2017-01-14 16:20:58 -05:00
Pradyumna Kaushik
3b46dbc357 First Fit SortedWatts retrofitted to use ClassMapWatts in the workload. 2017-01-14 16:20:21 -05:00
Renan DelValle
0c6d7f670e Merged in bpswClassToWattsCapping (pull request #6)
Bpswclasstowattscapping
2017-01-09 00:43:10 -05:00
Pradyumna Kaushik
da0c6a2225 Merge branch 'master' of https://bitbucket.org/sunybingcloud/electron into bpswClassToWattsCapping 2017-01-08 19:33:57 -08:00
Pradyumna Kaushik
170674720d updated the call to Recap(...) to NaiveRecap(...) to be in tune with the updated function name 2017-01-08 19:15:53 -08:00
Pradyumna Kaushik
8c0cde939a renamed Recap to NaiveRecap 2017-01-08 19:13:44 -08:00
Pradyumna Kaushik
afa31cc231 Added TODO to move the cappers to pcp/ and also to include the change made to cap only when necessary. 2017-01-08 19:09:58 -08:00
Pradyumna Kaushik
95c419785f Made sure that capping is done only if a new cap value is computed. Otherwise we don't unnecessarily cap the cluster. This reduces overhead. 2017-01-08 19:08:46 -08:00
Pradyumna Kaushik
59e08f0a1a fixed spacing 2017-01-08 19:08:02 -08:00
Pradyumna Kaushik
15d3aa2177 removed commented code 2017-01-08 19:01:08 -08:00
Pradyumna Kaushik
f46cd32869 Bug fix to start capping when the first task fits an offer. 2017-01-08 18:59:51 -08:00
Pradyumna Kaushik
2744bbe0f4 Made sure that the capping happens only if a different cap value has been determined. Otherwise we don't unncessarily cap again. This reduces overhead. 2017-01-08 18:58:00 -08:00
Pradyumna Kaushik
d9f626eefb BinPackedMaxMin with piston capping 2017-01-06 23:40:30 -08:00
Pradyumna Kaushik
757684d3a4 BinPackedMaxMin scheduler with Proactive cluster wide capping 2017-01-06 23:40:05 -08:00
Pradyumna Kaushik
154bacdf7f Added missing line -- Add task to list of running tasks 2017-01-06 21:05:56 -08:00
Renan DelValle
880a89c5cc Merged in bpswClassToWattsCapping (pull request #5)
Bpswclasstowattscapping
2017-01-06 20:07:18 -05:00
Pradyumna Kaushik
a0f911e4e4 Used composition to use common functions from base.go. Also incorporated schedTrace and made the necessary changes to the constructor 2017-01-06 16:49:00 -08:00