Commit graph

196 commits

Author SHA1 Message Date
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
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
5128c51b22 formatted code. 2017-01-28 19:45:47 -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
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
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
62f199773a formatted the files 2017-01-14 20:04:37 -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
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
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
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
Pradyumna Kaushik
722bd233e3 Used composition to use common functions from base.go. Also incorporated schedTrace and made the necessary changes to the constructor 2017-01-06 16:47:59 -08:00
Pradyumna Kaushik
20efe92525 Piston Capping with BinPackedSortedWattsClassToWatts 2017-01-06 16:01:45 -08:00
Pradyumna Kaushik
678c113f0a Proactive Clusterwide Capping with BinPackedSortedWattsClassToWatts 2017-01-06 16:01:18 -08:00
Pradyumna Kaushik
d5860a91ae fixed merge conflicts 2017-01-06 15:58:50 -08:00
Renan DelValle
841c5e0392 Minor comments and style changes 2017-01-06 18:53:03 -05:00
Pradyumna Kaushik
270b5a7ee1 Fixed bug. Now watts is taken from task.ClassMapWatts[nodeClass] and not task.Watts. Changed the function signature of newTask(...) to take in another parameter called newTaskClass that corresponds to the nodeClass. 2017-01-06 15:41:13 -08:00
Pradyumna Kaushik
0135ee69e4 Added TODO to make the newTask(...) variadic 2017-01-06 15:39:12 -08:00
Renan DelValle
776bffb100 Finished bin packed max min. 2017-01-04 20:25:54 -05:00
Renan DelValle
2678032c2c Go fmt on the entire project 2017-01-03 20:57:25 -05:00
Renan DelValle
b636ff490c Using anonymous and type promotion to code share more efficiently 2017-01-03 20:56:55 -05:00
Renan DelValle
3f04e4cc4c Minor fixes. Updated the README. 2017-01-03 18:10:05 -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
b25158336d Used the capping strategy 'proactiveclusterwidecappers' from pcp/ instead of from the same package as it was moved. 2016-12-22 23:20:24 -05:00
Pradyumna Kaushik
7d0a902773 Used the capping strategy 'proactiveclusterwidecappers' from pcp/ instead of from the same package as it was moved 2016-12-22 23:20:24 -05:00
Pradyumna Kaushik
f829cfea66 Moved it to pcp/ as it is not a scheduler and is a capping strategy 2016-12-22 23:20:18 -05:00
Renan DelValle
71c889982f resolved merge conflicts 2016-12-22 23:17:01 -05:00
Pradyumna Kaushik
2d3b484151 Using ranked proactive cluster wide capper with clever recapping 2016-12-22 22:59:03 -05:00
Pradyumna Kaushik
f55169c91c Fixed corner case bug with sorting of tasks. Not sorting if there are no more tasks to schedule. 2016-12-22 22:59:03 -05:00
Pradyumna Kaushik
7bd562cacb synchronized operations on tasksRunning and hence, prevented previously occuring race condition. 2016-12-22 22:59:03 -05:00
Pradyumna Kaushik
24d2b89aa0 synchronized operations on tasksRunning and hence prevented the previously occuring race condition. 2016-12-22 22:59:03 -05:00
Pradyumna Kaushik
89a294b365 Removed TODO comment in ResourceOffers(...), that wasn't necessary anymore. 2016-12-22 22:59:03 -05:00
Pradyumna Kaushik
fae3a35403 Added to TODO (generic running average computation). 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