summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
...
* Unify all the versions of extra.h into a single multipurpose headerJoshua Bakita2020-10-19
| | | | | | | | | | | | | | | | | | | | | | There was previously a huge amount of shared code that had to be copied back and forth. This should reduce the maintenance burden by containing all future changes to a single file. New unified library is fully backwards-compatible but also introduces and the easy-to-use `for_each_job` macro which replaces the specific `for(...) START_LOOP ... STOP_LOOP` format requirement and is generally much harder to abuse. New unified library also automatically cleans up its shared memory and semaphores, so this commit also removes the separate `cleanupSemaphores` binary. I also found a precursor of `extra.h` written by Sims in `litmusStuff.h`. This code is only interesting for historical purposes, so it is also removed in this commit. This commit also adds debug options to all the Makefiles and silences rm's complaints about non-existent files in make clean.
* Rewrite extra.h for task baselines to be easier to useJoshua Bakita2020-10-18
| | | | | New macro `for_each_job` simplifies instrumentation. Backwards-compatible.
* All the TACLeBench runner scripts as used for the (rejected) RTSS'20 submissionJoshua Bakita2020-10-17
| | | | | Everything without isolation: run_tacle_rtss20.sh For isolation you have to run the hodgepodge of scripts as before.
* All the DIS runner scripts as used for the (rejected) RTSS'20 submissionJoshua Bakita2020-10-17
| | | | | | | | | DANGER! There's an inconsistency in the input files used for the all-pairs tests and those used for the baseline tests. Baselines: run_all_dis.sh calls run_dis.sh to do all baselines. All-pairs: Uses old TACLe script (not included here). Cache allocation 2nd-order effects on SMT friendliness: run_pair_convexity.sh
* Fix DIS coding style by running them all through clang-formatJoshua Bakita2020-10-17
| | | | | Also fixes a missing header in DISstressmarkRNG.h and the "all" make target. No functional changes.
* Add updated DIS post-processing scripts from (rejected) RTSS'20 paperJoshua Bakita2020-10-17
| | | | | These are compatible with the outputs of all the DIS stressmarks as instumented with `extra.h`.
* Cleanup `extra.h` for pairs and add option to use that in DIS buildJoshua Bakita2020-10-17
| | | | Also remove some unused code from the cleanupSemaphores utility
* Fix WSS -> argument generation for Matrix and tune othersJoshua Bakita2020-10-17
| | | | Now as used for (rejected) RTSS'20 paper
* DIS fixes used for (rejected) RTSS'20 submissionJoshua Bakita2020-10-17
| | | | | | | | | | | - All: Output times to stderr and nothing to stdout - Field, Update, Pointer: change definition of a job to match other stressmark execution times more closely - Matrix: move all allocations into main() - Update: Use volatile to prevent computations from being optimized out - Transitive: Use volatile to prevent computations from being optimized out - Neighborhood: Use working version of drawLineSegment from original DIS sample code
* Cleanup in extra.h for non-paired benchmarksJoshua Bakita2020-10-17
| | | | | | | | | | | - No parameter or output format changes - Better error messages - Auto-detect core - Fix off-by-one error in job counting - Explicitly invoke the scheduler with sched_yield() between jobs so that there's less work to do when (if) the scheduling timer interrupt comes around. (This has a surprisingly significant impact on timings.)
* Move the DIS benchmarks up a directory and update hardcoded pathsJoshua Bakita2020-10-16
| | | | | Note that this repo does not attempt to keep a copy of the original DIS benchmark distributions. UNC real-time has another repo for that.
* Add initial instrumentation to and fix warnings in DIS stressmarksJoshua Bakita2020-06-11
| | | | | | | | | | | | | Changes: - Backpoint fix to randInt range - Instrument benchmarks with time tracking - assert inputs are correct length to fix compiler warnings Problems: - Timing on a per-loop basis is non representative of real-world workloads, as we clear the cache after every loop. These all need to be re-instrumented to record times for the whole benchmark, rather than per-loop.
* Update gitignore with RTSS'20 additionsJoshua Bakita2020-06-11
|
* Update the timing infrastructure to better handle large sample sizesJoshua Bakita2020-06-11
| | | | | | - Use malloc rather than static allocations - Check that timings array is long enough before inserting each sample - Include clearer error handling
* Clean up update benchmark default input filesJoshua Bakita2020-06-11
|
* Clean up pointer benchmark default input filesJoshua Bakita2020-06-11
|
* Add inital testing infrastructureJoshua Bakita2020-06-11
| | | | Works for three-way WSS/cache size/execution time comparisons
* Add random_walk microbenchmarkJoshua Bakita2020-06-11
| | | | A heavily rewritten version of mc2spin as written by Namhoon.
* Ignore binaries and benchmark outputsHEADmasterJoshua Bakita2020-05-29
|
* Remove changes specific to Joshua's PRPJoshua Bakita2020-05-29
| | | | | | | - Revert type change in Neighborhood microbenchmark - Remove inputs modified to fix in the available memory on the i.MX6DQ PRP test platform - Change default configuration to build without LITMUS/MC^2/MMDC
* Add remaining scripts from Joshua's PRP experimentsfor-jbakita-prpJoshua Bakita2020-05-29
| | | | | ***This is the final commit which supports reproducing his PRP results***
* Add DIS benchmarks and scripts as they were used for Joshua's PRPJoshua Bakita2020-05-29
| | | | Note that Neighborhood has been modified to use less space
* Add DIS inputs as used in Joshua's PRPJoshua Bakita2020-05-29
|
* Code cleanup and bugfixes for infrastructure codeJoshua Bakita2020-05-26
| | | | | | | | - Remove unused parameters to extra.h - Use floats to avoid integer overflow when timing long loops - Only include litmus headers and/or MMDC headers if the appropriate define is set in extra.h - Update job parameters to match those used in my PRP experiments
* Support LITMUS, MC^2, and alternate benchmarksJoshua Bakita2019-10-19
|
* Add DIS benchmarksJoshua Bakita2019-10-19
|
* Reorganize and commit all the modified TACLeBench code and run scriptsJoshua Bakita2019-10-07
|
* Cleanup extra.h for the paired testsJoshua Bakita2019-06-17
|
* Commit old version of extra.hJoshua Bakita2019-06-17