Elektron is a lightweight, power-aware, pluggable Mesos framework that behaves as a playground to experiment with different scheduling policies to schedule ad-hoc jobs in docker containers.
This repository has been archived on 2024-04-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Find a file
Pradyumna Kaushik 065705d480 Merged in experimentation/schedPolicySwitcher (pull request #1)
Experimentation/schedPolicySwitcher
1. Initial commit for consolidated loggers using observer pattern.
2. class factory for schedulers.
3. Using the scheduling policy class factory in schedulers/store.go and the scheduler builder helpers in schedulers/helpers.go, feature to be able to be able to plug a scheduling policy of your choice from the command line (right now only first-fit and bin-packing are possible. Will be updating the class factory to include other scheduling policies as well.
4. Removed TODO for using generic task sorters. Modified TODO for a config file input to run electron.
5. Added other schedulers to the factory
6. Partially retrofitted the other scheduling policies to use the logging library.
7. Retrofitted extrema and progressive to use the consolidated logging library. Fixed parameter issue with s.base.Disconnected(). Formatted project
8. Move statusUpdate(...) into base.go to remove redundant code.
9. Converted the baseScheduler into a state machine where the state is a scheduling policy that defines an approach to consume resource offers.
10. Added another command line argument to be used to enable switching of scheduling policies. Retrofitted scheduling policies to switch only if the particular feature has been enabled.

changed argument to coLocated(...) to take base type rather than ElectronScheduler type. Also, prepended the prefix to the directory of the logs so that it would be easier to determine what the files in a directory correspond to without viewing the contents of the directory.
Defined methods in ElectronScheduler. Each of these methods corresponds to a type of log that an ElectronScheduler would make. Each of these methods would need to be implemented by the scheduling policy.

Electron has only one scheduler that implements the mesos scheduler interface. All the scheduling policies are just different implementations of ways to consume mesos resource offers. Retrofitted scheduling policies to now embed SchedPolicyState instead of baseScheduler.

Approved-by: Pradyumna Kaushik <pkaushi1@binghamton.edu>
2018-09-23 17:19:28 -04:00
constants Fixed the comments to be capitalized at the start and also terminate with a period. 2017-09-28 15:36:47 -04:00
def Fixed the comments to be capitalized at the start and also terminate with a period. 2017-09-28 15:36:47 -04:00
docs moved documentation of scheduling policies and power-capping strategies into a documentation folder called docs/ 2017-09-28 15:53:36 -04:00
environment Now retrieving path to rapl throttle script by reading value of an environment variable. Also, stored the RAPL_PKG_Throttle.py script in a directory called scripts/. The location of this needs to be stored in an environment variable named RAPL_PKG_THROTTLE_LOCATION. 2017-09-28 15:01:06 -04:00
logging Merged in experimentation/schedPolicySwitcher (pull request #1) 2018-09-23 17:19:28 -04:00
pcp Merged in experimentation/schedPolicySwitcher (pull request #1) 2018-09-23 17:19:28 -04:00
power-capping Merged in experimentation/schedPolicySwitcher (pull request #1) 2018-09-23 17:19:28 -04:00
rapl Now retrieving path to rapl throttle script by reading value of an environment variable. Also, stored the RAPL_PKG_Throttle.py script in a directory called scripts/. The location of this needs to be stored in an environment variable named RAPL_PKG_THROTTLE_LOCATION. 2017-09-28 15:01:06 -04:00
schedulers Merged in experimentation/schedPolicySwitcher (pull request #1) 2018-09-23 17:19:28 -04:00
scripts Now retrieving path to rapl throttle script by reading value of an environment variable. Also, stored the RAPL_PKG_Throttle.py script in a directory called scripts/. The location of this needs to be stored in an environment variable named RAPL_PKG_THROTTLE_LOCATION. 2017-09-28 15:01:06 -04:00
utilities Fixed the comments to be capitalized at the start and also terminate with a period. 2017-09-28 15:36:47 -04:00
.gitignore removed .gitignore from the .gitignore file so as to include the gitignore file and start tracking. 2017-09-28 15:14:34 -04:00
config updated pcp config file to not include stratos information 2017-09-26 01:40:17 -04:00
README.md Linked to corresponding documentation 2017-09-28 15:56:16 -04:00
scheduler.go Merged in experimentation/schedPolicySwitcher (pull request #1) 2018-09-23 17:19:28 -04:00
workload_sample.json updated example workload definition 2017-09-26 01:37:28 -04:00

Elektron: A Pluggable Mesos framework with power-aware capabilities

Elektron is a Mesos framework that behaves as a playground for developers to experiment with different scheduling policies to launch ad-hoc jobs. Elektron is designed as a lightweight, configurable framework, which can be used in conjunction with built-in power-capping policies to reduce the peak power and/or energy usage of co-scheduled tasks.

#Features