From ee6f11b0f8d4a012df353b7d3b2d0a5262e00e64 Mon Sep 17 00:00:00 2001 From: jjenista Date: Thu, 18 Nov 2010 04:08:54 +0000 Subject: [PATCH] a few little benchmark tweaks --- Robust/src/Benchmarks/oooJava/crypt/runr | 2 +- Robust/src/Benchmarks/oooJava/crypt/runs | 2 +- Robust/src/Benchmarks/oooJava/kmeans/runr | 1 + Robust/src/Benchmarks/oooJava/master-makefile | 2 +- Robust/src/Benchmarks/oooJava/power/Power.java | 7 +++++-- Robust/src/Benchmarks/oooJava/power/makefile | 2 +- Robust/src/Benchmarks/oooJava/power/runr | 2 +- Robust/src/Benchmarks/oooJava/power/runs | 1 + Robust/src/Benchmarks/oooJava/raytracer/runr | 2 ++ Robust/src/Benchmarks/oooJava/tracking/TrackingBench.java | 3 ++- Robust/src/Benchmarks/oooJava/tracking/runr | 1 + 11 files changed, 17 insertions(+), 8 deletions(-) create mode 100755 Robust/src/Benchmarks/oooJava/kmeans/runr create mode 100755 Robust/src/Benchmarks/oooJava/power/runs create mode 100755 Robust/src/Benchmarks/oooJava/raytracer/runr create mode 100755 Robust/src/Benchmarks/oooJava/tracking/runr diff --git a/Robust/src/Benchmarks/oooJava/crypt/runr b/Robust/src/Benchmarks/oooJava/crypt/runr index da656f2c..d1c953a4 100755 --- a/Robust/src/Benchmarks/oooJava/crypt/runr +++ b/Robust/src/Benchmarks/oooJava/crypt/runr @@ -1 +1 @@ -time ./JGFCryptBenchr.bin 2 23 +./JGFCryptBenchr.bin 2 46 diff --git a/Robust/src/Benchmarks/oooJava/crypt/runs b/Robust/src/Benchmarks/oooJava/crypt/runs index e97045da..aa342a77 100755 --- a/Robust/src/Benchmarks/oooJava/crypt/runs +++ b/Robust/src/Benchmarks/oooJava/crypt/runs @@ -1 +1 @@ -time ./JGFCryptBenchs.bin 2 1 +./JGFCryptBenchs.bin 2 1 diff --git a/Robust/src/Benchmarks/oooJava/kmeans/runr b/Robust/src/Benchmarks/oooJava/kmeans/runr new file mode 100755 index 00000000..924daec0 --- /dev/null +++ b/Robust/src/Benchmarks/oooJava/kmeans/runr @@ -0,0 +1 @@ +time ./KMeansr.bin -m 40 -n 40 -t 0.00001 -i inputs/random-n65536-d32-c16.txt -nthreads 1 diff --git a/Robust/src/Benchmarks/oooJava/master-makefile b/Robust/src/Benchmarks/oooJava/master-makefile index 9fbb0480..8e84a301 100644 --- a/Robust/src/Benchmarks/oooJava/master-makefile +++ b/Robust/src/Benchmarks/oooJava/master-makefile @@ -18,8 +18,8 @@ USECOREPROF= #-coreprof $(COREPROFOVERFLOW) \ -coreprof-enable cpe_main \ -coreprof-enable cpe_taskexecute \ -coreprof-enable cpe_taskdispatch \ - -coreprof-enable cpe_runmalloc \ -coreprof-enable cpe_rcr_traverse +# -coreprof-enable cpe_runmalloc \ # -coreprof-enable cpe_taskretire \ -coreprof-enable cpe_workschedsubmit \ -coreprof-enable cpe_workschedgrab \ diff --git a/Robust/src/Benchmarks/oooJava/power/Power.java b/Robust/src/Benchmarks/oooJava/power/Power.java index deab92a3..33dde482 100644 --- a/Robust/src/Benchmarks/oooJava/power/Power.java +++ b/Robust/src/Benchmarks/oooJava/power/Power.java @@ -35,7 +35,7 @@ public class Power { **/ public static void main(String args[]) { - boolean printResults = true; + boolean printResults = false; boolean printMsgs =true; // the input size is fixed, but the user may want the result printed // parseCmdLine(args); @@ -43,7 +43,10 @@ public class Power { // initial pass long start0 = System.currentTimeMillis(); // Root r = new Root(10, 20, 5, 10); - Root r = new Root(24, 18, 5, 10); +// Root r = new Root(24, 18, 5, 10); +// Root r = new Root(22, 20, 5, 10); + Root r = new Root(21, 20, 5, 10); +// Root r = new Root(20, 20, 5, 10); long end0 = System.currentTimeMillis(); long start1 = System.currentTimeMillis(); diff --git a/Robust/src/Benchmarks/oooJava/power/makefile b/Robust/src/Benchmarks/oooJava/power/makefile index b9bb768e..36ae01ed 100644 --- a/Robust/src/Benchmarks/oooJava/power/makefile +++ b/Robust/src/Benchmarks/oooJava/power/makefile @@ -3,6 +3,6 @@ PROGRAM=Power SOURCE_FILES=$(PROGRAM).java NUM_OOO_WORKERS=24 -NUM_RCR_WORKERS=24 +NUM_RCR_WORKERS=23 include ../master-makefile diff --git a/Robust/src/Benchmarks/oooJava/power/runr b/Robust/src/Benchmarks/oooJava/power/runr index 7a13f26a..365ff349 100755 --- a/Robust/src/Benchmarks/oooJava/power/runr +++ b/Robust/src/Benchmarks/oooJava/power/runr @@ -1 +1 @@ -time ./Powerr.bin \ No newline at end of file +./Powerr.bin \ No newline at end of file diff --git a/Robust/src/Benchmarks/oooJava/power/runs b/Robust/src/Benchmarks/oooJava/power/runs new file mode 100755 index 00000000..b733be3f --- /dev/null +++ b/Robust/src/Benchmarks/oooJava/power/runs @@ -0,0 +1 @@ +./Powers.bin \ No newline at end of file diff --git a/Robust/src/Benchmarks/oooJava/raytracer/runr b/Robust/src/Benchmarks/oooJava/raytracer/runr new file mode 100755 index 00000000..b95fd04c --- /dev/null +++ b/Robust/src/Benchmarks/oooJava/raytracer/runr @@ -0,0 +1,2 @@ +#!/bin/bash +time ./testr.bin 1 diff --git a/Robust/src/Benchmarks/oooJava/tracking/TrackingBench.java b/Robust/src/Benchmarks/oooJava/tracking/TrackingBench.java index a0b89d34..8cbc3f07 100644 --- a/Robust/src/Benchmarks/oooJava/tracking/TrackingBench.java +++ b/Robust/src/Benchmarks/oooJava/tracking/TrackingBench.java @@ -1,7 +1,8 @@ public class TrackingBench { public static void main(String args[]) { - int nump = 32; //32; // 60; + //int nump = 32; //32; // 60; + int nump = 22; TrackDemo tdmo = new TrackDemo(nump); tdmo.run(); } diff --git a/Robust/src/Benchmarks/oooJava/tracking/runr b/Robust/src/Benchmarks/oooJava/tracking/runr new file mode 100755 index 00000000..359120f4 --- /dev/null +++ b/Robust/src/Benchmarks/oooJava/tracking/runr @@ -0,0 +1 @@ +time ./TrackingBenchr.bin \ No newline at end of file -- 2.34.1