diff --git a/README.md b/README.md index 8e8b5f7..be6a58b 100644 --- a/README.md +++ b/README.md @@ -75,12 +75,22 @@ Use the `-schedPolicy` option with the name of the scheduling policy to be deplo _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, +### Enable Scheduling Policy Switching +Use the `-switchSchedPolicy` option to enable scheduling policy switching.
+ +One needs to also provide a scheduling policy configuration file (see [schedPolConfig](./schedPolConfig.json) for reference).
+Use the `-schedPolConfig` option to specify the path of the scheduling policy configuration file. ```commandline -./elektron -master -workload -ssp -spConfig +./elektron -master -workload -switchSchedPolicy -schedPolConfig ``` +The following options can be used when scheduling policy switching is enabled. +* `-fixFirstSchedPol` - Fix the first scheduling policy that is deployed (value=int) +* `-fixSchedWindow` - Allow the size of the scheduling window to be fixed. +* `-schedWindowSize` - Specify the size of the scheduling window (value=int). If no scheduling window size specified and `fixSchedWindow` option is enabled, the default size of 200 is used. +* `-schedPolSwitchCriteria` - Criteria to be used when deciding the next scheduling policy to switch to. Default criteria is task distribution (_taskDist_) based. However, one can either switch based on a Round Robin (_round-robin_) or Reverse Round Robin (_rev-round-robin_) order. + Workload schema: ```