Commit graph

549 commits

Author SHA1 Message Date
Pradyumna Kaushik
b27966dc3a Merge branch 'issues/issues-8-unit-tests-def-module' into 'master'
unit tests def/ module and update vendor

See merge request spdf/elektron!4
2019-10-12 06:48:46 +00:00
Pradyumna Kaushik
bac60e872a Unit testing for def/ module.
Added unit tests to test code in def/ module.
2019-10-12 06:48:45 +00:00
Pradyumna Kaushik
e24b8a08c9 Merge branch 'issues/issues-6-switch-to-go-modules' into 'master'
switch to go modules

See merge request spdf/elektron!2
2019-10-02 00:21:21 +00:00
Pradyumna Kaushik
4fbbf91b00 Switch to go modules for dependency management.
Added support for dependency management using go modules.
Note that Go version 1.11+ is required if using go modules for
dependency management.

Updated the gitlab CI yaml file to use go modules instead of copying
everything to GOPATH. Ran go mod download before running build script to
download all dependencies into cache.
2019-10-02 00:21:21 +00:00
Pradyumna Kaushik
fca8887adf Merge branch 'master' into 'master'
Fix: create log dir after validating cmdline args.

See merge request spdf/elektron!1
2018-11-13 00:12:15 +00:00
Pradyumna Kaushik
cfbb2f4bdd Fix: create log dir after validating cmdline args.
Initialization of the logger happens after all the command-line
arguments are validated. So, in case any of the command-line
arguments were invalid, the log directory is not created.
Retrofitted the driver code and the scheduler builder to only use
the language provided 'log' package as elektron's logger will not
yet be initialized.
2018-11-08 20:07:06 -05:00
Renan DelValle
97253ec4af
Adding CI build badge. 2018-11-03 11:04:21 -07:00
Renan DelValle
fba48e1d4d
First attempt at adding a CI. 2018-11-03 11:01:32 -07:00
Renan DelValle
66c2e147e2
Adding links for research papers published using Elektron 2018-11-02 21:51:57 -07:00
Renan DelValle
b162289388
Adding published research to readme. 2018-10-08 12:17:47 -07:00
Renan DelValle
291f4f3979
Adding GPLv3 Licensing. 2018-10-06 20:03:14 -07:00
Pradyumna Kaushik
943f20cb1e Removed value type from option description. 2018-10-05 23:19:44 -04:00
Pradyumna Kaushik
b61f4f2525 fixed merge conflicts due to commit amend. 2018-10-05 23:16:50 -04:00
Pradyumna Kaushik
5ce48e8dd8 -h instead of --help. Added full stop to sentence. 2018-10-05 23:16:01 -04:00
Pradyumna Kaushik
5bd232d798 -h instead of --help. 2018-10-05 23:15:36 -04:00
Pradyumna Kaushik
91c49292ea Changed Usage to Features for semantics. 2018-10-05 23:13:36 -04:00
Pradyumna Kaushik
6549f8c13c Escape underscore. Changed 'scheduling' to 'sched' in format. 2018-10-05 23:06:04 -04:00
Pradyumna Kaushik
f3a1501e6e Description for task classification overhead logs. 2018-10-05 23:05:01 -04:00
Pradyumna Kaushik
f5b2ba789c Description for scheduling window logs. 2018-10-05 23:04:44 -04:00
Pradyumna Kaushik
9a4470fd16 Description for scheduling policy switch trace. 2018-10-05 22:49:23 -04:00
Pradyumna Kaushik
598acf75f2 Description for scheduled trace log. 2018-10-05 22:41:39 -04:00
Pradyumna Kaushik
1902d1a3e8 Describing PCP data metrics and PCP logs. 2018-10-05 17:28:00 -04:00
Pradyumna Kaushik
bcc2b4e4cc Removed Degree of Collocation logger. 2018-10-05 14:11:49 -04:00
Pradyumna Kaushik
39ba273d1a Changed Logging.md to Logs.md 2018-10-05 13:19:42 -04:00
Pradyumna Kaushik
66dd017eb9 Updated description of power capping policies.
Updated point in Usage section to indicate that power capping policies
are pluggable.
Mentioned that it is possible to plug in power capping policies.
Added the commandline option as well.
2018-10-05 13:15:07 -04:00
Pradyumna Kaushik
ea0eda2db1 Removed redundant information. Changed Logging to Logs. 2018-10-05 13:12:23 -04:00
Pradyumna Kaushik
f0e368c98c Information on different logs. Added PCP.md file. 2018-10-05 13:06:46 -04:00
Pradyumna Kaushik
6f97c36411 Passed scheduler to extrema and prog-extrema. 2018-10-05 00:41:43 -04:00
Pradyumna Kaushik
aca9dcd185 Added degcol logger to extrema and prog-extrema.
Degree of collocation logger (or task share variance logger) was
only present in pcp.go. Copied that code into extrema and prog-extrema.
Also, exposed visibility of pcp/utils.go#cpuUtilsPerNode(...) and
pcp/utils.go#memUtilsPerNode(...) to public.
2018-10-05 00:38:24 -04:00
Pradyumna Kaushik
d9780a6a9f Merge branch 'master' of gitlab.com:spdf/elektron 2018-10-04 20:23:25 -04:00
Pradyumna Kaushik
4200eda783 Reorganized workload section.
Also removed class_to_watts attribute from the example to keep it
simple.
2018-10-04 20:22:23 -04:00
Pradyumna Kaushik
59d096bccb Reorganized workload section. 2018-10-04 20:21:55 -04:00
Pradyumna Kaushik
29b84a00c7 shortened value names. 2018-10-04 20:15:07 -04:00
Pradyumna Kaushik
c9207d1714 Run commands and options for scheduling policy switching. 2018-10-04 20:13:26 -04:00
Pradyumna Kaushik
e48156a270 Other options when plugging in powercapping. 2018-10-04 20:12:53 -04:00
Pradyumna Kaushik
5a6a43937c Hi/Lo Thresholds only for extrema and prog-extrema.
Added condition to mandate high and low thresholds only for extrema
and progressive extrema power capping strategies.
2018-10-04 20:10:46 -04:00
Pradyumna Kaushik
089b106fdb Commands to plug-in powercap policy. 2018-10-04 19:41:22 -04:00
Pradyumna Kaushik
4637355721 Reorganized code.
Building the scheduler in phases. To be able to do this, increased
visibility of schedulers/helpers.go#schedulerOptions.
Refactored dependent code.
2018-10-04 19:27:13 -04:00
Pradyumna Kaushik
c9d4e66236 Powercap policy and PCP config from commandline.
Added command line arguments corresponding to powercapping policy
and pcp config file path.
2018-10-04 19:21:45 -04:00
Pradyumna Kaushik
b8f2248810 Adding HostKeyCallback to sshConfig. Fix command.
Added HostKeyCallback to sshConfig. Right now using the
ssh.InsecureIgnoreHost() callback. This returns a function that
in turn returns nil. Note: returning nil would result in acceptance
of any host key. Hence, we need to change this to a callback of our
own implementation.

