From 4aa3d66e011e6a0d16e19719f940c5cc0a6559ba Mon Sep 17 00:00:00 2001 From: Kiriti Gowda Date: Sat, 31 Oct 2020 12:56:28 -0700 Subject: [PATCH] SRTG-Scheduler V 1.1.0 (#75) --- .travis.yml | 4 +- README.md | 8 +- RTG-scheduler/testScripts/runCodeCoverage.sh | 186 ------------------ RTG-scheduler/testScripts/runTest-10-proc.sh | 56 ------ RTG-scheduler/testScripts/runTest-10.sh | 12 -- RTG-scheduler/testScripts/runTest-delay-32.sh | 79 -------- .../CMakeLists.txt | 16 +- {RTG-scheduler => SRTG-Scheduler}/README.md | 38 ++-- .../SRTG-JobCreator/README.md | 0 .../hardware-dependent/AMD/README.md | 0 .../AMD/runcl/CMakeLists.txt | 0 .../hardware-dependent/AMD/runcl/README.md | 0 .../hardware-dependent/AMD/runcl/runcl.cpp | 0 .../AMD/runcl/runcl.vcxproj | 0 .../AMD/runcl/runcl.vcxproj.filters | 0 .../hardware-dependent/NVIDIA/README.md | 0 .../NVIDIA/sample-1-mul_kernel.cu | 0 .../hardware-dependent/README.md | 0 .../SRTG-JobCreator/simulation/README.md | 0 .../scripts/synthetic-aperiodic-jobCreator.py | 0 .../scripts/synthetic-mixed-jobCreator.py | 0 .../scripts/synthetic-periodic-jobCreator.py | 0 .../jobSetCreator-release-1_withLambda.py | 0 .../jobSetCreator-release-2_withLambda.py | 0 ...ator-release-2_withLambda_oddProcessors.py | 0 .../SRTG-ResultAnalysis/README.md | 0 .../scripts/aperiodic-jobs-resultAnalyzer.py | 0 .../scripts/graphGen/createGraphs_lambda.py | 0 .../graphGen/createGraphs_numGCUsVariable.py | 0 .../graphGen/createGraphs_numJobsVariable.py | 0 .../graphGen/createGraphs_schedulerBias.py | 0 .../srtg-results-images/.DS_Store | Bin .../srtg-results-images/srtg-result-1.png | Bin .../srtg-results-images/srtg-result-2.png | Bin .../srtg-results-images/srtg-result-3.png | Bin .../srtg-results-images/srtg-result-4.png | Bin .../srtg-results-images/srtg-result-5.png | Bin .../srtg-results-images/srtg-result-6.png | Bin .../srtg-results-images/srtg-result-7.png | Bin .../srtg-results-images/srtg-result-8.png | Bin .../include/RTGS.h | 0 .../include/RTGS_Global.h | 2 +- .../include/profiler.h | 0 .../include/profilerEvents.h | 0 .../pythonScripts/runRTGScheduler.py | 6 +- .../source/RTG-scheduler.c | 0 .../source/RTGS-AEAP.c | 0 .../source/RTGS-AEAP_ALAP_improve.c | 0 .../source/RTGS-AEAP_ALT.c | 0 .../source/RTGS-ALAP.c | 0 .../source/RTGS-ALAP_ALT.c | 0 .../source/RTGS-ALAP_improve.c | 0 .../source/RTGS-dispatch.c | 0 .../source/RTGS-entry.c | 10 +- .../source/RTGS-file_handler.c | 0 .../source/RTGS-functions.c | 0 .../source/RTGS-helper_functions.c | 0 .../source/RTGS-mode_1.c | 0 .../source/RTGS-mode_2.c | 0 .../source/RTGS-mode_3.c | 0 .../source/RTGS-mode_4.c | 0 .../source/RTGS-mode_5.c | 0 .../source/RTGS-queue_handler.c | 0 .../source/profiler.cpp | 0 ...eriodic-set-0-syntheticJobReleaseTimes.csv | 0 .../aperiodic-set-0-syntheticJobs.csv | 0 .../testData/set1-jobReleaseTimes.txt | 0 .../testData/set1-jobs.txt | 0 .../testData/set10-jobReleaseTimes.txt | 0 .../testData/set10-jobs.txt | 0 .../testData/set11-jobReleaseTimes.txt | 0 .../testData/set11-jobs.txt | 0 .../testData/set12-jobReleaseTimes.txt | 0 .../testData/set12-jobs.txt | 0 .../testData/set2-jobReleaseTimes.txt | 0 .../testData/set2-jobs.txt | 0 .../testData/set3-jobReleaseTimes.txt | 0 .../testData/set3-jobs.txt | 0 .../testData/set4-jobReleaseTimes.txt | 0 .../testData/set4-jobs.txt | 0 .../testData/set5-jobReleaseTimes.txt | 0 .../testData/set5-jobs.txt | 0 .../testData/set6-jobReleaseTimes.txt | 0 .../testData/set6-jobs.txt | 0 .../testData/set7-jobReleaseTimes.txt | 0 .../testData/set7-jobs.txt | 0 .../testData/set8-jobReleaseTimes.txt | 0 .../testData/set8-jobs.txt | 0 .../testData/set9-jobReleaseTimes.txt | 0 .../testData/set9-jobs.txt | 0 SRTG-Scheduler/testScripts/runCodeCoverage.sh | 186 ++++++++++++++++++ SRTG-Scheduler/testScripts/runTest-10-proc.sh | 56 ++++++ SRTG-Scheduler/testScripts/runTest-10.sh | 12 ++ .../testScripts/runTest-delay-32.sh | 79 ++++++++ .../testScripts/runTest.sh | 0 documents/README.md | 2 +- scheduler_info.md | 2 +- 97 files changed, 378 insertions(+), 376 deletions(-) delete mode 100755 RTG-scheduler/testScripts/runCodeCoverage.sh delete mode 100755 RTG-scheduler/testScripts/runTest-10-proc.sh delete mode 100755 RTG-scheduler/testScripts/runTest-10.sh delete mode 100755 RTG-scheduler/testScripts/runTest-delay-32.sh rename {RTG-scheduler => SRTG-Scheduler}/CMakeLists.txt (81%) rename {RTG-scheduler => SRTG-Scheduler}/README.md (78%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-JobCreator/README.md (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-JobCreator/hardware-dependent/AMD/README.md (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-JobCreator/hardware-dependent/AMD/runcl/CMakeLists.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-JobCreator/hardware-dependent/AMD/runcl/README.md (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-JobCreator/hardware-dependent/AMD/runcl/runcl.cpp (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-JobCreator/hardware-dependent/AMD/runcl/runcl.vcxproj (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-JobCreator/hardware-dependent/AMD/runcl/runcl.vcxproj.filters (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-JobCreator/hardware-dependent/NVIDIA/README.md (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-JobCreator/hardware-dependent/NVIDIA/sample-1-mul_kernel.cu (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-JobCreator/hardware-dependent/README.md (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-JobCreator/simulation/README.md (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-JobCreator/simulation/scripts/synthetic-aperiodic-jobCreator.py (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-JobCreator/simulation/scripts/synthetic-mixed-jobCreator.py (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-JobCreator/simulation/scripts/synthetic-periodic-jobCreator.py (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-JobCreator/simulation/variation-scripts/jobSetCreator-release-1_withLambda.py (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-JobCreator/simulation/variation-scripts/jobSetCreator-release-2_withLambda.py (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-JobCreator/simulation/variation-scripts/jobSetCreator-release-2_withLambda_oddProcessors.py (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-ResultAnalysis/README.md (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-ResultAnalysis/scripts/aperiodic-jobs-resultAnalyzer.py (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-ResultAnalysis/scripts/graphGen/createGraphs_lambda.py (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-ResultAnalysis/scripts/graphGen/createGraphs_numGCUsVariable.py (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-ResultAnalysis/scripts/graphGen/createGraphs_numJobsVariable.py (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-ResultAnalysis/scripts/graphGen/createGraphs_schedulerBias.py (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-ResultAnalysis/srtg-results-images/.DS_Store (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-ResultAnalysis/srtg-results-images/srtg-result-1.png (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-ResultAnalysis/srtg-results-images/srtg-result-2.png (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-ResultAnalysis/srtg-results-images/srtg-result-3.png (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-ResultAnalysis/srtg-results-images/srtg-result-4.png (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-ResultAnalysis/srtg-results-images/srtg-result-5.png (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-ResultAnalysis/srtg-results-images/srtg-result-6.png (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-ResultAnalysis/srtg-results-images/srtg-result-7.png (100%) rename {RTG-scheduler => SRTG-Scheduler}/SRTG-ResultAnalysis/srtg-results-images/srtg-result-8.png (100%) rename {RTG-scheduler => SRTG-Scheduler}/include/RTGS.h (100%) rename {RTG-scheduler => SRTG-Scheduler}/include/RTGS_Global.h (89%) rename {RTG-scheduler => SRTG-Scheduler}/include/profiler.h (100%) rename {RTG-scheduler => SRTG-Scheduler}/include/profilerEvents.h (100%) rename {RTG-scheduler => SRTG-Scheduler}/pythonScripts/runRTGScheduler.py (92%) rename {RTG-scheduler => SRTG-Scheduler}/source/RTG-scheduler.c (100%) rename {RTG-scheduler => SRTG-Scheduler}/source/RTGS-AEAP.c (100%) rename {RTG-scheduler => SRTG-Scheduler}/source/RTGS-AEAP_ALAP_improve.c (100%) rename {RTG-scheduler => SRTG-Scheduler}/source/RTGS-AEAP_ALT.c (100%) rename {RTG-scheduler => SRTG-Scheduler}/source/RTGS-ALAP.c (100%) rename {RTG-scheduler => SRTG-Scheduler}/source/RTGS-ALAP_ALT.c (100%) rename {RTG-scheduler => SRTG-Scheduler}/source/RTGS-ALAP_improve.c (100%) rename {RTG-scheduler => SRTG-Scheduler}/source/RTGS-dispatch.c (100%) rename {RTG-scheduler => SRTG-Scheduler}/source/RTGS-entry.c (96%) rename {RTG-scheduler => SRTG-Scheduler}/source/RTGS-file_handler.c (100%) rename {RTG-scheduler => SRTG-Scheduler}/source/RTGS-functions.c (100%) rename {RTG-scheduler => SRTG-Scheduler}/source/RTGS-helper_functions.c (100%) rename {RTG-scheduler => SRTG-Scheduler}/source/RTGS-mode_1.c (100%) rename {RTG-scheduler => SRTG-Scheduler}/source/RTGS-mode_2.c (100%) rename {RTG-scheduler => SRTG-Scheduler}/source/RTGS-mode_3.c (100%) rename {RTG-scheduler => SRTG-Scheduler}/source/RTGS-mode_4.c (100%) rename {RTG-scheduler => SRTG-Scheduler}/source/RTGS-mode_5.c (100%) rename {RTG-scheduler => SRTG-Scheduler}/source/RTGS-queue_handler.c (100%) rename {RTG-scheduler => SRTG-Scheduler}/source/profiler.cpp (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/aperiodic-set-0-syntheticJobReleaseTimes.csv (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/aperiodic-set-0-syntheticJobs.csv (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set1-jobReleaseTimes.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set1-jobs.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set10-jobReleaseTimes.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set10-jobs.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set11-jobReleaseTimes.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set11-jobs.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set12-jobReleaseTimes.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set12-jobs.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set2-jobReleaseTimes.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set2-jobs.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set3-jobReleaseTimes.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set3-jobs.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set4-jobReleaseTimes.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set4-jobs.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set5-jobReleaseTimes.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set5-jobs.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set6-jobReleaseTimes.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set6-jobs.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set7-jobReleaseTimes.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set7-jobs.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set8-jobReleaseTimes.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set8-jobs.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set9-jobReleaseTimes.txt (100%) rename {RTG-scheduler => SRTG-Scheduler}/testData/set9-jobs.txt (100%) create mode 100755 SRTG-Scheduler/testScripts/runCodeCoverage.sh create mode 100755 SRTG-Scheduler/testScripts/runTest-10-proc.sh create mode 100755 SRTG-Scheduler/testScripts/runTest-10.sh create mode 100755 SRTG-Scheduler/testScripts/runTest-delay-32.sh rename {RTG-scheduler => SRTG-Scheduler}/testScripts/runTest.sh (100%) diff --git a/.travis.yml b/.travis.yml index f247b93..fc814ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,13 +25,13 @@ branches: before_script: - mkdir build - cd build - - cmake -DCMAKE_C_FLAGS="-Wall -fprofile-arcs -ftest-coverage -std=c99" ../RTG-scheduler + - cmake -DCMAKE_C_FLAGS="-Wall -fprofile-arcs -ftest-coverage -std=c99" ../SRTG-Scheduler script: - make after_success: - - ./../RTG-scheduler/testScripts/runCodeCoverage.sh + - ./../SRTG-Scheduler/testScripts/runCodeCoverage.sh - lcov --directory . --capture --output-file coverage.info - lcov --remove coverage.info '/usr/*' --output-file coverage.info - lcov --list coverage.info diff --git a/README.md b/README.md index fb9a2a2..a822f74 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ A schedule management framework for aperiodic soft-real-time jobs that may be used by a CPU - GPU system designer/integrator to select, configure and deploy a suitable architectural platform and to perform concurrent scheduling of these jobs -[Soft-Real-Time GP-GPU Scheduler](RTG-scheduler) (SRTG-Scheduler) is a dynamic scheduler for aperiodic soft-real-time jobs on GPU based architectures, with a simple, easy-to-use command-line interface (CLI). The SRTG-Scheduler is provided under the [MIT license](https://opensource.org/licenses/MIT). It is currently supported on Windows, Linux, and macOS platforms. +[Soft-Real-Time GP-GPU Scheduler](SRTG-Scheduler) (SRTG-Scheduler) is a dynamic scheduler for aperiodic soft-real-time jobs on GPU based architectures, with a simple, easy-to-use command-line interface (CLI). The SRTG-Scheduler is provided under the [MIT license](https://opensource.org/licenses/MIT). It is currently supported on Windows, Linux, and macOS platforms. ### Latest SRTG-Scheduler [![GitHub release (latest by date)](https://img.shields.io/github/v/release/kiritigowda/SRTG-Schedule?style=for-the-badge)](https://github.com/kiritigowda/SRTG-Schedule/releases) @@ -84,7 +84,7 @@ A dynamic schedule management framework that is responsible for * Determining which kernel(s) to dispatch to the GPU at a given time * Determining how many GCUs to assign for a given kernel. -

+

#### Advantages @@ -94,8 +94,8 @@ A dynamic schedule management framework that is responsible for #### Results -* Dynamic schedule management [framework](RTG-scheduler#real-time-gpu-scheduler) for soft-real-time jobs -* Support for [a-periodic](RTG-scheduler#real-time-gpu-scheduler) and recurring (periodic) soft-real-time tasks. +* Dynamic schedule management [framework](SRTG-Scheduler#real-time-gpu-scheduler) for soft-real-time jobs +* Support for [a-periodic](SRTG-Scheduler#real-time-gpu-scheduler) and recurring (periodic) soft-real-time tasks. * Smart GPU Memory Management **note:** diff --git a/RTG-scheduler/testScripts/runCodeCoverage.sh b/RTG-scheduler/testScripts/runCodeCoverage.sh deleted file mode 100755 index 7bacaf3..0000000 --- a/RTG-scheduler/testScripts/runCodeCoverage.sh +++ /dev/null @@ -1,186 +0,0 @@ -export RGTS_DEBUG_MSG=4 -# Error & Help Cases -./bin/RTG-scheduler -./bin/RTG-scheduler --h -./bin/RTG-scheduler --j -./bin/RTG-scheduler --r -./bin/RTG-scheduler --m -./bin/RTG-scheduler --p -./bin/RTG-scheduler --d -./bin/RTG-scheduler --v -./bin/RTG-scheduler --s -./bin/RTG-scheduler --g -./bin/RTG-scheduler --h example.txt -./bin/RTG-scheduler --j example.txt -./bin/RTG-scheduler --r example.txt -./bin/RTG-scheduler --m example.txt -./bin/RTG-scheduler --p 14 -./bin/RTG-scheduler --d 75 -./bin/RTG-scheduler --s 0 -./bin/RTG-scheduler --s 1 -./bin/RTG-scheduler --s 0 --g AMD -./bin/RTG-scheduler --s 1 --g NVIDIA -./bin/RTG-scheduler --g AMD -./bin/RTG-scheduler --g RADEON -./bin/RTG-scheduler --v example.txt -./bin/RTG-scheduler --j bin/testData/set1-jobs.txt -./bin/RTG-scheduler --j bin/testData/set1-jobs.txt --r -./bin/RTG-scheduler --j bin/testData/set1-job --r bin/testData/set1-jobReleaseTimes.txt -./bin/RTG-scheduler --j bin/testData/set1-jobs.txt --r bin/testData/set1-jobReleaseTimes -./bin/RTG-scheduler --j bin/testData/set1-jobs.txt --r bin/testData/set1-jobReleaseTimes.txt -./bin/RTG-scheduler --j bin/testData/set1-jobs.txt --r bin/testData/set1-jobReleaseTimes.txt -./bin/RTG-scheduler --r bin/testData/set1-jobs.txt --j bin/testData/set1-jobReleaseTimes.txt -./bin/RTG-scheduler --r bin/testData/set1-jobs.txt --j bin/testData/set1-jobs.txt -./bin/RTG-scheduler --r bin/testData/set1-jobReleaseTimes.txt --j bin/testData/set1-jobReleaseTimes.txt -RTGS_DEBUG_MSG=3 ./bin/RTG-scheduler --j bin/testData/set12-jobs.txt --r bin/testData/set12-jobReleaseTimes.txt --m 99 -#Simulation VS Hardaware -RTGS_DEBUG_MSG=3 ./bin/RTG-scheduler --j bin/testData/aperiodic-set-0-syntheticJobs.csv --r bin/testData/aperiodic-set-0-syntheticJobReleaseTimes.csv --s 0 -RTGS_DEBUG_MSG=1 ./bin/RTG-scheduler --j bin/testData/set1-jobs.txt --r bin/testData/set1-jobReleaseTimes.txt --s 1 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set1-jobs.txt --r bin/testData/set1-jobReleaseTimes.txt --g AMD -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set1-jobs.txt --r bin/testData/set1-jobReleaseTimes.txt --g RADEON -RTGS_DEBUG_MSG=1 ./bin/RTG-scheduler --j bin/testData/set1-jobs.txt --r bin/testData/set1-jobReleaseTimes.txt --g AMD --s 1 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set1-jobs.txt --r bin/testData/set1-jobReleaseTimes.txt --g AMD --s 0 -RTGS_DEBUG_MSG=3 ./bin/RTG-scheduler --j bin/testData/set1-jobs.txt --r bin/testData/set1-jobReleaseTimes.txt --g NVIDIA --s 0 -#Aperiodic Set -RTGS_DEBUG_MSG=3 ./bin/RTG-scheduler --j bin/testData/aperiodic-set-0-syntheticJobs.csv --r bin/testData/aperiodic-set-0-syntheticJobReleaseTimes.csv -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/aperiodic-set-0-syntheticJobs.csv --r bin/testData/aperiodic-set-0-syntheticJobReleaseTimes.csv --m -RTGS_DEBUG_MSG=3 ./bin/RTG-scheduler --j bin/testData/aperiodic-set-0-syntheticJobs.csv --r bin/testData/aperiodic-set-0-syntheticJobReleaseTimes.csv --m 1 -RTGS_DEBUG_MSG=3 ./bin/RTG-scheduler --j bin/testData/aperiodic-set-0-syntheticJobs.csv --r bin/testData/aperiodic-set-0-syntheticJobReleaseTimes.csv --m 2 -RTGS_DEBUG_MSG=3 ./bin/RTG-scheduler --j bin/testData/aperiodic-set-0-syntheticJobs.csv --r bin/testData/aperiodic-set-0-syntheticJobReleaseTimes.csv --m 3 -RTGS_DEBUG_MSG=3 ./bin/RTG-scheduler --j bin/testData/aperiodic-set-0-syntheticJobs.csv --r bin/testData/aperiodic-set-0-syntheticJobReleaseTimes.csv --m 4 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/aperiodic-set-0-syntheticJobs.csv --r bin/testData/aperiodic-set-0-syntheticJobReleaseTimes.csv --m 5 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/aperiodic-set-0-syntheticJobs.csv --r bin/testData/aperiodic-set-0-syntheticJobReleaseTimes.csv --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/aperiodic-set-0-syntheticJobs.csv --r bin/testData/aperiodic-set-0-syntheticJobReleaseTimes.csv --m 99 --d -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/aperiodic-set-0-syntheticJobs.csv --r bin/testData/aperiodic-set-0-syntheticJobReleaseTimes.csv --m 99 --d 80 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/aperiodic-set-0-syntheticJobs.csv --r bin/testData/aperiodic-set-0-syntheticJobReleaseTimes.csv --p 16 --d -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/aperiodic-set-0-syntheticJobs.csv --r bin/testData/aperiodic-set-0-syntheticJobReleaseTimes.csv --m 99 --p -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/aperiodic-set-0-syntheticJobs.csv --r bin/testData/aperiodic-set-0-syntheticJobReleaseTimes.csv --m 99 --p 24 -#Job Set 1 -RTGS_DEBUG_MSG=2 ./bin/RTG-scheduler --j bin/testData/set1-jobs.txt --r bin/testData/set1-jobReleaseTimes.txt --m -RTGS_DEBUG_MSG=2 ./bin/RTG-scheduler --j bin/testData/set1-jobs.txt --r bin/testData/set1-jobReleaseTimes.txt --m 1 -RTGS_DEBUG_MSG=2 ./bin/RTG-scheduler --j bin/testData/set1-jobs.txt --r bin/testData/set1-jobReleaseTimes.txt --m 2 -RTGS_DEBUG_MSG=2 ./bin/RTG-scheduler --j bin/testData/set1-jobs.txt --r bin/testData/set1-jobReleaseTimes.txt --m 3 -RTGS_DEBUG_MSG=2 ./bin/RTG-scheduler --j bin/testData/set1-jobs.txt --r bin/testData/set1-jobReleaseTimes.txt --m 4 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set1-jobs.txt --r bin/testData/set1-jobReleaseTimes.txt --m 5 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set1-jobs.txt --r bin/testData/set1-jobReleaseTimes.txt --m 99 -#Job Set 2 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set2-jobs.txt --r bin/testData/set2-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=1 ./bin/RTG-scheduler --j bin/testData/set2-jobs.txt --r bin/testData/set3-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=2 ./bin/RTG-scheduler --j bin/testData/set2-jobs.txt --r bin/testData/set4-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=3 ./bin/RTG-scheduler --j bin/testData/set2-jobs.txt --r bin/testData/set5-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=3 ./bin/RTG-scheduler --j bin/testData/set2-jobs.txt --r bin/testData/set6-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=3 ./bin/RTG-scheduler --j bin/testData/set2-jobs.txt --r bin/testData/set7-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=3 ./bin/RTG-scheduler --j bin/testData/set2-jobs.txt --r bin/testData/set8-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=3 ./bin/RTG-scheduler --j bin/testData/set2-jobs.txt --r bin/testData/set9-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=3 ./bin/RTG-scheduler --j bin/testData/set2-jobs.txt --r bin/testData/set10-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=3 ./bin/RTG-scheduler --j bin/testData/set2-jobs.txt --r bin/testData/set11-jobReleaseTimes.txt --m 99 -#Job Set 3 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set3-jobs.txt --r bin/testData/set2-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set3-jobs.txt --r bin/testData/set3-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set3-jobs.txt --r bin/testData/set4-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set3-jobs.txt --r bin/testData/set5-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set3-jobs.txt --r bin/testData/set6-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set3-jobs.txt --r bin/testData/set7-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set3-jobs.txt --r bin/testData/set8-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set3-jobs.txt --r bin/testData/set9-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set3-jobs.txt --r bin/testData/set10-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set3-jobs.txt --r bin/testData/set11-jobReleaseTimes.txt --m 99 -#Job Set 4 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set4-jobs.txt --r bin/testData/set2-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set4-jobs.txt --r bin/testData/set3-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set4-jobs.txt --r bin/testData/set4-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set4-jobs.txt --r bin/testData/set5-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set4-jobs.txt --r bin/testData/set6-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set4-jobs.txt --r bin/testData/set7-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set4-jobs.txt --r bin/testData/set8-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set4-jobs.txt --r bin/testData/set9-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set4-jobs.txt --r bin/testData/set10-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set4-jobs.txt --r bin/testData/set11-jobReleaseTimes.txt --m 99 -#Job Set 5 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set5-jobs.txt --r bin/testData/set2-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set5-jobs.txt --r bin/testData/set3-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set5-jobs.txt --r bin/testData/set4-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set5-jobs.txt --r bin/testData/set5-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set5-jobs.txt --r bin/testData/set6-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set5-jobs.txt --r bin/testData/set7-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set5-jobs.txt --r bin/testData/set8-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set5-jobs.txt --r bin/testData/set9-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set5-jobs.txt --r bin/testData/set10-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set5-jobs.txt --r bin/testData/set11-jobReleaseTimes.txt --m 99 -#Job Set 6 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set6-jobs.txt --r bin/testData/set2-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set6-jobs.txt --r bin/testData/set3-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set6-jobs.txt --r bin/testData/set4-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set6-jobs.txt --r bin/testData/set5-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set6-jobs.txt --r bin/testData/set6-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set6-jobs.txt --r bin/testData/set7-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set6-jobs.txt --r bin/testData/set8-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set6-jobs.txt --r bin/testData/set9-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set6-jobs.txt --r bin/testData/set10-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set6-jobs.txt --r bin/testData/set11-jobReleaseTimes.txt --m 99 -#Job Set 7 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set7-jobs.txt --r bin/testData/set2-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set7-jobs.txt --r bin/testData/set3-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set7-jobs.txt --r bin/testData/set4-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set7-jobs.txt --r bin/testData/set5-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set7-jobs.txt --r bin/testData/set6-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set7-jobs.txt --r bin/testData/set7-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set7-jobs.txt --r bin/testData/set8-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set7-jobs.txt --r bin/testData/set9-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set7-jobs.txt --r bin/testData/set10-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set7-jobs.txt --r bin/testData/set11-jobReleaseTimes.txt --m 99 -#Job Set 8 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set8-jobs.txt --r bin/testData/set2-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set8-jobs.txt --r bin/testData/set3-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set8-jobs.txt --r bin/testData/set4-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set8-jobs.txt --r bin/testData/set5-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set8-jobs.txt --r bin/testData/set6-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set8-jobs.txt --r bin/testData/set7-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set8-jobs.txt --r bin/testData/set8-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set8-jobs.txt --r bin/testData/set9-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set8-jobs.txt --r bin/testData/set10-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set8-jobs.txt --r bin/testData/set11-jobReleaseTimes.txt --m 99 -#Job Set 9 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set9-jobs.txt --r bin/testData/set2-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set9-jobs.txt --r bin/testData/set3-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set9-jobs.txt --r bin/testData/set4-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set9-jobs.txt --r bin/testData/set5-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set9-jobs.txt --r bin/testData/set6-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set9-jobs.txt --r bin/testData/set7-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set9-jobs.txt --r bin/testData/set8-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set9-jobs.txt --r bin/testData/set9-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set9-jobs.txt --r bin/testData/set10-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set9-jobs.txt --r bin/testData/set11-jobReleaseTimes.txt --m 99 -#Job Set 10 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set10-jobs.txt --r bin/testData/set2-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set10-jobs.txt --r bin/testData/set3-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set10-jobs.txt --r bin/testData/set4-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set10-jobs.txt --r bin/testData/set5-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set10-jobs.txt --r bin/testData/set6-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set10-jobs.txt --r bin/testData/set7-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set10-jobs.txt --r bin/testData/set8-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set10-jobs.txt --r bin/testData/set9-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set10-jobs.txt --r bin/testData/set10-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set10-jobs.txt --r bin/testData/set11-jobReleaseTimes.txt --m 99 -#Job Set 11 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set2-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set3-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set4-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set5-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set6-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set7-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set8-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set9-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set10-jobReleaseTimes.txt --m 99 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set11-jobReleaseTimes.txt --m 99 -# Option Test -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set2-jobReleaseTimes.txt --m 99 --p 16 --d 40 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set3-jobReleaseTimes.txt --m 99 --p 14 --d 50 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set4-jobReleaseTimes.txt --m 99 --p 32 --d 75 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set5-jobReleaseTimes.txt --m 99 --p 14 --d 75 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set6-jobReleaseTimes.txt --m 99 --p 64 --d 30 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set7-jobReleaseTimes.txt --m 99 --p 64 --d 60 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set8-jobReleaseTimes.txt --m 99 --p 64 --d 90 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set9-jobReleaseTimes.txt --m 99 --p 16 --d 45 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set10-jobReleaseTimes.txt --m 99 --p 16 --d 90 -RTGS_DEBUG_MSG=0 ./bin/RTG-scheduler --j bin/testData/set11-jobs.txt --r bin/testData/set11-jobReleaseTimes.txt --m 99 --p 18 --d 75 diff --git a/RTG-scheduler/testScripts/runTest-10-proc.sh b/RTG-scheduler/testScripts/runTest-10-proc.sh deleted file mode 100755 index a7ebebd..0000000 --- a/RTG-scheduler/testScripts/runTest-10-proc.sh +++ /dev/null @@ -1,56 +0,0 @@ -mkdir output1 -for i in `seq 0 99`; -do - echo TestSet 1 -- set-"$i" - ./../RTG-Scheduler/bin/RTG-scheduler --j testData/testSet1/testSet1-"$i"-jobs.txt --rt testData/testSet1/testSet1-"$i"-releaseTimes.txt --m 99 --p 2 --d 1 >> output1/output.log -done -mv RTGS-Summary output1/RTGS-Summary - -mkdir output2 -for i in `seq 0 99`; -do - echo TestSet 2 -- set-"$i" - ./../RTG-Scheduler/bin/RTG-scheduler --j testData/testSet2/testSet2-"$i"-jobs.txt --rt testData/testSet2/testSet2-"$i"-releaseTimes.txt --m 99 --p 4 --d 3 >> output2/output.log -done -mv RTGS-Summary output2/RTGS-Summary - -mkdir output3 -for i in `seq 0 99`; -do - echo TestSet 3 -- set-"$i" - ./../RTG-Scheduler/bin/RTG-scheduler --j testData/testSet3/testSet3-"$i"-jobs.txt --rt testData/testSet3/testSet3-"$i"-releaseTimes.txt --m 99 --p 8 --d 6 >> output3/output.log -done -mv RTGS-Summary output3/RTGS-Summary - -mkdir output4 -for i in `seq 0 99`; -do - echo TestSet 4 -- set-"$i" - ./../RTG-Scheduler/bin/RTG-scheduler --j testData/testSet4/testSet4-"$i"-jobs.txt --rt testData/testSet4/testSet4-"$i"-releaseTimes.txt --m 99 --p 16 --d 12 >> output4/output.log -done -mv RTGS-Summary output4/RTGS-Summary - -mkdir output5 -for i in `seq 0 99`; -do - echo TestSet 5 -- set-"$i" - ./../RTG-Scheduler/bin/RTG-scheduler --j testData/testSet5/testSet5-"$i"-jobs.txt --rt testData/testSet5/testSet5-"$i"-releaseTimes.txt --m 99 --p 32 --d 24 >> output5/output.log -done -mv RTGS-Summary output5/RTGS-Summary - -mkdir output6 -for i in `seq 0 99`; -do - echo TestSet 6 -- set-"$i" - ./../RTG-Scheduler/bin/RTG-scheduler --j testData/testSet6/testSet6-"$i"-jobs.txt --rt testData/testSet6/testSet6-"$i"-releaseTimes.txt --m 99 --p 64 --d 48 >> output6/output.log -done -mv RTGS-Summary output6/RTGS-Summary - -mkdir output7 -for i in `seq 0 99`; -do - echo TestSet 7 -- set-"$i" - ./../RTG-Scheduler/bin/RTG-scheduler --j testData/testSet7/testSet7-"$i"-jobs.txt --rt testData/testSet7/testSet7-"$i"-releaseTimes.txt --m 99 --p 128 --d 96 >> output7/output.log -done -mv RTGS-Summary output7/RTGS-Summary - diff --git a/RTG-scheduler/testScripts/runTest-10.sh b/RTG-scheduler/testScripts/runTest-10.sh deleted file mode 100755 index d3411d6..0000000 --- a/RTG-scheduler/testScripts/runTest-10.sh +++ /dev/null @@ -1,12 +0,0 @@ -for j in `seq 1 10`; -do - rm -rf output"$j" - mkdir output"$j" - for i in `seq 0 99`; - do - echo TestSet "$j" -- set-"$i" - ./../RTG-Scheduler/bin/RTG-scheduler --j testData/testSet"$j"/testSet"$j"-"$i"-jobs.txt --rt testData/testSet"$j"/testSet"$j"-"$i"-releaseTimes.txt --m 99 >> output"$j"/output.log - done - mv RTGS-Summary output"$j"/RTGS-Summary -done - diff --git a/RTG-scheduler/testScripts/runTest-delay-32.sh b/RTG-scheduler/testScripts/runTest-delay-32.sh deleted file mode 100755 index bd9d504..0000000 --- a/RTG-scheduler/testScripts/runTest-delay-32.sh +++ /dev/null @@ -1,79 +0,0 @@ -mkdir output1 -for i in `seq 0 99`; -do - echo TestSet 1 -- set-"$i" - ./../RTG-Scheduler/bin/RTG-scheduler --j testData/testSet1/testSet1-"$i"-jobs.txt --rt testData/testSet1/testSet1-"$i"-releaseTimes.txt --m 99 --p 32 --d 10 >> output1/output.log -done -mv RTGS-Summary output1/RTGS-Summary - -mkdir output2 -for i in `seq 0 99`; -do - echo TestSet 2 -- set-"$i" - ./../RTG-Scheduler/bin/RTG-scheduler --j testData/testSet2/testSet2-"$i"-jobs.txt --rt testData/testSet2/testSet2-"$i"-releaseTimes.txt --m 99 --p 32 --d 20 >> output2/output.log -done -mv RTGS-Summary output2/RTGS-Summary - -mkdir output3 -for i in `seq 0 99`; -do - echo TestSet 3 -- set-"$i" - ./../RTG-Scheduler/bin/RTG-scheduler --j testData/testSet3/testSet3-"$i"-jobs.txt --rt testData/testSet3/testSet3-"$i"-releaseTimes.txt --m 99 --p 32 --d 30 >> output3/output.log -done -mv RTGS-Summary output3/RTGS-Summary - -mkdir output4 -for i in `seq 0 99`; -do - echo TestSet 4 -- set-"$i" - ./../RTG-Scheduler/bin/RTG-scheduler --j testData/testSet4/testSet4-"$i"-jobs.txt --rt testData/testSet4/testSet4-"$i"-releaseTimes.txt --m 99 --p 32 --d 40 >> output4/output.log -done -mv RTGS-Summary output4/RTGS-Summary - -mkdir output5 -for i in `seq 0 99`; -do - echo TestSet 5 -- set-"$i" - ./../RTG-Scheduler/bin/RTG-scheduler --j testData/testSet5/testSet5-"$i"-jobs.txt --rt testData/testSet5/testSet5-"$i"-releaseTimes.txt --m 99 --p 32 --d 50 >> output5/output.log -done -mv RTGS-Summary output5/RTGS-Summary - -mkdir output6 -for i in `seq 0 99`; -do - echo TestSet 6 -- set-"$i" - ./../RTG-Scheduler/bin/RTG-scheduler --j testData/testSet6/testSet6-"$i"-jobs.txt --rt testData/testSet6/testSet6-"$i"-releaseTimes.txt --m 99 --p 32 --d 60 >> output6/output.log -done -mv RTGS-Summary output6/RTGS-Summary - -mkdir output7 -for i in `seq 0 99`; -do - echo TestSet 7 -- set-"$i" - ./../RTG-Scheduler/bin/RTG-scheduler --j testData/testSet7/testSet7-"$i"-jobs.txt --rt testData/testSet7/testSet7-"$i"-releaseTimes.txt --m 99 --p 32 --d 70 >> output7/output.log -done -mv RTGS-Summary output7/RTGS-Summary - -mkdir output8 -for i in `seq 0 99`; -do - echo TestSet 8 -- set-"$i" - ./../RTG-Scheduler/bin/RTG-scheduler --j testData/testSet8/testSet8-"$i"-jobs.txt --rt testData/testSet8/testSet8-"$i"-releaseTimes.txt --m 99 --p 32 --d 80 >> output8/output.log -done -mv RTGS-Summary output8/RTGS-Summary - -mkdir output9 -for i in `seq 0 99`; -do - echo TestSet 9 -- set-"$i" - ./../RTG-Scheduler/bin/RTG-scheduler --j testData/testSet9/testSet9-"$i"-jobs.txt --rt testData/testSet9/testSet9-"$i"-releaseTimes.txt --m 99 --p 32 --d 90 >> output9/output.log -done -mv RTGS-Summary output9/RTGS-Summary - -mkdir output10 -for i in `seq 0 99`; -do - echo TestSet 10 -- set-"$i" - ./../RTG-Scheduler/bin/RTG-scheduler --j testData/testSet10/testSet10-"$i"-jobs.txt --rt testData/testSet10/testSet10-"$i"-releaseTimes.txt --m 99 --p 32 --d 100 >> output10/output.log -done -mv RTGS-Summary output10/RTGS-Summary \ No newline at end of file diff --git a/RTG-scheduler/CMakeLists.txt b/SRTG-Scheduler/CMakeLists.txt similarity index 81% rename from RTG-scheduler/CMakeLists.txt rename to SRTG-Scheduler/CMakeLists.txt index 5a675c9..8c55a17 100644 --- a/RTG-scheduler/CMakeLists.txt +++ b/SRTG-Scheduler/CMakeLists.txt @@ -2,20 +2,20 @@ cmake_minimum_required(VERSION 3.0) # project definition -project(RTG-scheduler) -set(VERSION "1.0.1") +project(SRTG-Scheduler) +set(VERSION "1.1.0") set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) -set(SRTG_PATH /opt/srtg CACHE PATH "RTG-scheduler default installation path") +set(SRTG_PATH /opt/srtg CACHE PATH "SRTG-Scheduler default installation path") # need to do this to avoid setting the default path to /usr/local if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) - set(CMAKE_INSTALL_PREFIX ${SRTG_PATH}/RTG-scheduler CACHE PATH "RTG-scheduler default installation path" FORCE) + set(CMAKE_INSTALL_PREFIX ${SRTG_PATH}/SRTG-Scheduler CACHE PATH "SRTG-Scheduler default installation path" FORCE) endif(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) -SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin CACHE PATH "Directory where RTG-scheduler executable is generated" FORCE) +SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin CACHE PATH "Directory where SRTG-Scheduler executable is generated" FORCE) if(NOT WIN32) string(ASCII 27 Esc) @@ -56,7 +56,7 @@ set(SOURCES ) # executable target and the source files -add_executable(RTG-scheduler ${SOURCES}) +add_executable(SRTG-Scheduler ${SOURCES}) if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT") @@ -65,7 +65,9 @@ else() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.2 -std=c++11") endif() -install(TARGETS RTG-scheduler DESTINATION bin) +install(TARGETS SRTG-Scheduler DESTINATION bin) +install(DIRECTORY SRTG-JobCreator DESTINATION .) +install(DIRECTORY SRTG-ResultAnalysis DESTINATION .) # Bring in default test data FILE(GLOB RTG_TEST_DATA_TXT "testData/*.txt") diff --git a/RTG-scheduler/README.md b/SRTG-Scheduler/README.md similarity index 78% rename from RTG-scheduler/README.md rename to SRTG-Scheduler/README.md index 6040543..9e9f75a 100644 --- a/RTG-scheduler/README.md +++ b/SRTG-Scheduler/README.md @@ -3,11 +3,11 @@ # Dynamic Schedule Management Framework For GPUs -## Real-Time GPU Scheduler +## Soft-Real-Time GPU Scheduler -RTG-Scheduler is a dynamic scheduler for aperiodic soft-real-time jobs on GPU based architectures, with a simple, easy-to-use command-line interface (CLI). The project is provided under the [MIT license](https://opensource.org/licenses/MIT). It is currently supported on Windows, Linux, and macOS platforms. +SRTG-Scheduler is a dynamic scheduler for aperiodic soft-real-time jobs on GPU based architectures, with a simple, easy-to-use command-line interface (CLI). The project is provided under the [MIT license](https://opensource.org/licenses/MIT). It is currently supported on Windows, Linux, and macOS platforms. -The RTG-scheduler itself resides on the CPU. When a GPU compatible job is released, it is sent to the SRTG-scheduler, which checks if this job can be executed on the GPU before its deadline. If yes, the job is offloaded to the GPU and any data that it needs is transferred to GPU memory. Otherwise, the job is rejected and sent back to the CPU scheduler immediately. +The SRTG-Scheduler itself resides on the CPU. When a GPU compatible job is released, it is sent to the SRTG-scheduler, which checks if this job can be executed on the GPU before its deadline. If yes, the job is offloaded to the GPU and any data that it needs is transferred to GPU memory. Otherwise, the job is rejected and sent back to the CPU scheduler immediately.

@@ -71,27 +71,27 @@ Once the jobs are scheduled and the schedule data is obtained from SRTG-Schedule

-## RTG-Scheduler Usage +## SRTG-Scheduler Usage ### Windows ``` -RTG-scheduler [options] --j - --r - --m