Abhishek Jain
85b14e125d
Got rid of commented code
2017-03-24 17:28:53 -04:00
Abhishek Jain
f85ed944f4
Changed the loop as now we are looping over a map and not a slice.
2017-03-23 22:13:29 -04:00
Pradyumna Kaushik
41206dd82e
refactored name of CapThreshold to LowerCapLimit. Added comment to mention that floating point operations can lead to precision loss.
2017-03-09 19:20:13 -05:00
Pradyumna Kaushik
87bd8d7cf0
Added logging when there is no victim left to cap.
2017-03-09 19:17:06 -05:00
Pradyumna Kaushik
2939943afd
Made sure that the victim that is capped the most is the one picked to be uncapped. This is to reduce the chances of benchmark starvation. Refined comments and logging.
2017-02-22 20:09:04 -05:00
Pradyumna Kaushik
373ba63933
fixed bugs. Made sure that we don't cap a victim below the threshold. Made sure the victims the can be capped and uncapped are maintained in both cappedVictims and orderCappedVictims.
2017-02-21 21:05:47 -05:00
Pradyumna Kaushik
726c0555ed
Fixed corner cases in progressive extrema -- When a node is capped and the new cap value is above a threshold then that node can be capped or uncapped in the next cycle. If the new cap value is equal to the threshold then the node cannot be capped further and can only be uncapped. When the node is uncapped and the newUncapValue is below 100 then the node can be capped or uncapped in the next cycle. If the newUncapValue is 100 then the node can only be capped.
2017-02-20 20:55:06 -05:00
Pradyumna Kaushik
d42b7a3a3b
changed the type of percentage in rapl.Cap(...) from int to float64. Retrofitted power-capping strategies to cap using a float64 value instead of an int. Moved common functions in loganddynamiccap.go and logAndProgressiveExtrema.go into pcp/utils.go. New power-capping strategy that builds on top of extrema, where it caps the victims at different until it can't cap further, in which case it starts uncapping them in the reverse order of capping.
2017-02-15 19:22:56 -05:00
Pradyumna Kaushik
a0a3e78041
Merged in hybridSchedulerAndSortedOffers (pull request #8 )
...
Hybrid Scheduler -- TopHeavy, BottomHeavy, FirstFit and BinPacked schedulers with sortedOffers.
2017-02-10 20:21:04 +00:00
Renan DelValle
12efaedaa9
Style and naming fixes.
2017-02-05 14:54:15 -05:00
Renan DelValle
610c006834
Adding DRAM monitoring to Extrema.
2017-02-03 23:12:49 -05:00
Pradyumna Kaushik
0413d2abd3
moved proactiveclusterwidecappers.go to powerCapping/ from pcp/
2017-01-28 21:42:23 -05:00
Pradyumna Kaushik
2cd77a7ba8
Changed Window to ConsiderationWindow.
2017-01-28 18:29:00 -05:00
Pradyumna Kaushik
8c6ad36b5e
changed name of StartLogAndDynamicCap(...) to StartPCPLogAndExtremaDynamicCap(...).]
2017-01-15 15:23:57 -05:00
Pradyumna Kaushik
8c0cde939a
renamed Recap to NaiveRecap
2017-01-08 19:13:44 -08:00
Renan DelValle
2678032c2c
Go fmt on the entire project
2017-01-03 20:57:25 -05:00
Renan DelValle
b73c30a8bf
Implemented a scheduling tracer. Logs time date and host:task-ID. Made log prefix more global since it needs to be constant for all log files generated.
2017-01-03 20:30:21 -05:00
Renan DelValle
147bbc8b5a
Fixing commit history
2016-12-22 23:27:18 -05:00
Pradyumna Kaushik
f829cfea66
Moved it to pcp/ as it is not a scheduler and is a capping strategy
2016-12-22 23:20:18 -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
383f088b6a
changed bingcloud to sunybingcloud in the import statements.
2016-12-22 22:58:59 -05:00
Renan DelValle
d2fc72885d
Go FMT run on entire project
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
Renan DelValle
f7e38285a4
rapl capping via ssh command in rapl package
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
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
Renan DelValle
fce62981da
Moved schedulers from the main programs to schedulers package. Can now choose different scheduelrs to use. Work on code sharing between schedulers remains to be done.
2016-12-22 22:58:58 -05:00
Renan DelValle
6a406cad69
SIGINT is now captured. Linux/MacOS shutdown for pcpdumptext child
...
processes added to clean up after we finish running. Made all tasks
run on bridged network mode so that benchmarks that heavily utilize
network are protected from eachother. I.e: Tradebeans, tradesoap
2016-12-22 22:58:58 -05:00
Renan DelValle
086b06256d
Added Error state. Fixed bug with tasks returning error because 0.0 watts was requested as a resource. Changed name to be more readable by eliminating electron. PCP logs can now have a prefix.
2016-12-22 22:58:58 -05:00
Renan DelValle
2575c2a20b
PCP is now controlled by main scheduler. It will start recording upon the acceptance of the very first offer. pcp is now it's own package. README has been updated with instructions on how to create workloads and running instructions.
2016-12-22 22:58:58 -05:00
Renan DelValle
1b57b6dec2
Tied metric columns to values, next step will be determining how to store them and retrieve them
2016-12-22 22:58:58 -05:00
Renan DelValle
fa3a620fba
PCP code is now able to deal with receiving information asynchronously from pmdumptext
2016-12-22 22:58:58 -05:00