Fixed the command to run the throttling script. There were spacing
issues. Also, using strings.Join(...) instead of adding spaces in
the string (which is error prone).
2018-10-04 19:14:50 -04:00
Pradyumna Kaushik
1e2fae9f80 Removed underscore for second return. 2018-10-04 14:11:38 -04:00
Pradyumna Kaushik
410a6ef1fa Added pcp config file to Command args. 2018-10-04 14:10:41 -04:00
Pradyumna Kaushik
1e9828c35b Provide pcp config file from commandline.
Taking pcp config file name (or path) from commandline.
In scheduler.go, also checking to see if provided pcp config file
exists. If not, then exitting.
2018-10-04 13:57:35 -04:00
Pradyumna Kaushik
8e87bcb439 Fixed import alias prefix.
Changed the prefix to import aliases to be 'elek' instead of 'elec'.
2018-10-04 13:45:31 -04:00
Pradyumna Kaushik
b06bdeba59 Used println instead of printf if no args. 2018-10-04 13:40:04 -04:00
Pradyumna Kaushik
49b58fd2f9 Plug-in power-capping policy from commandline. 2018-10-04 13:38:55 -04:00
Pradyumna Kaushik
e9c338995c Fixed package name. Followed naming conventions. 2018-10-04 13:37:14 -04:00
Pradyumna Kaushik
0bdfa6c101 Run commands for plugging in scheduling policies. 2018-10-04 02:48:16 +00:00
Pradyumna Kaushik
219eecc8cf Description for Elektron Architecture 2018-10-03 21:58:35 -04:00
Pradyumna Kaushik
a5425874c2 Fix section sizes. Reposition sp selector image. 2018-10-03 21:44:46 -04:00