Commit graph

  • d5d3c87ff2 added a constant called CapThreshold that defines the lower limit below which we shouldn't cap a node. Pradyumna Kaushik 2017-02-15 19:15:18 -05:00
  • ccbe7a14b7 Merged in schedulerAttributesConsolidation (pull request #11) Pradyumna Kaushik 2017-02-14 19:42:22 +00:00
  • d4b1a85f79 resolved merge conflict with master. Formatted file. Pradyumna Kaushik 2017-02-11 14:27:33 -05:00
  • 02fede7184 resolved merge conflict with master. Also, changed the name of the constructor for BPSWMaxMin from NewBPMaxMinWatts to NewBPSWMaxMinWatts Pradyumna Kaushik 2017-02-11 14:26:27 -05:00
  • bff0fd2b1e Merged in classMapWattsCommandLine (pull request #10) Pradyumna Kaushik 2017-02-11 16:57:00 +00:00
  • ceff625d32 fixed formatting of function arguments for CheckFit(...) Pradyumna Kaushik 2017-02-11 01:23:07 -05:00
  • 6ac1b38883 Added comment to explain the classification of nodes in the cluster into power-classes. Pradyumna Kaushik 2017-02-11 01:14:02 -05:00
  • 13479e03a4 formatted files Pradyumna Kaushik 2017-02-11 00:05:42 -05:00
  • ec78480067 renamed constants.CapMargin to constants.Tolerance for better semantics Pradyumna Kaushik 2017-02-10 20:53:18 -05:00
  • ad925dfc8f Added TODO for making WattsToConsider(...) a receiver of def.Task and changing its name to Watts(...) Pradyumna Kaushik 2017-02-10 20:28:06 -05:00
  • ae55790c76 removed TODO for adding the possibility of enabling and disabling classMapWatts from command-line Pradyumna Kaushik 2017-02-10 18:11:52 -05:00
  • 05f92bcfd2 resolved merge conflict Pradyumna Kaushik 2017-02-10 18:02:06 -05:00
  • f5ddc56f27 changed the name of takeOffer(...) to takeOfferBinPack(...) and then created another function called takeOfferFirstFit(...). Made sure that these functions are called instead of inlining code. Pradyumna Kaushik 2017-02-10 16:39:13 -05:00
  • 1dcf416849 Resolved merge conflicts with master Pradyumna Kaushik 2017-02-10 16:23:09 -05:00
  • 814d16b54d added hostmismatch function to be called by all schedulers Pradyumna Kaushik 2017-02-10 15:46:20 -05:00
  • a0a3e78041 Merged in hybridSchedulerAndSortedOffers (pull request #8) Pradyumna Kaushik 2017-02-10 20:21:04 +00:00
  • 07ee19b3f8 fixed comment Pradyumna Kaushik 2017-02-09 23:36:07 -05:00
  • d2f754e23b fixed comment Pradyumna Kaushik 2017-02-09 23:35:26 -05:00
  • 6c62b5326f Added a HostMismatch(...) in offerUtils that checks whether a task's host requirement matches the host corresponding to the offer. Made sure all schedulers call takeOffer(...) that is defined in each scheduler, to maintain consistency. Pradyumna Kaushik 2017-02-09 22:48:34 -05:00
  • aabdd716dd Added TODO to clean up constants.go and use Mesos attributes instead. Pradyumna Kaushik 2017-02-09 20:41:54 -05:00
  • 9dc5bdada2 Moved all the common scheduler attributes into base.go Pradyumna Kaushik 2017-02-09 20:27:18 -05:00
  • 57512ac2dd Changed ignoreWatts to wattsAsAResource. This resulted in flipping of the condition checks that use these variablees Pradyumna Kaushik 2017-02-09 18:41:40 -05:00
  • 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. Pradyumna Kaushik 2017-02-09 18:05:38 -05:00
  • a2b50dd313 Added TODO for making def.Task an interface where we can define different types of Task configuration. This increases Electron's flexivility on the workload format Pradyumna Kaushik 2017-02-08 14:58:57 -05:00
  • faad66f78c Merge branch 'master' of https://bitbucket.org/sunybingcloud/electron into classMapWattsCommandLine Pradyumna Kaushik 2017-02-05 15:05:17 -05:00
  • 0d79079bf6 changed scheduler to binPacked Pradyumna Kaushik 2017-02-05 14:59:34 -05:00
  • 77de99fd95 Merged in dram-extrema (pull request #9) Pradyumna Kaushik 2017-02-05 19:58:36 +00:00
  • 12efaedaa9 Style and naming fixes. Renan DelValle 2017-02-05 14:54:15 -05:00
  • b838c53c6d added CPUSorter to task to be able to sort tasks based on CPU requirement. Pradyumna Kaushik 2017-02-05 14:49:07 -05:00
  • 395917a97e changed pcplogger to pcplog and extrema Pradyumna Kaushik 2017-02-05 01:08:48 -05:00
  • eea0db0b3d retrofitted schedulers by renaming 'taken' to 'offerTaken' for the boolean to indicate whether an offer has been consumed. Pradyumna Kaushik 2017-02-04 16:59:25 -05:00
  • 7fc5b5d19e Added TODO to be able to choose schedulers from the config file (the creation of which is also in TODO) too. Pradyumna Kaushik 2017-02-04 16:10:32 -05:00
  • 610c006834 Adding DRAM monitoring to Extrema. Renan DelValle 2017-02-03 23:12:49 -05:00
  • f4b5ffc1de used offerUtils#PowerClass(...) instead of inlining the source code. Pradyumna Kaushik 2017-01-31 16:33:59 -05:00
  • b815d65910 Add another category called Capping Strategies. Pradyumna Kaushik 2017-01-31 16:29:06 -05:00
  • 05ec39e35c Merge branch 'hybridSchedulerAndSortedOffers' of https://bitbucket.org/sunybingcloud/electron into hybridSchedulerAndSortedOffers Pradyumna Kaushik 2017-01-31 16:20:20 -05:00
  • a39cc39c8c Added TODO for future work -- ClassMapWatts as commandLine argument Pradyumna Kaushik 2017-01-31 16:19:58 -05:00
  • 27bfbd6268 Merge branch 'master' of https://bitbucket.org/sunybingcloud/electron into hybridSchedulerAndSortedOffers Pradyumna Kaushik 2017-01-31 16:13:57 -05:00
  • 3af1d561c2 retrofitted to use offerUtils.PowerClass(...) instead of inlining the code in every scheduler. Reduced redundant code. Changed name of newTaskClass in newTask(...) to powerClass. Pradyumna Kaushik 2017-01-31 15:33:31 -05:00
  • 84cdea08fc retrofitted to use offerUtils.PowerClass(...) instead of inlining the code in every scheduler. Reduced redundant code. Pradyumna Kaushik 2017-01-31 15:33:31 -05:00
  • 04d722d20f removed the new commandline argument for powerClass. This will be part of another patch to the code. Pradyumna Kaushik 2017-01-31 15:13:55 -05:00
  • f883abd36d Changed the description of the file. Now mentions that this is a capping strategy that can be used with different schedulers. Pradyumna Kaushik 2017-01-31 15:12:43 -05:00
  • d5ae027e41 fixed return value of String() by changing 'Cluster Capper' to 'Cluster-wide Capper' Pradyumna Kaushik 2017-01-31 14:27:57 -05:00
  • e188aff66f retrofitted to use clusterwidecapper from powerCapping/ instead of from pcp/ as clusterwidecapper was moved from pcp/ to powerCapping/ Pradyumna Kaushik 2017-01-28 21:56:23 -05:00
  • 03a9d64a52 fixed package name from pcp to powerCapping Pradyumna Kaushik 2017-01-28 21:49:57 -05:00
  • 0413d2abd3 moved proactiveclusterwidecappers.go to powerCapping/ from pcp/ Pradyumna Kaushik 2017-01-28 21:42:23 -05:00
  • 92e432c312 formatted code Pradyumna Kaushik 2017-01-28 21:37:01 -05:00
  • 3a7c0dc33b changed message for command-line argument 'powerClass' Pradyumna Kaushik 2017-01-28 21:36:33 -05:00
  • ee0cada747 changed name of command-line argument 'classMapWatts' to 'powerClass' Pradyumna Kaushik 2017-01-28 21:33:36 -05:00
  • 4f5036bd32 Added TODO to retrofit schedulers to run either with classMapWatts enabled or disabled. Pradyumna Kaushik 2017-01-28 21:31:05 -05:00
  • 3119724154 Added another command-line argument to indicate whether to use the Watts attribute or the ClassToWatts attribute in the workload JSON. Pradyumna Kaushik 2017-01-28 21:30:15 -05:00
  • 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. Pradyumna Kaushik 2017-01-28 21:09:43 -05:00
  • e7166420dd add function to determine PowerClass of host in offer. This was earlier to be written in each scheduler when using classMapWatts. Pradyumna Kaushik 2017-01-28 21:08:11 -05:00
  • 5128c51b22 formatted code. Pradyumna Kaushik 2017-01-28 19:45:47 -05:00
  • 5a6edb802e fixed comment. Pradyumna Kaushik 2017-01-28 19:43:12 -05:00
  • 8581749435 retrofitted all schedulers to call OfferAgg(...) and OffersSorter from utilities/offerUtils and also to use defaultFilter and longFilter from utilities/mesosUtils Pradyumna Kaushik 2017-01-28 19:40:39 -05:00
  • 354e89cac7 moved longFilter and defaultFilter to utilities/mesosUtils and OfferAgg and OffersSorter to utilities/offerUtils Pradyumna Kaushik 2017-01-28 19:36:13 -05:00
  • 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. Pradyumna Kaushik 2017-01-28 19:34:28 -05:00
  • e63784b007 Created utilities/offerUtils that can can hold all the utility functions for Offers. Pradyumna Kaushik 2017-01-28 19:32:54 -05:00
  • 6d4446413d Created utilities/mesosUtils that can hold all the interactions with mesos. Moved longFilter and defaultFilter to mesosUtils. Pradyumna Kaushik 2017-01-28 19:32:12 -05:00
  • 2cd77a7ba8 Changed Window to ConsiderationWindow. Pradyumna Kaushik 2017-01-28 18:29:00 -05:00
  • 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. Pradyumna Kaushik 2017-01-28 17:58:36 -05:00
  • 581803c2f0 FirstFit and BinPacking with SortedOffers based on CPU. Pradyumna Kaushik 2017-01-28 17:52:24 -05:00
  • 6b0f4e3729 removed commented lines. Changed the scheduler to BinPackedSortedWattsSortedOffers. Pradyumna Kaushik 2017-01-28 17:48:15 -05:00
  • e60488f965 added OffersSorter that implements sort interface to sort offers based on CPU. Pradyumna Kaushik 2017-01-28 17:47:24 -05:00
  • 477a319688 Removed unnecessary whitespace. Pradyumna Kaushik 2017-01-28 17:46:29 -05:00
  • 042c64210a Added PowerClasses -- classification of hosts in the cluster, based on their TDP. Pradyumna Kaushik 2017-01-28 17:44:16 -05:00
  • 08e874c77a Merged in ffClassMapWatts (pull request #7) Renan DelValle 2017-01-24 00:31:42 +00:00
  • fa17ae82e1 Added TODO for a centralised logFile that can filtered by an identifier. Pradyumna Kaushik 2017-01-15 21:19:01 -05:00
  • a28acfcf50 added TODO for to fix log for declining offer, where we need to mention the correct reason for declining the offer Pradyumna Kaushik 2017-01-15 19:48:41 -05:00
  • 8c6ad36b5e changed name of StartLogAndDynamicCap(...) to StartPCPLogAndExtremaDynamicCap(...).] Pradyumna Kaushik 2017-01-15 15:23:57 -05:00
  • 7d3403d250 removed TODO for retrofitting schedulers to log scheduling trace. Pradyumna Kaushik 2017-01-14 20:09:49 -05:00
  • 62f199773a formatted the files Pradyumna Kaushik 2017-01-14 20:04:37 -05:00
  • 15c4f04d75 changed the scheduler to ffswClassMapWatts Pradyumna Kaushik 2017-01-14 19:57:01 -05:00
  • 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. Pradyumna Kaushik 2017-01-14 19:44:50 -05:00
  • 65263426b4 formatted code Pradyumna Kaushik 2017-01-14 17:22:15 -05:00
  • 6798807a0b Fixed bug in logging the correct cap value. Pradyumna Kaushik 2017-01-14 17:21:46 -05:00
  • cb7e697cfa First Fit SortedWatts ClassMapWatts with Proactive Clusterwide Capping. Pradyumna Kaushik 2017-01-14 16:20:58 -05:00
  • 3b46dbc357 First Fit SortedWatts retrofitted to use ClassMapWatts in the workload. Pradyumna Kaushik 2017-01-14 16:20:21 -05:00
  • 0c6d7f670e Merged in bpswClassToWattsCapping (pull request #6) Renan DelValle 2017-01-09 00:43:10 -05:00
  • da0c6a2225 Merge branch 'master' of https://bitbucket.org/sunybingcloud/electron into bpswClassToWattsCapping Pradyumna Kaushik 2017-01-08 19:33:57 -08:00
  • 170674720d updated the call to Recap(...) to NaiveRecap(...) to be in tune with the updated function name Pradyumna Kaushik 2017-01-08 19:15:53 -08:00
  • 8c0cde939a renamed Recap to NaiveRecap Pradyumna Kaushik 2017-01-08 19:13:44 -08:00
  • afa31cc231 Added TODO to move the cappers to pcp/ and also to include the change made to cap only when necessary. Pradyumna Kaushik 2017-01-08 19:09:58 -08:00
  • 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. Pradyumna Kaushik 2017-01-08 19:08:46 -08:00
  • 59e08f0a1a fixed spacing Pradyumna Kaushik 2017-01-08 19:08:02 -08:00
  • 15d3aa2177 removed commented code Pradyumna Kaushik 2017-01-08 19:01:08 -08:00
  • f46cd32869 Bug fix to start capping when the first task fits an offer. Pradyumna Kaushik 2017-01-08 18:58:39 -08:00
  • 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. Pradyumna Kaushik 2017-01-08 18:58:00 -08:00
  • d9f626eefb BinPackedMaxMin with piston capping Pradyumna Kaushik 2017-01-06 23:40:30 -08:00
  • 757684d3a4 BinPackedMaxMin scheduler with Proactive cluster wide capping Pradyumna Kaushik 2017-01-06 23:40:05 -08:00
  • 154bacdf7f Added missing line -- Add task to list of running tasks Pradyumna Kaushik 2017-01-06 21:05:56 -08:00
  • 880a89c5cc Merged in bpswClassToWattsCapping (pull request #5) Renan DelValle 2017-01-06 20:07:18 -05:00
  • a0f911e4e4 Used composition to use common functions from base.go. Also incorporated schedTrace and made the necessary changes to the constructor Pradyumna Kaushik 2017-01-06 16:49:00 -08:00
  • 722bd233e3 Used composition to use common functions from base.go. Also incorporated schedTrace and made the necessary changes to the constructor Pradyumna Kaushik 2017-01-06 16:47:59 -08:00
  • 118e0a571a changed scheduler to BPSWClassMapWatts. Also, capping is extrema. Pradyumna Kaushik 2017-01-06 16:46:31 -08:00
  • 20efe92525 Piston Capping with BinPackedSortedWattsClassToWatts Pradyumna Kaushik 2017-01-06 16:01:45 -08:00
  • 678c113f0a Proactive Clusterwide Capping with BinPackedSortedWattsClassToWatts Pradyumna Kaushik 2017-01-06 16:01:18 -08:00
  • d5860a91ae fixed merge conflicts Pradyumna Kaushik 2017-01-06 15:58:50 -08:00
  • 58bc24cb72 Changed the scheduler to run Pradyumna Kaushik 2017-01-06 15:57:08 -08:00