You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
1
(17) |
2
(14) |
3
(15) |
4
(30) |
5
(18) |
6
(12) |
7
(10) |
|
8
(11) |
9
(11) |
10
(14) |
11
(12) |
12
(12) |
13
(8) |
14
(5) |
|
15
(11) |
16
(19) |
17
(15) |
18
(15) |
19
(16) |
20
(9) |
21
(9) |
|
22
(12) |
23
(11) |
24
(10) |
25
(5) |
26
(11) |
27
(12) |
28
(20) |
|
29
(11) |
30
(21) |
|
|
|
|
|
|
From: <sv...@va...> - 2008-06-18 16:06:57
|
Author: bart
Date: 2008-06-18 17:07:00 +0100 (Wed, 18 Jun 2008)
New Revision: 8255
Log:
Support alternative locations for the pacct file.
Modified:
trunk/exp-drd/scripts/measurement-functions
trunk/exp-drd/scripts/run-splash2
Modified: trunk/exp-drd/scripts/measurement-functions
===================================================================
--- trunk/exp-drd/scripts/measurement-functions 2008-06-18 14:15:11 UTC (rev 8254)
+++ trunk/exp-drd/scripts/measurement-functions 2008-06-18 16:07:00 UTC (rev 8255)
@@ -41,14 +41,24 @@
## Query the virtual memory size for the last invocation of command $1 from
# the information logged by the kernel (BSD process accounting).
function query_cmd_vsz {
+ local pacct
+
if [ ! -e /usr/sbin/dump-acct ]; then
echo "Error: userspace tools for BSD process accounting have not been" >&2
echo "installed. Please install the acct package (Debian systems)." >&2
return 1
fi
- /usr/sbin/dump-acct /var/log/account/pacct | \
- grep -- "^$(basename "$1")" | \
+ if [ -e /var/log/account/pacct ]; then
+ pacct=/var/log/account/pacct
+ elif [ -e /var/account/pacct ]; then
+ pacct=/var/account/pacct
+ else
+ echo "Where is the pacct file ?" >&2
+ return 1
+ fi
+ /usr/sbin/dump-acct "${pacct}" | \
+ grep -- "^$(basename "$1").*|v3|" | \
cut -f8 -d'|' | \
tail -n 1
}
Modified: trunk/exp-drd/scripts/run-splash2
===================================================================
--- trunk/exp-drd/scripts/run-splash2 2008-06-18 14:15:11 UTC (rev 8254)
+++ trunk/exp-drd/scripts/run-splash2 2008-06-18 16:07:00 UTC (rev 8255)
@@ -137,7 +137,7 @@
# Results: native native native none none DRD DRD HG ITC ITC
# -p1 -p2 -p4 -p1 -p4 -p4 -p4+f -p4 -p4 -p4+f
# .......................................................................................................................
-# Cholesky 0.21 ..... 0.14 ..... 4.49 ..... .... .... .... .... 4 .... 3 .... 2 .... 239 82
+# Cholesky 0.21 45565 0.14 55658 4.49 74667 9.05 2.31 0.64 1.80 4 2.11 3 2.22 1 3.28 239 82
# FFT 0.11 ..... 0.08 ..... 0.07 ..... .... .... .... .... 138 .... 66 .... 380 .... 90 41
# LU, contiguous 0.56 ..... 0.34 ..... 0.34 ..... .... .... .... .... 72 .... 68 .... 96 .... 428 128
# LU, non-contiguous 0.59 ..... 0.32 ..... 0.35 ..... .... .... .... .... 92 .... 109 .... 60 .... 428 128
|
|
From: omo <om...@do...> - 2008-06-18 14:38:12
|
Hello Florian, Thank you for your advice. > The hard part will be how to control where you want to insert the failure. Certainly. We may keep it simple and declarative to give it from clo. Another, more ambitious idea is to build a DSL to control these conditions. Such an approach may be similar to Dtrace-like aspect orientation. But it will be too long way to go... BTW, funtion wrapping functionaly looks very interesting, if it is available in the framework rather than in the client-side. I'll try it later. -- morita On Wed, Jun 18, 2008 at 1:24 AM, Florian Krohm <br...@ac...> wrote: > On Monday 16 June 2008 10:17:54 am omo wrote: >> Hello, >> >> I've prototyped a simple fault injector for malloc()-like routines, >> called "Failgrind". >> The tool can make fail malloc() and its variants which are called from >> specific functions. >> the basic idea is similar to the bug: >> http://bugs.kde.org/show_bug.cgi?id=163266 >> and failmalloc http://www.nongnu.org/failmalloc/ . >> >> This is just a small, proof-of-concept prototype, and there will be a >> lot of TODOs. >> Which is better to the patch to massif or current "separate tool" style? >> What are missing features? How should they be implemented? >> How to intercept specific functions? >> Does this type of tool make sense at all? >> > > This would be a very useful tool to have. And you already got a great name > for it.. As the bugzilla entry suggests it would be good to not restrict it > to just malloc etc. failures. File system failures, temporary network > unavailability and other such things that are difficult to test otherwise > could be emulated nicely this way. > The hard part will be how to control where you want to insert the failure. > This could be something as John has suggested. More difficult control > mechanisms could include > - make function foo in "bar.c", line 100 fail (whenever it is reached) > - make some function fail only in a particular calling context > - restrict failures to functions in a given DSO > > and so on. > Valgrind provides a way to wrap/replace functions. Described here > http://www.valgrind.org/docs/manual/manual-core-adv.html#manual-core-adv.wrapping > > This might be useful in case you want to extend the tool beyond handling > malloc and friends. > > Florian > -- -- morita |
|
From: <sv...@va...> - 2008-06-18 14:15:11
|
Author: bart
Date: 2008-06-18 15:15:11 +0100 (Wed, 18 Jun 2008)
New Revision: 8254
Log:
VSZ statistics are now reported properly. Added legend for result tables.
Modified:
trunk/exp-drd/scripts/run-splash2
Modified: trunk/exp-drd/scripts/run-splash2
===================================================================
--- trunk/exp-drd/scripts/run-splash2 2008-06-18 14:14:03 UTC (rev 8253)
+++ trunk/exp-drd/scripts/run-splash2 2008-06-18 14:15:11 UTC (rev 8254)
@@ -13,33 +13,36 @@
rm -f "${tmp}"
test_output="${1}.out" measure_runtime "$@" -p1 | avgstddev > "$tmp"
- read avg1 stddev1 < "$tmp"
- echo "Average time: ${avg1} +/- ${stddev1} seconds"
+ read avg1 stddev1 vsz1 vszdev1 < "$tmp"
+ echo "Average time: ${avg1} +/- ${stddev1} seconds." \
+ " VSZ: ${vsz1} +/- ${vszdev1} KB"
test_output="${1}.out" measure_runtime "$@" -p2 | avgstddev > "$tmp"
- read avg2 stddev2 < "$tmp"
- echo "Average time: ${avg2} +/- ${stddev2} seconds"
+ read avg2 stddev2 vsz2 vszdev2 < "$tmp"
+ echo "Average time: ${avg2} +/- ${stddev2} seconds." \
+ " VSZ: ${vsz2} +/- ${vszdev2} KB"
test_output="${1}.out" measure_runtime "$@" -p4 | avgstddev > "$tmp"
- read avg4 stddev4 < "$tmp"
- echo "Average time: ${avg4} +/- ${stddev4} seconds"
+ read avg4 stddev4 vsz4 vszdev4 < "$tmp"
+ echo "Average time: ${avg4} +/- ${stddev4} seconds." \
+ " VSZ: ${vsz4} +/- ${vszdev4} KB"
test_output="/dev/null" \
- print_runtime_ratio ${avg1} ${stddev1} $VG --tool=none "$@" -p1
+ print_runtime_ratio ${avg1} ${stddev1} ${vsz1} ${vszdev1} $VG --tool=none "$@" -p1
test_output="/dev/null" \
- print_runtime_ratio ${avg4} ${stddev4} $VG --tool=none "$@" -p4
+ print_runtime_ratio ${avg4} ${stddev4} ${vsz4} ${vszdev4} $VG --tool=none "$@" -p4
test_output="${1}-drd-with-stack-var-${p}.out" \
- print_runtime_ratio ${avg4} ${stddev4} \
+ print_runtime_ratio ${avg4} ${stddev4} ${vsz4} ${vszdev4} \
$VG --tool=exp-drd --check-stack-var=yes "$@" -p4
test_output="${1}-drd-without-stack-var-${p}.out" \
- print_runtime_ratio ${avg4} ${stddev4} \
+ print_runtime_ratio ${avg4} ${stddev4} ${vsz4} ${vszdev4} \
$VG --tool=exp-drd --check-stack-var=no "$@" -p4
test_output="${1}-helgrind-${p}.out" \
- print_runtime_ratio ${avg4} ${stddev4} $VG --tool=helgrind "$@" -p4
+ print_runtime_ratio ${avg4} ${stddev4} ${vsz4} ${vszdev4} $VG --tool=helgrind "$@" -p4
echo ''
@@ -72,60 +75,83 @@
fi
######################################################################################################################
-# Results: native native native none none DRD DRD HG ITC ITC
-# -p1 -p2 -p4 -p1 -p4 -p4 -p4+f -p4 -p4 -p4+f
-# ....................................................................................................................
-# Cholesky 0.37 ..... 0.25 ..... 0.20 ..... 8.3 .... 17.3 .... 173 .... 118 .... 57 .... 239 82
-# FFT 0.23 ..... 0.14 ..... 0.10 ..... 7.5 .... 16.2 .... 119 .... 80 .... 2336 .... 90 41
-# LU, contiguous 0.95 ..... 0.64 ..... 0.43 ..... 7.9 .... 18.0 .... 119 .... 113 .... 223 .... 428 128
-# LU, non-contiguous 1.18 ..... 0.69 ..... 0.41 ..... 6.7 .... 19.5 .... 204 .... 187 .... 164 .... 428 128
-# Ocean, contiguous 24.53 ..... 13.97 ..... 9.28 ..... 2.4 .... 6.5 .... 89 .... 76 .... 147 .... 90 28
-# Ocean, non-contiguous 0.36 ..... 0.19 ..... 0.17 ..... 4.2 .... 10.0 .... 56 .... 68 .... 121 .... 90 28
-# Radiosity 4.77 ..... 4.77 ..... 4.75 ..... 16.6 .... 16.6 .... 116 .... .. .... .. .... 485 163
-# Radix .... ..... .... ..... .... ..... ... .... .... .... .. .... .. .... ... .... 222 56
-# Raytrace .... ..... .... ..... .... ..... ... .... ... .... ... .... .. .... .. .... 172 53
-# Water-n2 .... ..... .... ..... .... ..... .... .... .... .... ... .... .. .... .. .... 189 39
-# Water-sp .... ..... .... ..... .... ..... .... .... .... .... .. .... .. .... .. .... 183 34
-# ....................................................................................................................
+# Meaning of the different colums:
+# 1. SPLASH2 test name.
+# 2. Execution time in seconds for native run with argument -p1.
+# 3. Virtual memory size in KB for the native run with argument -p1.
+# 4. Execution time in seconds for native run with argument -p2.
+# 5. Virtual memory size in KB for the native run with argument -p2.
+# 6. Execution time in seconds for native run with argument -p4.
+# 7. Virtual memory size in KB for the native run with argument -p4.
+# 8. Execution time ratio for --tool=none -p1 versus -p1.
+# 9. Virtual memory size ratio for --tool=none -p1 versus -p1.
+# 10. Execution time ratio for --tool=none -p4 versus -p4.
+# 11. Virtual memory size ratio for --tool=none -p4 versus -p4.
+# 12. Execution time ratio for --tool=exp-drd --check-stack-var=yes -p4 versus -p4.
+# 13. Virtual memory size ratio for --tool=exp-drd --check-stack-var=yes -p4 versus -p4.
+# 14. Execution time ratio for --tool=exp-drd --check-stack-var=no -p4 versus -p4.
+# 15. Virtual memory size ratio for --tool=exp-drd --check-stack-var=no -p4 versus -p4.
+# 16. Execution time ratio for --tool=helgrind -p4 versus -p4.
+# 17. Virtual memory size ratio for --tool=helgrind -p4 versus -p4.
+# 18. Execution time ratio for Intel Thread Checker -p4 versus -p4.
+# 19. Execution time ratio for Intel Thread Checker -p4 versus -p4.
+#
+# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
+#########################################################################################################################
+# Results: native native native none none DRD DRD HG ITC ITC
+# -p1 -p2 -p4 -p1 -p4 -p4 -p4+f -p4 -p4 -p4+f
+# .......................................................................................................................
+# Cholesky 0.37 45867 0.25 55965 0.20 96789 8.3 2.08 17.3 1.29 173 .... 118 .... 57 .... 239 82
+# FFT 0.23 ..... 0.14 ..... 0.10 ..... 7.5 .... 16.2 .... 119 .... 80 .... 2336 .... 90 41
+# LU, contiguous 0.95 ..... 0.64 ..... 0.43 ..... 7.9 .... 18.0 .... 119 .... 113 .... 223 .... 428 128
+# LU, non-contiguous 1.18 ..... 0.69 ..... 0.41 ..... 6.7 .... 19.5 .... 204 .... 187 .... 164 .... 428 128
+# Ocean, contiguous 24.53 ..... 13.97 ..... 9.28 ..... 2.4 .... 6.5 .... 89 .... 76 .... 147 .... 90 28
+# Ocean, non-contiguous 0.36 ..... 0.19 ..... 0.17 ..... 4.2 .... 10.0 .... 56 .... 68 .... 121 .... 90 28
+# Radiosity 4.77 ..... 4.77 ..... 4.75 ..... 16.6 .... 16.6 .... 116 .... 50 .... 56 .... 485 163
+# Radix 5.03 ..... 2.57 ..... 1.36 ..... 6.1 .... 22.5 .... .. .... .. .... ... .... 222 56
+# Raytrace .... ..... .... ..... .... ..... ... .... ... .... ... .... .. .... .. .... 172 53
+# Water-n2 .... ..... .... ..... .... ..... .... .... .... .... ... .... .. .... .. .... 189 39
+# Water-sp .... ..... .... ..... .... ..... .... .... .... .... .. .... .. .... .. .... 183 34
+# .......................................................................................................................
# Hardware: Two quad-core Intel Xeon L5130, 1.6 GHz, 4 MB L2 cache, 16 GB RAM.
# Software: Ubuntu 8.04 server, 64-bit, gcc 4.3.1.
-######################################################################################################################
-# Results: native native native none none DRD DRD HG ITC ITC
-# -p1 -p2 -p4 -p1 -p4 -p4 -p4+f -p4 -p4 -p4+f
-# ....................................................................................................................
-# Cholesky 0.29 10968 0.21 63669 4.60 70621 8.6 2.21 1.0 1.75 5 2.05 4 2.16 2 3.22 239 82
-# FFT 0.19 ..... 0.12 ..... 0.12 ..... 7.0 1.01 11.3 1.01 87 1.02 59 1.02 .... .... 90 41
-# LU, contiguous 0.79 ..... 0.54 ..... 0.53 ..... 8.3 4.27 11.7 2.33 79 .... 75 .... 148 .... 428 128
-# LU, non-contiguous 0.86 ..... 0.47 ..... 0.49 ..... 7.5 .... 12.6 .... 136 .... 124 .... 109 .... 428 128
-# Ocean, contiguous 19.46 ..... 12.59 ..... 12.61 ..... 2.4 .... 3.7 .... 53 .... 47 .... 86 .... 90 28
-# Ocean, non-contiguous 0.30 ..... 0.19 ..... 0.19 ..... 4.0 .... 6.8 .... 38 .... 47 .... 84 .... 90 28
-# Radiosity 3.86 ..... 3.84 ..... 3.84 ..... 16.3 .... 16.4 .... ... .... .. .... .. .... 485 163
-# Radix 4.07 ..... 2.12 ..... 2.12 ..... 5.7 .... 10.9 .... .. .... .. .... ... .... 222 56
-# Raytrace 2.22 ..... 2.19 ..... 2.20 ..... 7.8 .... 7.9 .... ... .... .. .... .. .... 172 53
-# Water-n2 0.18 ..... 0.17 ..... 0.17 ..... 11.4 .... 11.5 .... ... .... .. .... .. .... 189 39
-# Water-sp 0.19 ..... 0.18 ..... 0.18 ..... 10.4 .... 10.2 .... .. .... .. .... .. .... 183 34
-# ....................................................................................................................
+#########################################################################################################################
+# Results: native native native none none DRD DRD HG ITC ITC
+# -p1 -p2 -p4 -p1 -p4 -p4 -p4+f -p4 -p4 -p4+f
+# .......................................................................................................................
+# Cholesky 0.29 45835 0.21 55933 4.60 74944 8.6 2.21 1.0 1.75 5 2.05 4 2.16 2 3.22 239 82
+# FFT 0.19 6 GB 0.12 6 GB 0.12 6 GB 7.0 1.01 11.3 1.01 87 1.02 59 1.02 .... .... 90 41
+# LU, contiguous 0.79 16752 0.54 ..... 0.53 ..... 8.3 4.27 11.7 2.33 79 .... 75 .... 148 .... 428 128
+# LU, non-contiguous 0.86 ..... 0.47 ..... 0.49 ..... 7.5 .... 12.6 .... 136 .... 124 .... 109 .... 428 128
+# Ocean, contiguous 19.46 ..... 12.59 ..... 12.61 ..... 2.4 .... 3.7 .... 53 .... 47 .... 86 .... 90 28
+# Ocean, non-contiguous 0.30 ..... 0.19 ..... 0.19 ..... 4.0 .... 6.8 .... 38 .... 47 .... 84 .... 90 28
+# Radiosity 3.86 ..... 3.84 ..... 3.84 ..... 16.3 .... 16.4 .... ... .... .. .... .. .... 485 163
+# Radix 4.07 ..... 2.12 ..... 2.12 ..... 5.7 .... 10.9 .... .. .... .. .... ... .... 222 56
+# Raytrace 2.22 ..... 2.19 ..... 2.20 ..... 7.8 .... 7.9 .... ... .... .. .... .. .... 172 53
+# Water-n2 0.18 ..... 0.17 ..... 0.17 ..... 11.4 .... 11.5 .... ... .... .. .... .. .... 189 39
+# Water-sp 0.19 ..... 0.18 ..... 0.18 ..... 10.4 .... 10.2 .... .. .... .. .... .. .... 183 34
+# .......................................................................................................................
# Hardware: dual-core Intel Xeon 5130, 2.0 GHz, 4 MB L2 cache, 4 GB RAM.
# Software: Ubuntu 7.10 server, 64-bit, gcc 4.3.1, xload -update 1 running.
-######################################################################################################################
-# Results: native native native none none DRD DRD HG ITC ITC
-# -p1 -p2 -p4 -p1 -p4 -p4 -p4+f -p4 -p4 -p4+f
-# ....................................................................................................................
-# Cholesky 0.21 ..... 0.14 ..... 4.49 ..... .... .... .... .... 4 .... 3 .... 2 .... 239 82
-# FFT 0.11 ..... 0.08 ..... 0.07 ..... .... .... .... .... 138 .... 66 .... 380 .... 90 41
-# LU, contiguous 0.56 ..... 0.34 ..... 0.34 ..... .... .... .... .... 72 .... 68 .... 96 .... 428 128
-# LU, non-contiguous 0.59 ..... 0.32 ..... 0.35 ..... .... .... .... .... 92 .... 109 .... 60 .... 428 128
-# Ocean, contiguous 14.30 ..... 9.54 ..... 9.56 ..... .... .... .... .... 61 .... 48 .... 89 .... 90 28
-# Ocean, non-contiguous 0.20 ..... 0.12 ..... 0.12 ..... .... .... .... .... 45 .... 51 .... 93 .... 90 28
-# Radiosity 2.33 ..... 2.32 ..... 2.33 ..... .... .... .... .... 175 .... 61 .... 60 .... 485 163
-# Radix 2.81 ..... 1.45 ..... 1.46 ..... .... .... .... .... 32 .... 29 .... 153 .... 222 56
-# Raytrace 1.65 ..... 1.64 ..... 1.64 ..... .... .... .... .... 230 .... 55 .... 89 .... 172 53
-# Water-n2 0.14 ..... 0.12 ..... 0.12 ..... .... .... .... .... 129 .... 35 .... 55 .... 189 39
-# Water-sp 0.14 ..... 0.12 ..... 0.12 ..... .... .... .... .... 121 .... 36 .... 54 .... 183 34
-# ....................................................................................................................
+#########################################################################################################################
+# Results: native native native none none DRD DRD HG ITC ITC
+# -p1 -p2 -p4 -p1 -p4 -p4 -p4+f -p4 -p4 -p4+f
+# .......................................................................................................................
+# Cholesky 0.21 ..... 0.14 ..... 4.49 ..... .... .... .... .... 4 .... 3 .... 2 .... 239 82
+# FFT 0.11 ..... 0.08 ..... 0.07 ..... .... .... .... .... 138 .... 66 .... 380 .... 90 41
+# LU, contiguous 0.56 ..... 0.34 ..... 0.34 ..... .... .... .... .... 72 .... 68 .... 96 .... 428 128
+# LU, non-contiguous 0.59 ..... 0.32 ..... 0.35 ..... .... .... .... .... 92 .... 109 .... 60 .... 428 128
+# Ocean, contiguous 14.30 ..... 9.54 ..... 9.56 ..... .... .... .... .... 61 .... 48 .... 89 .... 90 28
+# Ocean, non-contiguous 0.20 ..... 0.12 ..... 0.12 ..... .... .... .... .... 45 .... 51 .... 93 .... 90 28
+# Radiosity 2.33 ..... 2.32 ..... 2.33 ..... .... .... .... .... 175 .... 61 .... 60 .... 485 163
+# Radix 2.81 ..... 1.45 ..... 1.46 ..... .... .... .... .... 32 .... 29 .... 153 .... 222 56
+# Raytrace 1.65 ..... 1.64 ..... 1.64 ..... .... .... .... .... 230 .... 55 .... 89 .... 172 53
+# Water-n2 0.14 ..... 0.12 ..... 0.12 ..... .... .... .... .... 129 .... 35 .... 55 .... 189 39
+# Water-sp 0.14 ..... 0.12 ..... 0.12 ..... .... .... .... .... 121 .... 36 .... 54 .... 183 34
+# .......................................................................................................................
# Hardware: dual-core Intel Core2 Duo E6750, 2.66 GHz, 4 MB L2 cache, 2 GB RAM.
# Software: openSUSE 10.3, 64-bit, gcc 4.3.1, runlevel 5, X screensaver: blank
-######################################################################################################################
+#########################################################################################################################
cache_size=$(get_cache_size)
log2_cache_size=$(log2 ${cache_size})
|
|
From: <sv...@va...> - 2008-06-18 14:14:00
|
Author: bart
Date: 2008-06-18 15:14:03 +0100 (Wed, 18 Jun 2008)
New Revision: 8253
Log:
Average and standard deviation are now rounded at two digits past the decimal point.
Modified:
trunk/exp-drd/scripts/measurement-functions
Modified: trunk/exp-drd/scripts/measurement-functions
===================================================================
--- trunk/exp-drd/scripts/measurement-functions 2008-06-18 13:31:05 UTC (rev 8252)
+++ trunk/exp-drd/scripts/measurement-functions 2008-06-18 14:14:03 UTC (rev 8253)
@@ -35,7 +35,7 @@
## Read a stream of numbers from stdin (one per line), and print the average
# and standard deviation.
function avgstddev {
- awk '{n++;m=NF;for(i=1;i<=NF;i++){sum[i]+=$i;sumsq[i]+=$i*$i}}END{for(i=1;i<=m;i++){d=sumsq[i]/n-sum[i]*sum[i]/n/n;printf "%g %g ",sum[i]/n,(d>0?sqrt(d):0)}}'
+ awk '{n++;m=NF;for(i=1;i<=NF;i++){sum[i]+=$i;sumsq[i]+=$i*$i}}END{for(i=1;i<=m;i++){d=sumsq[i]/n-sum[i]*sum[i]/n/n;printf "%.2f %.2f ",sum[i]/n,(d>0?sqrt(d):0)}}'
}
## Query the virtual memory size for the last invocation of command $1 from
@@ -116,6 +116,6 @@
measure_runtime "$@" | avgstddev > "$tmp"
read avg2 stddev2 vsz2 vszdev2 < "$tmp"
echo "Average time: ${avg2} +/- ${stddev2} seconds / VSZ ${vsz2} +/- ${vszdev2} KB"
- awk "END{print "'"'"Ratio ="'"'", ${avg2}/${avg1}, "'"'"+/-"'"'", ${avg2}/${avg1}*(${stddev1}/${avg1}+${stddev2}/${avg2}), "'"; VSZ ratio: "'", ${vsz2:-0}/${vsz1}, "'"'"+/-"'"'", ${vsz2:-0}/${vsz1}*(${vszdev1}/${vsz1}+${vszdev2:-0}/${vsz2:-1})}" </dev/null
+ awk "END{printf "'"'"Ratio = %.2f +/- %.2f; VSZ ratio: %.2f +/- %.2f\n"'"'", ${avg2}/${avg1}, ${avg2}/${avg1}*(${stddev1}/${avg1}+${stddev2}/${avg2}), ${vsz2}/${vsz1}, ${vsz2}/${vsz1}*(${vszdev1}/${vsz1}+${vszdev2}/${vsz2})}" </dev/null
}
|
|
From: <sv...@va...> - 2008-06-18 13:31:01
|
Author: bart
Date: 2008-06-18 14:31:05 +0100 (Wed, 18 Jun 2008)
New Revision: 8252
Log:
Virtual memory sizes are now printed too.
Modified:
trunk/exp-drd/scripts/measurement-functions
trunk/exp-drd/scripts/run-matinv
trunk/exp-drd/scripts/run-splash2
Modified: trunk/exp-drd/scripts/measurement-functions
===================================================================
--- trunk/exp-drd/scripts/measurement-functions 2008-06-18 09:14:13 UTC (rev 8251)
+++ trunk/exp-drd/scripts/measurement-functions 2008-06-18 13:31:05 UTC (rev 8252)
@@ -35,38 +35,87 @@
## Read a stream of numbers from stdin (one per line), and print the average
# and standard deviation.
function avgstddev {
- awk '{n++;sum+=$1;sumsq+=$1*$1}END{d=sumsq/n-sum*sum/n/n;print sum/n,(d>0?sqrt(d):0)}'
+ awk '{n++;m=NF;for(i=1;i<=NF;i++){sum[i]+=$i;sumsq[i]+=$i*$i}}END{for(i=1;i<=m;i++){d=sumsq[i]/n-sum[i]*sum[i]/n/n;printf "%g %g ",sum[i]/n,(d>0?sqrt(d):0)}}'
}
+## Query the virtual memory size for the last invocation of command $1 from
+# the information logged by the kernel (BSD process accounting).
+function query_cmd_vsz {
+ if [ ! -e /usr/sbin/dump-acct ]; then
+ echo "Error: userspace tools for BSD process accounting have not been" >&2
+ echo "installed. Please install the acct package (Debian systems)." >&2
+ return 1
+ fi
+
+ /usr/sbin/dump-acct /var/log/account/pacct | \
+ grep -- "^$(basename "$1")" | \
+ cut -f8 -d'|' | \
+ tail -n 1
+}
+
+## Query the virtual memory size for the last invocation of command $1 from
+# the information logged by the kernel (BSD process accounting).
+function query_vsz {
+ local cmd tool
+
+ cmd="$(basename "$1")"
+ if [ "${cmd}" = "vg-in-place" ]; then
+ tool="tool-not-found"
+ for arg in "${@}"
+ do
+ if [ "${arg#--tool=}" != "${arg}" ]; then
+ tool="${arg#--tool=}"
+ break
+ fi
+ done
+ vsz_tool="$(query_cmd_vsz "${tool}")"
+ awk "END{print $(query_cmd_vsz ${cmd}) + ${vsz_tool:-0}}" \
+ </dev/null
+ else
+ query_cmd_vsz "${cmd}"
+ fi
+}
+
## Echo all arguments on stderr, run the command passed in $1 .. ${$#} three
# times, pass the file specified in ${test_input} to the command, write the
# command output to the file specified in ${test_output}, and print the
# runtime of the command on stdout.
function measure_runtime {
+ local i
+
echo "$@" >&2
for ((i=0;i<3;i++))
do
- cat "${test_input:-/dev/null}" | \
+ echo -n "$(cat "${test_input:-/dev/null}" | \
/usr/bin/time --format="%e" "$@" 2>&1 | \
tee "${test_output:-/dev/null}" | \
- tail -n 1
+ tail -n 1) "
+ query_vsz "$@"
done
}
-## Print the average runtime of the command passed in $1 .. ${$#} and the ratio
-# of the runtime to ${avg1} +/- ${stddev1}.
+## Print the average runtime of the command passed in $5 .. ${$#}, the ratio
+# of the runtime to $1 +/- $2 and the ratio of the VSZ to $3 +/- $4.
function print_runtime_ratio {
- local tmp avg1="$1" avg2="$2"
+ local tmp avg1="$1" stddev1="$2" vsz1="$3" vszdev1="$4"
+ local avg2 stddev2 vsz2 vszdev2
+ if [ "${avg1}" = "" -o "${stddev1}" = "" -o "${vsz1}" = "" -o "${vszdev1}" = "" ]; then
+ echo "Error: invalid arguments ($@)."
+ exit 1
+ fi
+
shift
shift
+ shift
+ shift
tmp="/tmp/test-timing.$$"
rm -f "${tmp}"
measure_runtime "$@" | avgstddev > "$tmp"
- read avg2 stddev2 < "$tmp"
- echo "Average time: ${avg2} +/- ${stddev2} seconds"
- awk "END{print "'"'"Ratio ="'"'", ${avg2}/${avg1}, "'"'"+/-"'"'", ${avg2}/${avg1}*(${stddev1}/${avg1}+${stddev2}/${avg2})}" </dev/null
+ read avg2 stddev2 vsz2 vszdev2 < "$tmp"
+ echo "Average time: ${avg2} +/- ${stddev2} seconds / VSZ ${vsz2} +/- ${vszdev2} KB"
+ awk "END{print "'"'"Ratio ="'"'", ${avg2}/${avg1}, "'"'"+/-"'"'", ${avg2}/${avg1}*(${stddev1}/${avg1}+${stddev2}/${avg2}), "'"; VSZ ratio: "'", ${vsz2:-0}/${vsz1}, "'"'"+/-"'"'", ${vsz2:-0}/${vsz1}*(${vszdev1}/${vsz1}+${vszdev2:-0}/${vsz2:-1})}" </dev/null
}
Modified: trunk/exp-drd/scripts/run-matinv
===================================================================
--- trunk/exp-drd/scripts/run-matinv 2008-06-18 09:14:13 UTC (rev 8251)
+++ trunk/exp-drd/scripts/run-matinv 2008-06-18 13:31:05 UTC (rev 8252)
@@ -25,14 +25,15 @@
rm -f "${tmp}"
measure_runtime ${MATINV} $n | avgstddev > "$tmp"
- read avg1 stddev1 < "$tmp"
- echo "Average time: ${avg1} +/- ${stddev1} seconds"
+ read avg1 stddev1 vsz1 vszdev1 < "$tmp"
+ echo "Average time: ${avg1} +/- ${stddev1} seconds." \
+ " VSZ: ${vsz1} +/- ${vszdev1} KB"
for i in 1 10
do
- print_runtime_ratio ${avg1} ${stddev1} \
+ print_runtime_ratio ${avg1} ${stddev1} ${vsz1} ${vszdev1} \
${VG} --tool=none ${MATINV} $n -t$i
- print_runtime_ratio ${avg1} ${stddev1} \
+ print_runtime_ratio ${avg1} ${stddev1} ${vsz1} ${vszdev1} \
${VG} --tool=exp-drd ${MATINV} $n -t$i
done
done
Modified: trunk/exp-drd/scripts/run-splash2
===================================================================
--- trunk/exp-drd/scripts/run-splash2 2008-06-18 09:14:13 UTC (rev 8251)
+++ trunk/exp-drd/scripts/run-splash2 2008-06-18 13:31:05 UTC (rev 8252)
@@ -7,7 +7,7 @@
source "$(dirname $0)/measurement-functions"
function run_test {
- local tmp avg1 stddev1 avg2 stddev2 avg4 stddev4 p
+ local tmp avg1 stddev1 avg2 stddev2 avg4 stddev4
tmp="/tmp/test-timing.$$"
rm -f "${tmp}"
@@ -32,14 +32,14 @@
test_output="${1}-drd-with-stack-var-${p}.out" \
print_runtime_ratio ${avg4} ${stddev4} \
- $VG --tool=exp-drd --check-stack-var=yes "$@" -p$p
+ $VG --tool=exp-drd --check-stack-var=yes "$@" -p4
test_output="${1}-drd-without-stack-var-${p}.out" \
print_runtime_ratio ${avg4} ${stddev4} \
- $VG --tool=exp-drd --check-stack-var=no "$@" -p$p
+ $VG --tool=exp-drd --check-stack-var=no "$@" -p4
test_output="${1}-helgrind-${p}.out" \
- print_runtime_ratio ${avg4} ${stddev4} $VG --tool=helgrind "$@" -p$p
+ print_runtime_ratio ${avg4} ${stddev4} $VG --tool=helgrind "$@" -p4
echo ''
@@ -71,43 +71,61 @@
exit 1
fi
-###############################################################################
-# Results: native native none none DRD DRD HG ITC ITC
-# -p1 -p2 -p4 -p1 -p4 -p4 -p4+f -p4 -p4 -p4+f
-# .............................................................................
-# Cholesky 0.29 0.21 4.46 8.5 0.7 5 4 2 239 82
-# FFT 0.19 0.12 0.12 5.2 8.5 82 54 4237 90 41
-# LU, contiguous 0.76 0.47 0.47 7.7 12.8 66 61 155 428 128
-# LU, non-contiguous 0.80 0.45 0.48 7.4 13.1 88 86 102 428 128
-# Ocean, contiguous 19.45 12.59 12.65 2.7 4.1 57 49 86 90 28
-# Ocean, non-contiguous 0.30 0.18 0.19 4.4 7.3 39 46 85 90 28
-# Radiosity 3.14 3.11 3.11 16.4 16.4 164 60 58 485 163
-# Radix 4.07 2.12 2.12 5.7 10.9 30 27 147 222 56
-# Raytrace 2.22 2.19 2.20 7.8 7.9 166 55 93 172 53
-# Water-n2 0.18 0.17 0.17 11.4 11.5 126 34 52 189 39
-# Water-sp 0.19 0.18 0.18 10.4 10.2 96 34 51 183 34
-# .............................................................................
+######################################################################################################################
+# Results: native native native none none DRD DRD HG ITC ITC
+# -p1 -p2 -p4 -p1 -p4 -p4 -p4+f -p4 -p4 -p4+f
+# ....................................................................................................................
+# Cholesky 0.37 ..... 0.25 ..... 0.20 ..... 8.3 .... 17.3 .... 173 .... 118 .... 57 .... 239 82
+# FFT 0.23 ..... 0.14 ..... 0.10 ..... 7.5 .... 16.2 .... 119 .... 80 .... 2336 .... 90 41
+# LU, contiguous 0.95 ..... 0.64 ..... 0.43 ..... 7.9 .... 18.0 .... 119 .... 113 .... 223 .... 428 128
+# LU, non-contiguous 1.18 ..... 0.69 ..... 0.41 ..... 6.7 .... 19.5 .... 204 .... 187 .... 164 .... 428 128
+# Ocean, contiguous 24.53 ..... 13.97 ..... 9.28 ..... 2.4 .... 6.5 .... 89 .... 76 .... 147 .... 90 28
+# Ocean, non-contiguous 0.36 ..... 0.19 ..... 0.17 ..... 4.2 .... 10.0 .... 56 .... 68 .... 121 .... 90 28
+# Radiosity 4.77 ..... 4.77 ..... 4.75 ..... 16.6 .... 16.6 .... 116 .... .. .... .. .... 485 163
+# Radix .... ..... .... ..... .... ..... ... .... .... .... .. .... .. .... ... .... 222 56
+# Raytrace .... ..... .... ..... .... ..... ... .... ... .... ... .... .. .... .. .... 172 53
+# Water-n2 .... ..... .... ..... .... ..... .... .... .... .... ... .... .. .... .. .... 189 39
+# Water-sp .... ..... .... ..... .... ..... .... .... .... .... .. .... .. .... .. .... 183 34
+# ....................................................................................................................
+# Hardware: Two quad-core Intel Xeon L5130, 1.6 GHz, 4 MB L2 cache, 16 GB RAM.
+# Software: Ubuntu 8.04 server, 64-bit, gcc 4.3.1.
+######################################################################################################################
+# Results: native native native none none DRD DRD HG ITC ITC
+# -p1 -p2 -p4 -p1 -p4 -p4 -p4+f -p4 -p4 -p4+f
+# ....................................................................................................................
+# Cholesky 0.29 10968 0.21 63669 4.60 70621 8.6 2.21 1.0 1.75 5 2.05 4 2.16 2 3.22 239 82
+# FFT 0.19 ..... 0.12 ..... 0.12 ..... 7.0 1.01 11.3 1.01 87 1.02 59 1.02 .... .... 90 41
+# LU, contiguous 0.79 ..... 0.54 ..... 0.53 ..... 8.3 4.27 11.7 2.33 79 .... 75 .... 148 .... 428 128
+# LU, non-contiguous 0.86 ..... 0.47 ..... 0.49 ..... 7.5 .... 12.6 .... 136 .... 124 .... 109 .... 428 128
+# Ocean, contiguous 19.46 ..... 12.59 ..... 12.61 ..... 2.4 .... 3.7 .... 53 .... 47 .... 86 .... 90 28
+# Ocean, non-contiguous 0.30 ..... 0.19 ..... 0.19 ..... 4.0 .... 6.8 .... 38 .... 47 .... 84 .... 90 28
+# Radiosity 3.86 ..... 3.84 ..... 3.84 ..... 16.3 .... 16.4 .... ... .... .. .... .. .... 485 163
+# Radix 4.07 ..... 2.12 ..... 2.12 ..... 5.7 .... 10.9 .... .. .... .. .... ... .... 222 56
+# Raytrace 2.22 ..... 2.19 ..... 2.20 ..... 7.8 .... 7.9 .... ... .... .. .... .. .... 172 53
+# Water-n2 0.18 ..... 0.17 ..... 0.17 ..... 11.4 .... 11.5 .... ... .... .. .... .. .... 189 39
+# Water-sp 0.19 ..... 0.18 ..... 0.18 ..... 10.4 .... 10.2 .... .. .... .. .... .. .... 183 34
+# ....................................................................................................................
# Hardware: dual-core Intel Xeon 5130, 2.0 GHz, 4 MB L2 cache, 4 GB RAM.
# Software: Ubuntu 7.10 server, 64-bit, gcc 4.3.1, xload -update 1 running.
-###############################################################################
-# Results: native native DRD DRD HG ITC ITC
-# -p1 -p2 -p4 -p4 -p4, f -p4 -p4 -p4, f
-# .............................................................................
-# Cholesky 0.21 0.14 4.49 4 3 2 239 82
-# FFT - 1 0.11 0.08 0.07 138 66 380 90 41
-# LU, contiguous 0.56 0.34 0.34 72 68 96 428 128
-# LU, non-contiguous 0.59 0.32 0.35 92 109 60 428 128
-# Ocean, contiguous 14.30 9.54 9.56 61 48 89 90 28
-# Ocean, non-contiguous 0.20 0.12 0.12 45 51 93 90 28
-# Radiosity 2.33 2.32 2.33 175 61 60 485 163
-# Radix 2.81 1.45 1.46 32 29 153 222 56
-# Raytrace 1.65 1.64 1.64 230 55 89 172 53
-# Water-n2 0.14 0.12 0.12 129 35 55 189 39
-# Water-sp 0.14 0.12 0.12 121 36 54 183 34
-# .............................................................................
+######################################################################################################################
+# Results: native native native none none DRD DRD HG ITC ITC
+# -p1 -p2 -p4 -p1 -p4 -p4 -p4+f -p4 -p4 -p4+f
+# ....................................................................................................................
+# Cholesky 0.21 ..... 0.14 ..... 4.49 ..... .... .... .... .... 4 .... 3 .... 2 .... 239 82
+# FFT 0.11 ..... 0.08 ..... 0.07 ..... .... .... .... .... 138 .... 66 .... 380 .... 90 41
+# LU, contiguous 0.56 ..... 0.34 ..... 0.34 ..... .... .... .... .... 72 .... 68 .... 96 .... 428 128
+# LU, non-contiguous 0.59 ..... 0.32 ..... 0.35 ..... .... .... .... .... 92 .... 109 .... 60 .... 428 128
+# Ocean, contiguous 14.30 ..... 9.54 ..... 9.56 ..... .... .... .... .... 61 .... 48 .... 89 .... 90 28
+# Ocean, non-contiguous 0.20 ..... 0.12 ..... 0.12 ..... .... .... .... .... 45 .... 51 .... 93 .... 90 28
+# Radiosity 2.33 ..... 2.32 ..... 2.33 ..... .... .... .... .... 175 .... 61 .... 60 .... 485 163
+# Radix 2.81 ..... 1.45 ..... 1.46 ..... .... .... .... .... 32 .... 29 .... 153 .... 222 56
+# Raytrace 1.65 ..... 1.64 ..... 1.64 ..... .... .... .... .... 230 .... 55 .... 89 .... 172 53
+# Water-n2 0.14 ..... 0.12 ..... 0.12 ..... .... .... .... .... 129 .... 35 .... 55 .... 189 39
+# Water-sp 0.14 ..... 0.12 ..... 0.12 ..... .... .... .... .... 121 .... 36 .... 54 .... 183 34
+# ....................................................................................................................
# Hardware: dual-core Intel Core2 Duo E6750, 2.66 GHz, 4 MB L2 cache, 2 GB RAM.
# Software: openSUSE 10.3, 64-bit, gcc 4.3.1, runlevel 5, X screensaver: blank
-###############################################################################
+######################################################################################################################
cache_size=$(get_cache_size)
log2_cache_size=$(log2 ${cache_size})
|
|
From: <sv...@va...> - 2008-06-18 09:14:09
|
Author: sewardj
Date: 2008-06-18 10:14:13 +0100 (Wed, 18 Jun 2008)
New Revision: 8251
Log:
Reinstate vim-friendly tracery.
Modified:
branches/HGDEV/helgrind/hg_main.c
Modified: branches/HGDEV/helgrind/hg_main.c
===================================================================
--- branches/HGDEV/helgrind/hg_main.c 2008-06-18 08:56:04 UTC (rev 8250)
+++ branches/HGDEV/helgrind/hg_main.c 2008-06-18 09:14:13 UTC (rev 8251)
@@ -2308,13 +2308,13 @@
mem_trace_map = HG_(newFM)( hg_zalloc, hg_free, NULL);
}
HG_(addToFM)(mem_trace_map, mem, mem);
- VG_(message)(Vg_UserMsg, "ENABLED TRACE {{: %p; S%d/T%d", mem,
+ VG_(message)(Vg_UserMsg, "ENABLED TRACE {{{: %p; S%d/T%d", mem,
(Int)thr->csegid,
(Int)thr->errmsg_index);
if (clo_trace_level >= 2) {
VG_(get_and_pp_StackTrace)( tid, 15);
}
- VG_(message)(Vg_UserMsg, "}}");
+ VG_(message)(Vg_UserMsg, "}}}");
VG_(message)(Vg_UserMsg, "");
}
@@ -3801,7 +3801,7 @@
show_sval(buf, sizeof(buf), sv_new);
VG_(message)(Vg_UserMsg,
- "TRACE[%d] {{: Access{T%d/S%d %s %p} -> new State{%s}",
+ "TRACE[%d] {{{: Access{T%d/S%d %s %p} -> new State{%s}",
info->n_accesses,
(Int)thr->errmsg_index,
(Int)thr->csegid,
@@ -3820,7 +3820,7 @@
VG_(message)(Vg_UserMsg, " BHL is held\n");
}
- VG_(message)(Vg_UserMsg, "}}");
+ VG_(message)(Vg_UserMsg, "}}}");
VG_(message)(Vg_UserMsg, ""); // empty line
|
|
From: <sv...@va...> - 2008-06-18 08:55:59
|
Author: bart
Date: 2008-06-18 09:56:04 +0100 (Wed, 18 Jun 2008)
New Revision: 8250
Log:
First two arguments of print_runtime_ratio are now avg1 and stddev1. These are no longer taken from the environment.
Modified:
trunk/exp-drd/scripts/measurement-functions
trunk/exp-drd/scripts/run-matinv
Modified: trunk/exp-drd/scripts/measurement-functions
===================================================================
--- trunk/exp-drd/scripts/measurement-functions 2008-06-18 08:47:06 UTC (rev 8249)
+++ trunk/exp-drd/scripts/measurement-functions 2008-06-18 08:56:04 UTC (rev 8250)
@@ -56,8 +56,11 @@
## Print the average runtime of the command passed in $1 .. ${$#} and the ratio
# of the runtime to ${avg1} +/- ${stddev1}.
function print_runtime_ratio {
- local tmp
+ local tmp avg1="$1" avg2="$2"
+ shift
+ shift
+
tmp="/tmp/test-timing.$$"
rm -f "${tmp}"
Modified: trunk/exp-drd/scripts/run-matinv
===================================================================
--- trunk/exp-drd/scripts/run-matinv 2008-06-18 08:47:06 UTC (rev 8249)
+++ trunk/exp-drd/scripts/run-matinv 2008-06-18 08:56:04 UTC (rev 8250)
@@ -30,7 +30,9 @@
for i in 1 10
do
- print_runtime_ratio ${VG} --tool=none ${MATINV} $n -t$i
- print_runtime_ratio ${VG} --tool=exp-drd ${MATINV} $n -t$i
+ print_runtime_ratio ${avg1} ${stddev1} \
+ ${VG} --tool=none ${MATINV} $n -t$i
+ print_runtime_ratio ${avg1} ${stddev1} \
+ ${VG} --tool=exp-drd ${MATINV} $n -t$i
done
done
|
|
From: <sv...@va...> - 2008-06-18 08:47:00
|
Author: bart
Date: 2008-06-18 09:47:06 +0100 (Wed, 18 Jun 2008)
New Revision: 8249
Log:
The order in which the tests are run does now match the order of the columns in the tables with results.
Modified:
trunk/exp-drd/scripts/run-splash2
Modified: trunk/exp-drd/scripts/run-splash2
===================================================================
--- trunk/exp-drd/scripts/run-splash2 2008-06-18 08:26:45 UTC (rev 8248)
+++ trunk/exp-drd/scripts/run-splash2 2008-06-18 08:47:06 UTC (rev 8249)
@@ -7,7 +7,7 @@
source "$(dirname $0)/measurement-functions"
function run_test {
- local tmp avg1=1 stddev1=1 avg2=1 stddev2=1 p=4
+ local tmp avg1 stddev1 avg2 stddev2 avg4 stddev4 p
tmp="/tmp/test-timing.$$"
rm -f "${tmp}"
@@ -16,26 +16,30 @@
read avg1 stddev1 < "$tmp"
echo "Average time: ${avg1} +/- ${stddev1} seconds"
- test_output="/dev/null" print_runtime_ratio $VG --tool=none "$@" -p1
-
test_output="${1}.out" measure_runtime "$@" -p2 | avgstddev > "$tmp"
- read avg1 stddev1 < "$tmp"
- echo "Average time: ${avg1} +/- ${stddev1} seconds"
+ read avg2 stddev2 < "$tmp"
+ echo "Average time: ${avg2} +/- ${stddev2} seconds"
test_output="${1}.out" measure_runtime "$@" -p4 | avgstddev > "$tmp"
- read avg1 stddev1 < "$tmp"
- echo "Average time: ${avg1} +/- ${stddev1} seconds"
+ read avg4 stddev4 < "$tmp"
+ echo "Average time: ${avg4} +/- ${stddev4} seconds"
- test_output="/dev/null" print_runtime_ratio $VG --tool=none "$@" -p4
+ test_output="/dev/null" \
+ print_runtime_ratio ${avg1} ${stddev1} $VG --tool=none "$@" -p1
+ test_output="/dev/null" \
+ print_runtime_ratio ${avg4} ${stddev4} $VG --tool=none "$@" -p4
+
test_output="${1}-drd-with-stack-var-${p}.out" \
- print_runtime_ratio $VG --tool=exp-drd --check-stack-var=yes "$@" -p$p
+ print_runtime_ratio ${avg4} ${stddev4} \
+ $VG --tool=exp-drd --check-stack-var=yes "$@" -p$p
test_output="${1}-drd-without-stack-var-${p}.out" \
- print_runtime_ratio $VG --tool=exp-drd --check-stack-var=no "$@" -p$p
+ print_runtime_ratio ${avg4} ${stddev4} \
+ $VG --tool=exp-drd --check-stack-var=no "$@" -p$p
test_output="${1}-helgrind-${p}.out" \
- print_runtime_ratio $VG --tool=helgrind "$@" -p$p
+ print_runtime_ratio ${avg4} ${stddev4} $VG --tool=helgrind "$@" -p$p
echo ''
|
|
From: <sv...@va...> - 2008-06-18 08:26:50
|
Author: bart Date: 2008-06-18 09:26:45 +0100 (Wed, 18 Jun 2008) New Revision: 8248 Log: Renamed compile-gcc into download-and-build-gcc. Added: trunk/exp-drd/scripts/download-and-build-gcc Removed: trunk/exp-drd/scripts/compile-gcc Modified: trunk/exp-drd/docs/README.txt Modified: trunk/exp-drd/docs/README.txt =================================================================== --- trunk/exp-drd/docs/README.txt 2008-06-18 08:09:42 UTC (rev 8247) +++ trunk/exp-drd/docs/README.txt 2008-06-18 08:26:45 UTC (rev 8248) @@ -354,7 +354,7 @@ EOF For an example of how to recompile gcc, see also the script -exp-drd/scripts/compile-gcc. +exp-drd/scripts/download-and-build-gcc. Future DRD Versions Deleted: trunk/exp-drd/scripts/compile-gcc =================================================================== --- trunk/exp-drd/scripts/compile-gcc 2008-06-18 08:09:42 UTC (rev 8247) +++ trunk/exp-drd/scripts/compile-gcc 2008-06-18 08:26:45 UTC (rev 8248) @@ -1,53 +0,0 @@ -#!/bin/sh - -# Make sure that libgmp and libmpfr are installed before you run this script. -# On Debian systems, e.g. Ubuntu, you can install these libraries as follows: -# sudo apt-get install libgmp3-dev libmpfr-dev. In openSUSE these packages -# are called gmp-devel and mpfr-devel. - - -GCC_VERSION=4.3.1 -FSF_MIRROR=ftp://ftp.easynet.be/gnu -SRCDIR=$HOME/software -DOWNLOADS=$SRCDIR/downloads -SRC=$HOME/software/gcc-${GCC_VERSION} -BUILD=${SRC}-build -TAR=gcc-${GCC_VERSION}.tar.bz2 -PREFIX=$HOME/gcc-${GCC_VERSION} -export LC_ALL=C -export MAKEFLAGS="-j$(($(grep -c '^processor' /proc/cpuinfo) + 1))" - -if [ ! -e /usr/include/gmp.h ]; then - echo "Please install the gmp library development package first." - exit 1 -fi - -if [ ! -e /usr/include/mpfr.h ]; then - echo "Please install the mpfr library development package first." - exit 1 -fi - -rm -rf ${BUILD} || exit $? -rm -rf ${PREFIX} || exit $? -mkdir -p ${BUILD} || exit $? -mkdir -p ${DOWNLOADS} || exit $? -cd ${BUILD} || exit $? - -if [ ! -e $DOWNLOADS/$TAR ]; then - ( cd $DOWNLOADS && wget -q $FSF_MIRROR/gcc/gcc-${GCC_VERSION}/$TAR ) -fi - -if [ ! -e $SRC ]; then - ( cd $SRCDIR && tar -xjf $DOWNLOADS/$TAR ) -fi - -${SRC}/configure \ - --disable-linux-futex \ - --disable-mudflap \ - --disable-nls \ - --enable-languages=c,c++ \ - --enable-threads=posix \ - --enable-tls \ - --prefix=$PREFIX - -time { make -s && make -s install; } Copied: trunk/exp-drd/scripts/download-and-build-gcc (from rev 8244, trunk/exp-drd/scripts/compile-gcc) =================================================================== --- trunk/exp-drd/scripts/download-and-build-gcc (rev 0) +++ trunk/exp-drd/scripts/download-and-build-gcc 2008-06-18 08:26:45 UTC (rev 8248) @@ -0,0 +1,53 @@ +#!/bin/bash + +# Make sure that libgmp and libmpfr are installed before you run this script. +# On Debian systems, e.g. Ubuntu, you can install these libraries as follows: +# sudo apt-get install libgmp3-dev libmpfr-dev. In openSUSE these packages +# are called gmp-devel and mpfr-devel. + + +GCC_VERSION=4.3.1 +FSF_MIRROR=ftp://ftp.easynet.be/gnu +SRCDIR=$HOME/software +DOWNLOADS=$SRCDIR/downloads +SRC=$HOME/software/gcc-${GCC_VERSION} +BUILD=${SRC}-build +TAR=gcc-${GCC_VERSION}.tar.bz2 +PREFIX=$HOME/gcc-${GCC_VERSION} +export LC_ALL=C +export MAKEFLAGS="-j$(($(grep -c '^processor' /proc/cpuinfo) + 1))" + +if [ ! -e /usr/include/gmp.h ]; then + echo "Please install the gmp library development package first." + exit 1 +fi + +if [ ! -e /usr/include/mpfr.h ]; then + echo "Please install the mpfr library development package first." + exit 1 +fi + +rm -rf ${BUILD} || exit $? +rm -rf ${PREFIX} || exit $? +mkdir -p ${BUILD} || exit $? +mkdir -p ${DOWNLOADS} || exit $? +cd ${BUILD} || exit $? + +if [ ! -e $DOWNLOADS/$TAR ]; then + ( cd $DOWNLOADS && wget -q $FSF_MIRROR/gcc/gcc-${GCC_VERSION}/$TAR ) +fi + +if [ ! -e $SRC ]; then + ( cd $SRCDIR && tar -xjf $DOWNLOADS/$TAR ) +fi + +${SRC}/configure \ + --disable-linux-futex \ + --disable-mudflap \ + --disable-nls \ + --enable-languages=c,c++ \ + --enable-threads=posix \ + --enable-tls \ + --prefix=$PREFIX + +time { make -s && make -s install; } |
|
From: <sv...@va...> - 2008-06-18 08:09:40
|
Author: sewardj
Date: 2008-06-18 09:09:42 +0100 (Wed, 18 Jun 2008)
New Revision: 8247
Log:
Minor changes to make the output a little more readable (subjective!)
Modified:
branches/HGDEV/helgrind/hg_main.c
Modified: branches/HGDEV/helgrind/hg_main.c
===================================================================
--- branches/HGDEV/helgrind/hg_main.c 2008-06-17 19:19:16 UTC (rev 8246)
+++ branches/HGDEV/helgrind/hg_main.c 2008-06-18 08:09:42 UTC (rev 8247)
@@ -1555,7 +1555,9 @@
for (i = 0; i < nWords; i++) {
Lock* lk = (Lock*)word[i];
- VG_(message)(Vg_UserMsg, " L:%p/%p", lk, lk->guestaddr);
+ // VG_(message)(Vg_UserMsg, " L:%p/%p", lk, lk->guestaddr);
+ VG_(message)(Vg_UserMsg, " Lock located at %p and first observed",
+ lk->guestaddr);
if (lk->acquired_at) {
VG_(pp_ExeContext)(lk->acquired_at);
}
@@ -1579,8 +1581,14 @@
LockSet ls = get_SHVAL_LS(sv);
UWord n_segments = SS_get_size(ss);
Int n_locks = HG_(cardinalityWS)(univ_lsets, ls);
+#if 0
+ HChar* name = is_m ? (n_segments > 1 ? "ShM" : "ExM")
+ : (n_segments > 1 ? "ShR" : "ExR" );
+#else
+ HChar* name = is_m ? "Mod" : "RdO";
+#endif
VG_(sprintf)(buf, "%s; #LS=%d; #SS=%d; ",
- is_m ? "Modified" : "ReadOnly", n_locks, (Int)n_segments);
+ name, n_locks, (Int)n_segments);
for (i = 0; i < n_segments; i++) {
SegmentID S;
@@ -2300,13 +2308,13 @@
mem_trace_map = HG_(newFM)( hg_zalloc, hg_free, NULL);
}
HG_(addToFM)(mem_trace_map, mem, mem);
- VG_(message)(Vg_UserMsg, "ENABLED TRACE {{{: %p; S%d/T%d", mem,
+ VG_(message)(Vg_UserMsg, "ENABLED TRACE {{: %p; S%d/T%d", mem,
(Int)thr->csegid,
(Int)thr->errmsg_index);
if (clo_trace_level >= 2) {
VG_(get_and_pp_StackTrace)( tid, 15);
}
- VG_(message)(Vg_UserMsg, "}}}");
+ VG_(message)(Vg_UserMsg, "}}");
VG_(message)(Vg_UserMsg, "");
}
@@ -3793,10 +3801,11 @@
show_sval(buf, sizeof(buf), sv_new);
VG_(message)(Vg_UserMsg,
- "TRACE[%d] {{{: Access = {%p S%d/T%d %s} State = {%s}",
- info->n_accesses, a,
- (Int)thr->csegid, thr->errmsg_index,
- is_w ? "wr" : "rd", buf);
+ "TRACE[%d] {{: Access{T%d/S%d %s %p} -> new State{%s}",
+ info->n_accesses,
+ (Int)thr->errmsg_index,
+ (Int)thr->csegid,
+ is_w ? "wr" : "rd", a, buf);
if (trace_level >= 2) {
ThreadId tid = map_threads_maybe_reverse_lookup_SLOW(thr);
if (tid != VG_INVALID_THREADID) {
@@ -3811,7 +3820,7 @@
VG_(message)(Vg_UserMsg, " BHL is held\n");
}
- VG_(message)(Vg_UserMsg, "}}}");
+ VG_(message)(Vg_UserMsg, "}}");
VG_(message)(Vg_UserMsg, ""); // empty line
@@ -9407,9 +9416,10 @@
for (i = 0; i < (int)SS_get_size(SS); i++) {
SegmentID segid = SS_get_element(SS, i);
ExeContext *context = SEG_get_context(segid);
- if(context) {
- VG_(message)(Vg_UserMsg, " SS%d/T%d:", segid,
- SEG_get(segid)->thr->errmsg_index);
+ if (context) {
+ VG_(message)(Vg_UserMsg, " T%d/S%d starts",
+ (Int)SEG_get(segid)->thr->errmsg_index,
+ (Int)segid);
VG_(pp_ExeContext)(context);
}
}
|
|
From: Tom H. <th...@cy...> - 2008-06-18 02:57:14
|
Nightly build on aston ( x86_64, Fedora Core 5 ) started at 2008-06-18 03:20:04 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 437 tests, 7 stderr failures, 1 stdout failure, 0 post failures == memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/mremap2 (stdout) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) |
|
From: Tom H. <th...@cy...> - 2008-06-18 02:42:02
|
Nightly build on trojan ( x86_64, Fedora Core 6 ) started at 2008-06-18 03:25:04 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 435 tests, 6 stderr failures, 5 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/bug133694 (stdout) memcheck/tests/x86/bug133694 (stderr) memcheck/tests/x86/scalar (stderr) none/tests/cmdline1 (stdout) none/tests/cmdline2 (stdout) none/tests/mremap2 (stdout) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 435 tests, 7 stderr failures, 5 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/bug133694 (stdout) memcheck/tests/x86/bug133694 (stderr) memcheck/tests/x86/scalar (stderr) none/tests/cmdline1 (stdout) none/tests/cmdline2 (stdout) none/tests/mremap2 (stdout) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Wed Jun 18 03:33:36 2008 --- new.short Wed Jun 18 03:42:07 2008 *************** *** 8,10 **** ! == 435 tests, 7 stderr failures, 5 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) --- 8,10 ---- ! == 435 tests, 6 stderr failures, 5 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) *************** *** 17,19 **** none/tests/mremap2 (stdout) - helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc20_verifywrap (stderr) --- 17,18 ---- |
|
From: Tom H. <th...@cy...> - 2008-06-18 02:40:27
|
Nightly build on lloyd ( x86_64, Fedora 7 ) started at 2008-06-18 03:05:04 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 431 tests, 4 stderr failures, 2 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/scalar (stderr) none/tests/mremap2 (stdout) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) |
|
From: Tom H. <th...@cy...> - 2008-06-18 02:37:32
|
Nightly build on dellow ( x86_64, Fedora 8 ) started at 2008-06-18 03:10:08 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 431 tests, 7 stderr failures, 2 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/mremap2 (stdout) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) |
|
From: Tom H. <th...@cy...> - 2008-06-18 02:23:34
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2008-06-18 03:00:05 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 437 tests, 30 stderr failures, 3 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/amd64/insn_ssse3 (stdout) none/tests/amd64/insn_ssse3 (stderr) none/tests/amd64/ssse3_misaligned (stderr) none/tests/blockfault (stderr) none/tests/fdleak_fcntl (stderr) none/tests/mremap2 (stdout) none/tests/x86/insn_ssse3 (stdout) none/tests/x86/insn_ssse3 (stderr) none/tests/x86/ssse3_misaligned (stderr) helgrind/tests/hg01_all_ok (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc05_simple_race (stderr) helgrind/tests/tc06_two_races (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc16_byterace (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) |