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
(16) |
2
(23) |
3
(15) |
|
4
(19) |
5
(21) |
6
(27) |
7
(18) |
8
(17) |
9
(15) |
10
(11) |
|
11
(9) |
12
(18) |
13
(26) |
14
(28) |
15
(26) |
16
(20) |
17
(27) |
|
18
(16) |
19
(40) |
20
(2) |
21
(11) |
22
(27) |
23
(24) |
24
(16) |
|
25
(10) |
26
(12) |
27
(16) |
28
(7) |
29
(6) |
30
(15) |
31
(5) |
|
From: <sv...@va...> - 2005-12-17 00:29:52
|
Author: njn
Date: 2005-12-17 00:29:49 +0000 (Sat, 17 Dec 2005)
New Revision: 5363
Log:
tweak some comments
Modified:
branches/COMPVBITS/memcheck/mc_main.c
Modified: branches/COMPVBITS/memcheck/mc_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/COMPVBITS/memcheck/mc_main.c 2005-12-17 00:22:39 UTC (rev 53=
62)
+++ branches/COMPVBITS/memcheck/mc_main.c 2005-12-17 00:29:49 UTC (rev 53=
63)
@@ -2660,14 +2660,14 @@
sm_off64 =3D SM_OFF_64(a);
vabits64 =3D ((UShort*)(sm->vabits32))[sm_off64];
=20
- // Convert V bits from compact memory form to expanded register form
+ // Convert V bits from compact memory form to expanded register form.
if (EXPECTED_TAKEN(vabits64 =3D=3D VA_BITS64_READABLE)) {
return V_BITS64_VALID;
} else if (EXPECTED_TAKEN(vabits64 =3D=3D VA_BITS64_WRITABLE)) {
return V_BITS64_INVALID;
} else {
- /* Slow but general case. */
- PROF_EVENT(202, "mc_STOREV-slow2");
+ /* Slow case: the 8 bytes are not all-readable or all-writable. */
+ PROF_EVENT(202, "mc_LOADV8-slow2");
return mc_LOADVn_slow( a, 8, isBigEndian );
}
}
@@ -2778,7 +2778,7 @@
} else if (EXPECTED_TAKEN(vabits32 =3D=3D VA_BITS32_WRITABLE)) {
return ((UWord)0xFFFFFFFF00000000ULL | (UWord)V_BITS32_INVALID);
} else {
- /* Slow but general case. */
+ /* Slow case: the 4 bytes are not all-readable or all-writable. */
PROF_EVENT(222, "mc_LOADV4-slow2");
return (UWord)mc_LOADVn_slow( a, 4, isBigEndian );
}
@@ -2918,8 +2918,7 @@
} else if (EXPECTED_TAKEN(vabits32 =3D=3D VA_BITS32_WRITABLE)) {
return V_BITS16_INVALID;
} else {
- // XXX: could extract the vabits16 and check it first... (see
- // LOADV1)... depends how common this case is.
+ /* Slow case: the 4 (yes, 4) bytes are not all-readable or all-wri=
table. */
PROF_EVENT(242, "mc_LOADV2-slow2");
return (UWord)mc_LOADVn_slow( a, 2, isBigEndian );
}
@@ -3024,16 +3023,18 @@
/* Handle common case quickly: a is mapped, and the entire
word32 it lives in is addressible. */
// XXX: set the high 24/56 bits of retval to 1?
- // XXX: check if this sequence is reasonable
if (vabits32 =3D=3D VA_BITS32_READABLE) { return V_BITS8_VALID; =
}
else if (vabits32 =3D=3D VA_BITS32_WRITABLE) { return V_BITS8_INVALID=
; }
else {
- // XXX: Could just do the slow but general case if this is uncommo=
n...
+ // XXX: Could just do the slow but general case if this is uncommo=
n,
+ // but removing it slowed perf/bz2 down some...
+ // The 4 (yes, 4) bytes are not all-readable or all-writable, chec=
k
+ // the single byte.
UChar vabits8 =3D extract_vabits8_from_vabits32(a, vabits32);
if (vabits8 =3D=3D VA_BITS8_READABLE) { return V_BITS8_VALID;=
}
else if (vabits8 =3D=3D VA_BITS8_WRITABLE) { return V_BITS8_INVALI=
D; }
else {
- /* Slow but general case. */
+ /* Slow case: the byte is not all-readable or all-writable. */
PROF_EVENT(262, "helperc_LOADV1-slow2");
return (UWord)mc_LOADVn_slow( a, 1, False/*irrelevant*/ );
}
|
|
From: <sv...@va...> - 2005-12-17 00:22:43
|
Author: njn
Date: 2005-12-17 00:22:39 +0000 (Sat, 17 Dec 2005)
New Revision: 5362
Log:
Add a malloc/free stress test.
Added:
trunk/perf/heap.c
trunk/perf/heap.vgperf
Modified:
trunk/perf/Makefile.am
trunk/perf/README
trunk/perf/vg_perf.in
Modified: trunk/perf/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/perf/Makefile.am 2005-12-16 17:06:37 UTC (rev 5361)
+++ trunk/perf/Makefile.am 2005-12-17 00:22:39 UTC (rev 5362)
@@ -6,10 +6,11 @@
bz2.vgperf \
fbench.vgperf \
ffbench.vgperf \
+ heap.vgperf \
sarp.vgperf
=20
check_PROGRAMS =3D \
- bigcode bz2 fbench ffbench sarp
+ bigcode bz2 fbench ffbench heap sarp
=20
AM_CFLAGS =3D $(WERROR) -Winline -Wall -Wshadow -g -O
AM_CPPFLAGS =3D -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_builddir=
)/include
Modified: trunk/perf/README
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/perf/README 2005-12-16 17:06:37 UTC (rev 5361)
+++ trunk/perf/README 2005-12-17 00:22:39 UTC (rev 5362)
@@ -13,6 +13,15 @@
of runtime, particularly on larger programs.
- Weaknesses: Highly artificial.
=20
+heap:
+- Description: Does a lot of heap allocation and deallocation, and has a=
lot
+ of heap blocks live while doing so.
+- Strengths: Stress test for an important sub-system; bug #105039 show=
ed
+ that inefficiencies in heap allocation can make a big
+ difference to programs that allocate a lot.
+- Weaknesses: Highly artificial -- allocation pattern is not real, and =
only
+ a few different size allocations are used.
+
sarp:
- Description: Does a lot of stack allocation and deallocation.
- Strengths: Tests for a specific performance bug that existed in 3.1.=
0 and
Added: trunk/perf/heap.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/perf/heap.c (rev 0)
+++ trunk/perf/heap.c 2005-12-17 00:22:39 UTC (rev 5362)
@@ -0,0 +1,39 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+#define NLIVE 1000000
+
+#define NITERS (3*1000*1000)
+
+char* arr[NLIVE];
+
+int main ( void )
+{
+ int i, j, nbytes =3D 0;
+ printf("initialising\n");
+ for (i =3D 0; i < NLIVE; i++)
+ arr[i] =3D NULL;
+
+ printf("running\n");
+ j =3D -1;
+ for (i =3D 0; i < NITERS; i++) {
+ j++;
+ if (j =3D=3D NLIVE) j =3D 0;
+ if (arr[j])=20
+ free(arr[j]);
+ arr[j] =3D malloc(nbytes);
+
+ // Cycle through the sizes 0,8,16,24,32. Zero will get rounded up=
to
+ // 8, so the 8B bucket will get twice as much traffic.
+ nbytes +=3D 8;
+ if (nbytes > 32)
+ nbytes =3D 0;
+ }
+
+ for (i =3D 0; i < NLIVE; i++)
+ if (arr[i])
+ free(arr[i]);
+
+ printf("done\n");
+ return 0;
+}
Added: trunk/perf/heap.vgperf
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/perf/heap.vgperf (rev 0)
+++ trunk/perf/heap.vgperf 2005-12-17 00:22:39 UTC (rev 5362)
@@ -0,0 +1,2 @@
+prog: heap
+tools: none memcheck
Modified: trunk/perf/vg_perf.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/perf/vg_perf.in 2005-12-16 17:06:37 UTC (rev 5361)
+++ trunk/perf/vg_perf.in 2005-12-17 00:22:39 UTC (rev 5362)
@@ -319,10 +319,10 @@
# the speedup.
if (not defined $first_tTool{$tool}) {
$first_tTool{$tool} =3D $tTool;
- print(" -----) ");
+ print(" -----) ");
} else {
my $speedup =3D 100 - (100 * $tTool / $first_tTool{$tool=
});
- printf("%5.1f%%) ", $speedup);
+ printf("%5.1f%%) ", $speedup);
}
=20
$num_timings_done++;
|