Pradyumna Kaushik
|
373a437bae
|
Added TODO to setup the constants at runtime.
|
2016-12-22 22:59:01 -05:00 |
|
Pradyumna Kaushik
|
4ef038f22f
|
updated comment
|
2016-12-22 22:59:01 -05:00 |
|
Pradyumna Kaushik
|
9b5ac0bfa8
|
removed unnecessary variable 'numberOfElementsInWindow' and just used window.Len() instead
|
2016-12-22 22:59:01 -05:00 |
|
Pradyumna Kaushik
|
bf6c5eded9
|
used the generic running average calculator
|
2016-12-22 22:59:01 -05:00 |
|
Pradyumna Kaushik
|
f304cd295a
|
Completed couple of TODOs and added two more.
|
2016-12-22 22:59:01 -05:00 |
|
Pradyumna Kaushik
|
1b821735ed
|
fixed bug in Remove() where the currentSum and numberOfTasksInWindow weren't getting updated.
|
2016-12-22 22:59:01 -05:00 |
|
Pradyumna Kaushik
|
e0a16da97a
|
Added functionality to be able to remove elements from the window by providing a unique ID. Also, added another function to the interface that needs to be implemented by all the structs implementing this interface. This function should return a unique ID identifying the object so as to be able to distinguish between multiple instances of the same type.
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
bd3802ddfd
|
Made change to TODO
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
7aea52991b
|
TODO to add another functionality to the runAvg interface to be able to remove element from the window based on a criteria.
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
822ef0067c
|
Removed TODO for creating generic running average calculator. Added TODO to use the generic running average calculator in proactiveclusterwidecappers.go
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
59b8303aaf
|
Generic running average calculator.
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
1321010d6f
|
Changed comment. The utility can be used to sort any map[string]float64 by value, and not just availablePower.
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
63a7f0acb5
|
Moved the check for fitting tasks into a different function.
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
2e0ec0cc99
|
Added Piston Capper to the list of schedulers
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
c493bd066e
|
used sort interface instead of the quickSort algorithm to sort tasks in ascending order of watts.
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
d69c5006ed
|
removed quickSort algorithm to sort tasks. We can do this using the sort interface
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
6ae5cd0cdd
|
removed unnecessary import
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
bfcb254f23
|
formatted the code
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
16e25cea0f
|
removed the explanation of ignoreWatts
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
aeabaa7ce0
|
formatted
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
7c488d451b
|
formatted
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
b5566c6719
|
Added a note to the command to run without ignoreWatts, to mention that Watts becomes a hard limit when not ignored.
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
a07806f570
|
Checked for task fitting watts requirement considering watts to be a hard limit.
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
236be222cd
|
Logging of capping happens only when there is no error with rapl.Cap.
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
d9357f59e7
|
New scheduler. BinPacking with capping each node to different values (piston capping).
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
a6dcda04c8
|
Panic when few tasks are present and hence added a TODO to test each scheduler for corner cases
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
de4df8ba7b
|
switched scheduler to now be an instance of PistonCapper.
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
54a55ec523
|
Nit: Changed variable name 'runningAverageToTotalPowerPercentage' to 'ratios'
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
b0140a8b93
|
Using ranked proactive cluster wide capper with clever recapping
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
ef839c530d
|
Fixed corner case bug with sorting of tasks. Not sorting if there are no more tasks to schedule.
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
3e1fe71459
|
Updated readme to include run command with and without ignoreWatts
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
7f59bc4b68
|
Fixed the -p option. Changed the README for the same.
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
6c29f2c5a4
|
synchronized operations on tasksRunning and hence, prevented previously occuring race condition.
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
395e8e3e3d
|
synchronized operations on tasksRunning and hence prevented the previously occuring race condition.
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
b8c33b25b4
|
Added TODO to fix the -p option.
|
2016-12-22 22:59:00 -05:00 |
|
Pradyumna Kaushik
|
8eda0c68b1
|
Removed TODO comment in ResourceOffers(...), that wasn't necessary anymore.
|
2016-12-22 22:59:00 -05:00 |
|
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 |
|