summaryrefslogtreecommitdiffstats
path: root/dis
Commit message (Collapse)AuthorAge
* Whitespace fixes for TACLeBench and copyright update in extra.hJoshua Bakita2020-10-20
| | | | | Also move run_all_dis.sh up a directory in preperation for further changes.
* TACLe and DIS benchmark fixesJoshua Bakita2020-10-20
| | | | | | | | | | - Use consistent approach to prevent computations from being optimized out in the DIS benchmarks - Don't print results in the DIS benchmarks - Fix a memory corruption in TACLe's "epic" benchmark reflect1() - Fix return codes for all benchmarks - Rename run_baseline.sh to run_bench.sh in preperation for this being the main benchmarking script
* Enable internal DIS job looping and port to new extra.h APIJoshua Bakita2020-10-19
| | | | | | | | | | | | Changes to DIS code: - field, pointer, transitive, and update's random initialization steps moved the main job loop (so that they run on fresh state each job). - Moved free() calls outside of the job loop in matrix - Removed loose clock() call in pointer Misc fixes: - Added input file for neighborhood - Log status before, rather than after, printing in gen_input.py
* 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.
* 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
* 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.
* 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.
* 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 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
* Add DIS benchmarksJoshua Bakita2019-10-19