Commit graph

445 commits

Author SHA1 Message Date
Pradyumna Kaushik
cb71153362 Sorting the tasks in non-decreasing order of watts for max-greedymins and max-min. Had unintentionally removed the sorting of tasks for max-greedymins and max-mins. 2018-01-18 18:30:27 -05:00
Pradyumna Kaushik
1b9442bf50 Fixed missing default value issue in Mesos master command line argument. 2017-10-03 20:10:44 -04:00
Pradyumna Kaushik
3d07efe15d removed default value for -master commandline argument. 2017-10-03 01:38:34 -04:00
Pradyumna Kaushik
bb5df1e3ad Linked to corresponding documentation 2017-09-28 15:56:16 -04:00
Pradyumna Kaushik
ad9f67a2a0 moved documentation of scheduling policies and power-capping strategies into a documentation folder called docs/ 2017-09-28 15:53:36 -04:00
Pradyumna Kaushik
4051aa1fb3 changed the named of the scheduling policy documentation to SchedulingPolicies.md. Also, added a documentation for power-capping strategies called PowerCappingStrategies.md 2017-09-28 15:51:22 -04:00
Pradyumna Kaushik
b807625b78 Fixed the comments to be capitalized at the start and also terminate with a period. 2017-09-28 15:36:47 -04:00
Pradyumna Kaushik
577120ae7c removed .gitignore from the .gitignore file so as to include the gitignore file and start tracking. 2017-09-28 15:14:34 -04:00
Pradyumna Kaushik
c2b42c2662 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
Pradyumna Kaushik
dcf67661e9 removed the inlining of ssh password for username=rapl. Now we read value of environment variable named RAPL_PSSWD 2017-09-27 19:52:17 -04:00
Pradyumna Kaushik
971f6833c3 modified schedulers/README.md to now use Elektron instead of Electron. Also, changed the content to just display the contained scheduling policies with an explaination for each of them. 2017-09-26 13:43:23 -04:00
Pradyumna Kaushik
04f24beac5 scheduling policies pluggable from commandline 2017-09-26 13:17:47 -04:00
Pradyumna Kaushik
051aca4d10 updated pcp config file to not include stratos information 2017-09-26 01:40:17 -04:00
Pradyumna Kaushik
978788a5aa updated example workload definition 2017-09-26 01:37:28 -04:00
Pradyumna Kaushik
60e5e0ecc1 added max-min scheduling policy 2017-09-26 01:14:39 -04:00
Pradyumna Kaushik
3fa4f3d0e6 changed commandline argument descriptions. Changed the names of the scheduling policies and the structs. 2017-09-26 01:05:18 -04:00
Pradyumna Kaushik
59266d207d retrofitted to use the generic task sorter. 2017-09-26 00:37:12 -04:00
Pradyumna Kaushik
180e85ddfa removed unnecessary constants 2017-09-26 00:31:45 -04:00
Pradyumna Kaushik
2cb09ece1f fixed importing issues in power-capping strategies. Changed names of power-capping strategies to extrema.go and progressive-extrema.go 2017-09-26 00:26:01 -04:00
Pradyumna Kaushik
9897c983fe removed proactive-clusterwide power-capper. Retrofitted package names to use elektron and not electron 2017-09-26 00:18:35 -04:00
Pradyumna Kaushik
1c4b6f0f01 refined README and removed unwanted scheduling policies. 2017-09-26 00:05:19 -04:00
Pradyumna Kaushik
dc279801b7 Merged in genericTaskSorter (pull request #18)
GenericTaskSorter

Approved-by: Renan DelValle <rdelval1@binghamton.edu>
Approved-by: ajain13 <ajain13@binghamton.edu>
2017-09-05 18:29:13 +00:00
Pradyumna Kaushik
3a9db01fa0 formatted files 2017-08-26 22:33:06 -04:00
Pradyumna Kaushik
8bc408dea1 fixed comments. Removed an old comment that no longer made sense. 2017-08-26 15:43:09 -04:00
Pradyumna Kaushik
9e620eaede changed def.TaskSorter(...) to def.SortTasks(...) for semantics. Now, def.SortTasks(...) also sorts the tasks instead of returning just a func (i, j int) bool {}. Removed TODO from the README associated with this PR 2017-08-26 15:39:45 -04:00
Pradyumna Kaushik
0869bea2d8 Used closures instead of strings for the generic sorter. This removed the need for reflection. 2017-08-26 15:19:30 -04:00
Pradyumna Kaushik
3c65bdf02e changed the scope of TaskResourceNames and SortCriteria to be package private. 2017-08-23 20:10:33 -04:00
Pradyumna Kaushik
c2c7a2c090 Added TODO to use the generic task sorters and get rid of the existing sorters present in def/task.go 2017-08-23 20:06:44 -04:00
Pradyumna Kaushik
f29b7f51a9 Added a generic task sorter utility. This allows for an array of tasks to be sorted based on any resource. The possible resources by which an array of tasks can be sorted currently are listed in def/sortingCriteria.go. One can add more to this if required. 2017-08-23 19:35:19 -04:00
Pradyumna Kaushik
9b9dc73269 Merged in kmeansTaskClassification (pull request #17)
KmeansTaskClassification

Approved-by: ajain13 <ajain13@binghamton.edu>
Approved-by: Renan DelValle <rdelval1@binghamton.edu>
2017-08-23 02:57:33 +00:00
Pradyumna Kaushik
235ed189d5 Moved the TODO, for the refinement of the cluster sorting algorithm, to the main README file. 2017-08-22 13:09:05 -04:00
Pradyumna Kaushik
e1350838f3 Merge branch 'kmeansTaskClassification' of https://bitbucket.org/sunybingcloud/electron into kmeansTaskClassification 2017-08-22 13:03:17 -04:00
Pradyumna Kaushik
f4459c8cbf Consolidated the ClassifyTasks(...) functions from topHeavy and bottomHeavy and added the function to def/taskUtils.go. Added TODOs for refining the means by which the kmeans classified clusters were sorted. 2017-08-22 13:00:40 -04:00
Pradyumna Kaushik
41ef269c62 fixed indentation 2017-08-22 12:56:36 -04:00
Pradyumna Kaushik
e3569e95ce fixed comments to be a little more meaningful. 2017-04-30 16:48:38 -04:00
Pradyumna Kaushik
1b15bb14e7 Resolved merge conflicts with the master. Also, added TODO in README to use Go1.8 techniques. 2017-04-21 17:17:22 -04:00
ajain13
bb73236421 Merged in Build-bug-fix (pull request #16)
Build bug fix due to an incorrect import

Approved-by: Pradyumna Kaushik <pkaushi1@binghamton.edu>
2017-03-26 01:23:32 +00:00
Abhishek Jain
806ac6fa86 Removed the import statement which was importing offerUtils from electron-archive. This results in build failure is electron-archive is a local package 2017-03-25 21:11:24 -04:00
ajain13
84c14f0c2f Merged in hostsConstantUpdation (pull request #15)
Dynamic updation of constant.Hosts and constants.PowerClasses.

Approved-by: Renan DelValle <rdelval1@binghamton.edu>
Approved-by: Pradyumna Kaushik <pkaushi1@binghamton.edu>
2017-03-26 00:37:41 +00:00
Abhishek Jain
4024f1655e Fixed a TODO 2017-03-25 20:35:50 -04:00
Abhishek Jain
34a9c89e45 Added a TODO regarding handling the powerclass not being configured on a node condition 2017-03-25 20:34:58 -04:00
Abhishek Jain
de7e73ff50 Changed a log message in the UpdateEnvironment(..) func. 2017-03-25 20:27:40 -04:00
Abhishek Jain
e01c7b1b1d Retrofitted all the schedulers to call UpdateEnvironment(..) function instead of the old named function i.e AddHostIfNew(..) 2017-03-25 18:06:39 -04:00
Abhishek Jain
8eddad4e17 Changed the function name from AddHostIfNew(..) to UpdateEnvironment(..) based on a comment in the PR 2017-03-25 18:05:36 -04:00
Abhishek Jain
85b14e125d Got rid of commented code 2017-03-24 17:28:53 -04:00
Abhishek Jain
9546529f80 Corrected a spelling mistake in a print statement 2017-03-24 17:13:21 -04:00
Abhishek Jain
1915e589cd Made a tiny change in the logging message in AddHostIfNew(..) function 2017-03-24 17:03:29 -04:00
Abhishek Jain
ca24706582 Removed the tag TODO from a TODO 2017-03-24 16:53:27 -04:00
Abhishek Jain
02aa1fac3c Removed a TODO which is basically this current PR 2017-03-24 16:40:14 -04:00
Abhishek Jain
6665ff4776 Fixed a bug. 2017-03-24 16:36:42 -04:00