From 089b106fdb2295757491afd677564b01898f7f65 Mon Sep 17 00:00:00 2001 From: Pradyumna Kaushik <pkaushi1@binghamton.edu> Date: Thu, 4 Oct 2018 19:41:22 -0400 Subject: [PATCH] Commands to plug-in powercap policy. --- README.md | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0225bb5..e3b9a08 100644 --- a/README.md +++ b/README.md @@ -49,18 +49,33 @@ How to run (Use the --help option to get information about other command-line op Use the `-logPrefix` option to provide the prefix for the log file names. -`./elektron -master <host:port> -workload <workload json>` +```commandline +./elektron -master <host:port> -workload <workload json> +``` + +### Power Capping +_Elektron_ is also capable of running power capping policies along with scheduling policies. + +Use the `-powercap` option with the name of the power capping policy to be run. + +```commandline +./elektron -master <host:port> -workload <workload json> -powercap <powercap policy name> +``` ### Plug-in Scheduling Policy -Use the `-schedPolicy` option with the name of the scheduling policy to be deployed. +Use the `-schedPolicy` option with the name of the scheduling policy to be deployed.<br>The default scheduling policy is First Fit. -`./elektron -master <host:port> -workload <workload json> -schedPolicy <scheduling policy name>` +```commandline +./elektron -master <host:port> -workload <workload json> -schedPolicy <scheduling policy name> +``` _Note_: To obtain the list of possible scheduling policy names, use the `-listSchedPolicies` option. To run electron with Scheduling Policy Switching Enabled, run the following command, -`./electron -master <host:port> -workload <workload json> -ssp -spConfig <schedPolicy config file>` +```commandline +./elektron -master <host:port> -workload <workload json> -ssp -spConfig <schedPolicy config file> +``` Workload schema: