From dd606a16e840880e7617b140f6083af8ea83b6b7 Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Tue, 20 Oct 2020 17:10:14 -0400 Subject: Whitespace fixes for TACLeBench and copyright update in extra.h Also move run_all_dis.sh up a directory in preperation for further changes. --- dis/run_all_dis.sh | 70 ------------------------------------------------------ 1 file changed, 70 deletions(-) delete mode 100755 dis/run_all_dis.sh (limited to 'dis') diff --git a/dis/run_all_dis.sh b/dis/run_all_dis.sh deleted file mode 100755 index 5a6b6e1..0000000 --- a/dis/run_all_dis.sh +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/bash -# Run baselines for all the DIS tasks -if [ "$EUID" -ne 0 ] -then - echo "You need to be root to enable cache way and interrupt isolation!" - exit -fi - -if uname -a | grep -q "mc2"; then - echo "MC^2 detected! Cache isolation will be enabled" - iso="i" -else - echo "MC^2 not detected." - iso="xi" -fi - -datestring=$(date +"%b%d-%H") -if ! grep -q irqaffinity /proc/cmdline; then - /playpen/move_interrupts_off_core15.sh -else - echo "performance" > /sys/devices/system/cpu/cpu15/cpufreq/scaling_governor -fi -WSSS=WSSS_maxstride2mb -caches=caches_all -# Consider re-enabling this only if you're interested in exploring bandwidth effects -#./setup_mem_and_global.sh -if [[ $1 == "--contend" ]]; then - echo "Will run 6 contending tasks" - echo "Files will be named $datestring--c-"$iso".txt" - echo "Please verify the above settings. Press enter to continue..." - read - # Run two contending tasks on each other CCX - taskset -c 1 /playpen/mc2/imx6q-thrasher/thrasher & - taskset -c 2 /playpen/mc2/imx6q-thrasher/thrasher & - taskset -c 5 /playpen/mc2/imx6q-thrasher/thrasher & - taskset -c 6 /playpen/mc2/imx6q-thrasher/thrasher & - taskset -c 9 /playpen/mc2/imx6q-thrasher/thrasher & - taskset -c 10 /playpen/mc2/imx6q-thrasher/thrasher & - ./run_dis.sh 15 10 $datestring-field-c-$iso Field inputs/Field/in0 inputs/$WSSS inputs/$caches - ./postproc.sh $datestring-field-c-$iso - ./run_dis.sh 15 10 $datestring-matrix-c-$iso Matrix inputs/Matrix/in0 inputs/$WSSS inputs/$caches - ./postproc.sh $datestring-matrix-c-$iso - ./run_dis.sh 15 10 $datestring-neighborhood-c-$iso Neighborhood inputs/Neighborhood/in0 inputs/$WSSS inputs/$caches - ./postproc.sh $datestring-neighborhood-c-$iso - ./run_dis.sh 15 10 $datestring-pointer-c-$iso Pointer inputs/Pointer/in0 inputs/$WSSS inputs/$caches - ./postproc.sh $datestring-pointer-c-$iso - ./run_dis.sh 15 10 $datestring-transitive-c-$iso Transitive inputs/Transitive/in0 inputs/$WSSS inputs/$caches - ./postproc.sh $datestring-transitive-c-$iso - ./run_dis.sh 15 10 $datestring-update-c-$iso Update inputs/Update/in0 inputs/$WSSS inputs/$caches - ./postproc.sh $datestring-update-c-$iso - killall thrasher -else - echo "Will run no contending tasks (use --contend for contending tasks)" - echo "Files will be named $datestring--xc-"$iso".txt" - echo "Please verify the above settings. Press enter to continue..." - read - killall thrasher - ./run_dis.sh 15 10 $datestring-field-xc-$iso Field inputs/Field/in0 inputs/$WSSS inputs/$caches - ./postproc.sh $datestring-field-xc-$iso - ./run_dis.sh 15 10 $datestring-matrix-xc-$iso Matrix inputs/Matrix/in0 inputs/$WSSS inputs/$caches - ./postproc.sh $datestring-matrix-xc-$iso - ./run_dis.sh 15 10 $datestring-neighborhood-xc-$iso Neighborhood inputs/Neighborhood/in0 inputs/$WSSS inputs/$caches - ./postproc.sh $datestring-neighborhood-xc-$iso - ./run_dis.sh 15 10 $datestring-pointer-xc-$iso Pointer inputs/Pointer/in0 inputs/$WSSS inputs/$caches - ./postproc.sh $datestring-pointer-xc-$iso - ./run_dis.sh 15 10 $datestring-transitive-xc-$iso Transitive inputs/Transitive/in0 inputs/$WSSS inputs/$caches - ./postproc.sh $datestring-transitive-xc-$iso - ./run_dis.sh 15 10 $datestring-update-xc-$iso Update inputs/Update/in0 inputs/$WSSS inputs/$caches - ./postproc.sh $datestring-update-xc-$iso -fi -- cgit v1.2.2