Commit graph

549 commits

Author SHA1 Message Date
Pradyumna Kaushik
7f5d9c58a3 Added to TODO (generic running average computation). 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
979b0ab9a9 Added to TODO (config template per scheduler). 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
e4bf4d3727 Prevented the use of reflect and instead compared the TaskIDs of the tasks. 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
f99fce77cb Updated comments 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
785de5bafb Added explanation for StarvationThreshold. Removed TotalPower as it was embedded inside the schedulers. 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
6aa849bbe7 fixed naming convensions to be camel cased. Reformatted the code. 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
978d51135b Removed a commented line. 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
262b13e6b7 Revert "Removed a comment"
This reverts commit fcdffb5c1006d7938d8be4aacad7ec5a7b78f20e.
2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
7ef10e6310 Removed a comment 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
f606610232 Added the proactive cluster wide capping with ranked tasks scheduler to the list of schedulers. 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
f67773dcde Added proactive cluster wide capping with ranked tasks as another scheduler. 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
892d9b86dc formatted the code 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
948e00bfeb changed the keys in taskMonitor from offer.SlaveId() to offer.Hostname. 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
7bea56206b fixed bug in cleverRecap(...). Now we switch from the primitive recap to the clever recap as the cap determined by the later would be lesser when the cluster is relatively idle. 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
43c173c60b changed the hosts from stratos-00x to stratos-00x.cs.binghamton.edu 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
44d355523b Markdown fix in README 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
5f32074c4c Fixed an error in markdown 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
abdfef2044 README to list the different scheduling algorithms defined 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
cceedad1f0 Made a mention to use --help option to get more information about the other command line options 2016-12-22 22:59:00 -05:00
Pradyumna Kaushik
e8db162820 changed the window size and capmargin to create differernt configurations. No chnage made to the code. 2016-12-22 22:59:00 -05:00
Renan DelValle
d2fc72885d Go FMT run on entire project 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
d7a5b10057 Praoctive cluster wide capping after ranking the tasks based on the requested watts 2016-12-22 22:58:59 -05:00
Renan DelValle
fa0cd43a5e Minor renaming of receivers in some schedulers 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
6c858c4e88 Added another line that needs to be uncommented to choose cleverRecap. 2016-12-22 22:58:59 -05:00
Renan DelValle
bf9a5a6005 Finished integrating dynamic capping policy that uses a high and a low threshold to start capping and uncapping node via an ssh commands that triggers a python script. Commit has sensitive data, scrub before releasing to public. 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
a158f4a341 removed rankedDetermineCap(...) as it was not needed. This algorithm has been integrated into proactiveclusterwidecappingranked.go 2016-12-22 22:58:59 -05:00
Renan DelValle
f7e38285a4 rapl capping via ssh command in rapl package 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
3f90ccfe74 Sycnrhonized operations that change the value of the cluster wide cap. Added cleverRecap(...) that determines the recap value of the cluster at a much finer level, taking into account the average load on each node in the cluster. Bug fix in cap.go -- closed the session once capping had been done. This prevented from running out of file descriptors. 2016-12-22 22:58:59 -05:00
Renan DelValle
fbc05a42df Initial version of command which will cap system 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
e562df0f5c Formatted the code 2016-12-22 22:58:59 -05:00
Renan DelValle
7d57957524 Averages are calculated correctly, PCP is able to determine a victim to be capped 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
7522cf9879 formatted the code 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
4cc1dd8e63 Kept track of totalPower per node. The watts resource for the first offer corresponds to the total power per node. Removed tasks, that had all their instances scheduled, from the list of tasks to schedule. Also, calling recap(...) every time a task completes to determine the new cluster wide cap." 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
7a69aff8d7 The computation of the cluster wide cap now considers total power per node rather than the available power per node. Also, added function recap(...) that is called to compute the cluster wide cap once a task completes. This value is used to change the cluster wide cap once a task completes." 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
a1c8319b81 changed extrema to non-extrema. This was done so that proactive cluster wide capping scheme doesn't conflict with the extrema capping scheme. 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
79a5dca76b Added another log message to log the name of the file to which the pcplogs are getting written to. 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
a9f7ca5c91 Made a check to see whether cluster wide capping has started and if not then starting the go routine that performs the cluster wide capping at regular intervals. 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
8a6ad00e21 fixed an error 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
c44088f48b fixed a an error. 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
2382b66e29 commented out the constant Clusterwide_cap_interval and its setter function. Instead hardcoding this in proactiveclusterwidecappingfcfs.go 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
04864ca174 No change made. 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
46afab1be0 Removed these files and integrated them with electron 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
0d6b714e1d Utility data structures and functions. 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
8d032f9547 Proactive cluster wide first come first server scheduler. This schedules tasks based on the fcfs cluster wide capping policy defined in proactiveclusterwidecappers.go 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
d8710385be Proactive cluster wide capper that defines two types of schedulers. First fit scheduling, that uses running average of task.Watts to calculate the cluster wide cap, and Ranked based cluster wide capper that ranks the tasks (sorts) based on the watts required and then performs fcfs in the sorted order. 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
10824a8520 Defined constants that help in scheduling of tasks. 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
c578f9904d changed bingcloud to sunybingcloud in the import statements. 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
6c3f48e324 changed bingcloud to sunybingcloud in the import statements. 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
42a15ec854 changed bingcloud to sunybingcloud in the import statements. 2016-12-22 22:58:59 -05:00
Pradyumna Kaushik
df553193fd changed bingcloud to sunybingcloud in the import statements. 2016-12-22 22:58:59 -05:00