model-checker-benchmarks.git
9 years agochanges
Peizhao Ou [Mon, 30 Mar 2015 18:35:00 +0000 (11:35 -0700)]
changes

9 years agochanges
Peizhao Ou [Wed, 25 Mar 2015 02:39:51 +0000 (19:39 -0700)]
changes

9 years agoMerge branch 'new-bench' of ssh://demsky.eecs.uci.edu/home/git/model-checker-benchmar...
Peizhao Ou [Wed, 25 Mar 2015 02:36:18 +0000 (19:36 -0700)]
Merge branch 'new-bench' of ssh://demsky.eecs.uci.edu/home/git/model-checker-benchmarks into new-bench

9 years agotestcase for ms-queue to expose SC violation
Peizhao Ou [Wed, 25 Mar 2015 02:36:00 +0000 (19:36 -0700)]
testcase for ms-queue to expose SC violation

9 years agochanges to spsc example
Peizhao Ou [Sun, 22 Mar 2015 23:29:54 +0000 (16:29 -0700)]
changes to spsc example

9 years agoresults for mpmc
Peizhao Ou [Sun, 22 Mar 2015 18:31:25 +0000 (11:31 -0700)]
results for mpmc

9 years agoms-queue result
Peizhao Ou [Sun, 22 Mar 2015 07:55:17 +0000 (00:55 -0700)]
ms-queue result

9 years agoresults for mcs-lock
Peizhao Ou [Sun, 22 Mar 2015 07:28:37 +0000 (00:28 -0700)]
results for mcs-lock

9 years agoresult for spsc-queue
Peizhao Ou [Sun, 22 Mar 2015 04:38:58 +0000 (21:38 -0700)]
result for spsc-queue

9 years agoresult for hashmap
Peizhao Ou [Sun, 22 Mar 2015 04:36:57 +0000 (21:36 -0700)]
result for hashmap

9 years agoresults for dekker-fences
Peizhao Ou [Sun, 22 Mar 2015 03:28:28 +0000 (20:28 -0700)]
results for dekker-fences

9 years agodeque results
Peizhao Ou [Sat, 21 Mar 2015 22:03:29 +0000 (15:03 -0700)]
deque results

9 years agochanges
Peizhao Ou [Fri, 20 Mar 2015 23:12:54 +0000 (16:12 -0700)]
changes

9 years agochanges
Peizhao Ou [Fri, 20 Mar 2015 21:53:50 +0000 (14:53 -0700)]
changes

9 years agoadd spsc for inference
Peizhao Ou [Fri, 20 Mar 2015 21:52:48 +0000 (14:52 -0700)]
add spsc for inference

9 years agochanges
Peizhao Ou [Fri, 20 Mar 2015 19:42:36 +0000 (12:42 -0700)]
changes

9 years agochanges
Peizhao Ou [Fri, 20 Mar 2015 02:17:26 +0000 (19:17 -0700)]
changes

9 years agochanges
Peizhao Ou [Wed, 18 Mar 2015 11:12:57 +0000 (04:12 -0700)]
changes

9 years agoedits
Peizhao Ou [Wed, 18 Mar 2015 04:32:46 +0000 (21:32 -0700)]
edits

9 years agoadd testcases
Peizhao Ou [Wed, 18 Mar 2015 04:20:18 +0000 (21:20 -0700)]
add testcases

9 years agochanges
Peizhao Ou [Wed, 18 Mar 2015 04:20:00 +0000 (21:20 -0700)]
changes

9 years agochanges
Peizhao Ou [Tue, 17 Mar 2015 22:28:10 +0000 (15:28 -0700)]
changes

9 years agochanges
Peizhao Ou [Tue, 17 Mar 2015 19:59:17 +0000 (12:59 -0700)]
changes

9 years agochanges
Peizhao Ou [Tue, 17 Mar 2015 01:35:44 +0000 (18:35 -0700)]
changes

9 years agochanges
Peizhao Ou [Tue, 17 Mar 2015 01:34:41 +0000 (18:34 -0700)]
changes

9 years agochanges to the example
Peizhao Ou [Wed, 4 Mar 2015 20:23:57 +0000 (12:23 -0800)]
changes to the example

9 years agospsc example
Peizhao Ou [Wed, 4 Mar 2015 01:31:58 +0000 (17:31 -0800)]
spsc example

9 years agochanges
Peizhao Ou [Sat, 28 Feb 2015 01:25:05 +0000 (17:25 -0800)]
changes

9 years agoadd notes
Peizhao Ou [Fri, 27 Feb 2015 02:22:30 +0000 (18:22 -0800)]
add notes

9 years agoadd another testcase for dekker-fences
Peizhao Ou [Fri, 27 Feb 2015 02:02:15 +0000 (18:02 -0800)]
add another testcase for dekker-fences

9 years agochanges to hashmap
Peizhao Ou [Tue, 17 Feb 2015 20:12:57 +0000 (12:12 -0800)]
changes to hashmap

9 years agochanges
Peizhao Ou [Sat, 14 Feb 2015 02:48:45 +0000 (18:48 -0800)]
changes

9 years agoms-queue note
Peizhao Ou [Fri, 13 Feb 2015 22:51:29 +0000 (14:51 -0800)]
ms-queue note

9 years agochanges to mcs-lock note
Peizhao Ou [Fri, 13 Feb 2015 21:48:51 +0000 (13:48 -0800)]
changes to mcs-lock note

9 years agoadd notes to mcs-lock
Peizhao Ou [Fri, 13 Feb 2015 21:45:07 +0000 (13:45 -0800)]
add notes to mcs-lock

9 years agochanges to linuxrwlock;
Peizhao Ou [Fri, 13 Feb 2015 20:45:28 +0000 (12:45 -0800)]
changes to linuxrwlock;

9 years agochanges
Peizhao Ou [Fri, 13 Feb 2015 18:49:04 +0000 (10:49 -0800)]
changes

9 years agochanges to treiber
Peizhao Ou [Fri, 13 Feb 2015 08:52:46 +0000 (00:52 -0800)]
changes to treiber

9 years agoadd seqlock
Peizhao Ou [Fri, 13 Feb 2015 08:03:10 +0000 (00:03 -0800)]
add seqlock

9 years agochanges to seqlock
Peizhao Ou [Fri, 13 Feb 2015 02:26:01 +0000 (18:26 -0800)]
changes to seqlock

9 years agobarrier with weaker inferences & notes in comment
Peizhao Ou [Fri, 13 Feb 2015 01:02:50 +0000 (17:02 -0800)]
barrier with weaker inferences & notes in comment

9 years agochanges
Peizhao Ou [Thu, 12 Feb 2015 06:59:43 +0000 (22:59 -0800)]
changes

9 years agochanges
Peizhao Ou [Thu, 12 Feb 2015 06:54:45 +0000 (22:54 -0800)]
changes

9 years agochanges
Peizhao Ou [Thu, 12 Feb 2015 06:34:47 +0000 (22:34 -0800)]
changes

9 years agochanges to mpmp
Peizhao Ou [Thu, 12 Feb 2015 06:27:44 +0000 (22:27 -0800)]
changes to mpmp

9 years agochanges
Peizhao Ou [Thu, 12 Feb 2015 05:23:08 +0000 (21:23 -0800)]
changes

9 years agochanges
Peizhao Ou [Thu, 12 Feb 2015 02:14:47 +0000 (18:14 -0800)]
changes

9 years agochanges to treiber-stack makefile
Peizhao Ou [Thu, 12 Feb 2015 01:53:57 +0000 (17:53 -0800)]
changes to treiber-stack makefile

9 years agofixed hashmap, add better makefile
Peizhao Ou [Thu, 12 Feb 2015 00:40:36 +0000 (16:40 -0800)]
fixed hashmap, add better makefile

9 years agoedits
Peizhao Ou [Wed, 11 Feb 2015 02:11:00 +0000 (18:11 -0800)]
edits

9 years agochanges
Peizhao Ou [Mon, 9 Feb 2015 06:21:10 +0000 (22:21 -0800)]
changes

9 years agochanged
Peizhao Ou [Sat, 7 Feb 2015 20:21:59 +0000 (12:21 -0800)]
changed

9 years agofixed hashmap
Peizhao Ou [Fri, 6 Feb 2015 20:17:07 +0000 (12:17 -0800)]
fixed hashmap

9 years agoadd notes
Peizhao Ou [Fri, 6 Feb 2015 08:27:36 +0000 (00:27 -0800)]
add notes

9 years agofixed wrong pointer usage
Peizhao Ou [Fri, 6 Feb 2015 08:10:33 +0000 (00:10 -0800)]
fixed wrong pointer usage

9 years agoadd hashmap
Peizhao Ou [Fri, 6 Feb 2015 04:08:50 +0000 (20:08 -0800)]
add hashmap

9 years agoadd the java ConcurrentHashMap
Peizhao Ou [Wed, 4 Feb 2015 22:11:30 +0000 (14:11 -0800)]
add the java ConcurrentHashMap

9 years agoDescription of benchmarks
Patrick Lam [Fri, 31 Oct 2014 04:50:33 +0000 (00:50 -0400)]
Description of benchmarks

9 years agomake warnings go away
bdemsky [Wed, 10 Sep 2014 21:32:11 +0000 (14:32 -0700)]
make warnings go away

9 years agoclean up
Peizhao Ou [Wed, 10 Sep 2014 16:00:33 +0000 (09:00 -0700)]
clean up

9 years agoadd treiber stack
Peizhao Ou [Wed, 3 Sep 2014 22:17:59 +0000 (15:17 -0700)]
add treiber stack

9 years agosave fixed ms-queue
Peizhao Ou [Wed, 3 Sep 2014 21:09:29 +0000 (14:09 -0700)]
save fixed ms-queue

9 years agoadd cliff click hashtable
Peizhao Ou [Fri, 8 Aug 2014 01:18:20 +0000 (18:18 -0700)]
add cliff click hashtable

9 years agoadd result file
Peizhao Ou [Thu, 7 Aug 2014 18:42:33 +0000 (11:42 -0700)]
add result file

9 years agoadd seqlock
Peizhao Ou [Thu, 7 Aug 2014 01:39:41 +0000 (18:39 -0700)]
add seqlock

10 years agorun.sh: sync up with model-checker improvements
Brian Norris [Wed, 4 Sep 2013 02:23:45 +0000 (19:23 -0700)]
run.sh: sync up with model-checker improvements

10 years agoremove unused benchmarks
Brian Norris [Wed, 14 Aug 2013 01:23:29 +0000 (18:23 -0700)]
remove unused benchmarks

These benchmakrs are hard to support, and at least one of them isn't
even supported by my g++ draft C++0x compiler (it tries to use structs
with bitfields in an atomic<> template).

10 years agorun.sh: set Mac OSX DYLD_LIBRARY_PATH
Brian Norris [Tue, 13 Aug 2013 22:33:36 +0000 (15:33 -0700)]
run.sh: set Mac OSX DYLD_LIBRARY_PATH

DYLD_LIBRARY_PATH is the Mac OSX equivalent of Unix LD_LIBRARY_PATH.

11 years agobench.sh: only print git information when we're in git oopsla2013 oopsla2013-final
Brian Norris [Sat, 1 Jun 2013 01:14:31 +0000 (18:14 -0700)]
bench.sh: only print git information when we're in git

11 years agoMakefiles: use appropriate preprocessor vs. compiler flags
Brian Norris [Tue, 28 May 2013 22:09:44 +0000 (15:09 -0700)]
Makefiles: use appropriate preprocessor vs. compiler flags

We should differentiate preprocessor vs. C++ compiler vs. C compiler
flags, according to the CPPFLAGS, CXXFLAGS, and CFLAGS conventions. That
way we can, for instance, easily add the appropriate --std=XXX flags
necessary for compiling with a C++11 (or C++0x) or C11 (or C1x)
compliant compiler.

11 years agoMerge branch 'master' of ssh://demsky.eecs.uci.edu/home/git/model-checker-benchmarks
Brian Norris [Tue, 28 May 2013 17:57:39 +0000 (10:57 -0700)]
Merge branch 'master' of ssh://demsky.eecs.uci.edu/home/git/model-checker-benchmarks

11 years agochase-lev-dequeue: fix compiler warning
Brian Norris [Tue, 28 May 2013 17:47:32 +0000 (10:47 -0700)]
chase-lev-dequeue: fix compiler warning

Fix this warning, found when compiling with GCC's C1x support:

  main.c: In function ‘task’:
  main.c:17:2: warning: implicit declaration of function ‘steal’ [-Wimplicit-function-declaration]

11 years agoMakefile: compile the chase-leve deque bugfix
Brian Norris [Wed, 8 May 2013 07:06:21 +0000 (00:06 -0700)]
Makefile: compile the chase-leve deque bugfix

11 years agobugfix for chase lev
Brian Demsky [Wed, 8 May 2013 01:28:31 +0000 (18:28 -0700)]
bugfix for chase lev

11 years agobench.sh: don't automatically log to file
Brian Norris [Wed, 20 Mar 2013 22:57:18 +0000 (15:57 -0700)]
bench.sh: don't automatically log to file

Just print to STDOUT, and the user can manually pipe to a file if they
want.

11 years agobench.sh: rearrange order again
Brian Norris [Mon, 18 Mar 2013 19:08:31 +0000 (12:08 -0700)]
bench.sh: rearrange order again

11 years agobench.sh: run dekker-fences
Brian Norris [Mon, 18 Mar 2013 18:09:22 +0000 (11:09 -0700)]
bench.sh: run dekker-fences

11 years agobench.sh: fixup Brian D.'s script change
Brian Norris [Fri, 15 Mar 2013 23:39:34 +0000 (16:39 -0700)]
bench.sh: fixup Brian D.'s script change

Remove some duplicates; probably just a bad merge.

11 years agoMerge branch 'master' of ssh://demsky.eecs.uci.edu/home/git/model-checker-benchmarks
Brian Demsky [Fri, 15 Mar 2013 23:35:51 +0000 (16:35 -0700)]
Merge branch 'master' of ssh://demsky.eecs.uci.edu/home/git/model-checker-benchmarks

Conflicts:
bench.sh

11 years agomy changes to benchmark shell
Brian Demsky [Fri, 15 Mar 2013 23:34:35 +0000 (16:34 -0700)]
my changes to benchmark shell

11 years agobench.sh: rewrite benchmark list to match paper
Brian Norris [Fri, 15 Mar 2013 18:29:53 +0000 (11:29 -0700)]
bench.sh: rewrite benchmark list to match paper

Brian D. changed the benchmarks we run as well as the order. Let's
encode that in this script, so we can repeat the benchmarks
consistently.

11 years agompmc-queue: add to .gitignore
Brian Norris [Fri, 15 Mar 2013 18:25:49 +0000 (11:25 -0700)]
mpmc-queue: add to .gitignore

11 years agooptimizations to mpmc-queue yield placement
Brian Demsky [Thu, 14 Mar 2013 07:24:25 +0000 (00:24 -0700)]
optimizations to mpmc-queue yield placement
simpler test case for concurrent readers/writers of mpmc-queue

11 years agoFix all benchmarks to use yield
Brian Demsky [Thu, 14 Mar 2013 07:10:19 +0000 (00:10 -0700)]
Fix all benchmarks to use yield

All benchmarks now call thrd_yield when appropriate so that they terminate with the -y option.

11 years agodeque: add .gitignore
Brian Norris [Sat, 9 Mar 2013 00:18:19 +0000 (16:18 -0800)]
deque: add .gitignore

11 years agoms-queue: add extra POISON_IDX assertion
Brian Norris [Sat, 9 Mar 2013 00:01:02 +0000 (16:01 -0800)]
ms-queue: add extra POISON_IDX assertion

11 years agoms-queue: finally, the correct (?) memory orderings
Brian Norris [Fri, 8 Mar 2013 23:52:26 +0000 (15:52 -0800)]
ms-queue: finally, the correct (?) memory orderings

With much discussion over the intent of the algorithm and the accuracy
of these orderings, we have an accurate representation of the M&S Queue.

11 years agoms-queue: fixup initialization and free lists
Brian Norris [Fri, 8 Mar 2013 23:36:20 +0000 (15:36 -0800)]
ms-queue: fixup initialization and free lists

There are a few things we fix:

1) We shouldn't initialize node[0].next, since node[0] is the 'NULL'
pointer and should never be accessed.

2) The per-thread free list is too restrictive. Now, we generate a list
of free nodes for each thread that can contain up to 4 node indexes.
We only initialize this list with 2 nodes each (so each thread can
expand its free list, if needed). There is some minimal assertion
framework and race detection performed on these lists, just in case.

3) We only initialize those nodes that are placed in the free list.
Accesses to other nodes' 'next' pointer should trigger an uninitialized
loads assertion.

11 years agoms-queue: don't initialize node 0
Brian Norris [Fri, 8 Mar 2013 23:07:50 +0000 (15:07 -0800)]
ms-queue: don't initialize node 0

Node zero *should* be unused, since "0" is the NULL pointer index.
Removing this init will help catch bugs.

11 years agoms-queue: we should never dequeue 0
Brian Norris [Fri, 8 Mar 2013 23:06:06 +0000 (15:06 -0800)]
ms-queue: we should never dequeue 0

The test driver is written so that we should never dequeue 0.

11 years agoms-queue: revert Brian D. changes
Brian Norris [Fri, 8 Mar 2013 22:47:27 +0000 (14:47 -0800)]
ms-queue: revert Brian D. changes

On second (or third or fourth) thought, these changes were ill-advised.
We will make a different set of tweaks shortly.

This reverts commits 647601d3f341bb2a2a79534b3d044c039695839d and
fad3891f3158a4285984bb60415c1e4ebc2b767b.

11 years agowow... i think this version is correct...
Brian Demsky [Fri, 8 Mar 2013 08:38:47 +0000 (00:38 -0800)]
wow...  i think this version is correct...

11 years agomy changes
Brian Demsky [Fri, 8 Mar 2013 07:54:06 +0000 (23:54 -0800)]
my changes

11 years agoms-queue: relax the second load of head/tail
Brian Norris [Fri, 8 Mar 2013 02:09:18 +0000 (18:09 -0800)]
ms-queue: relax the second load of head/tail

11 years agoms-queue: strip down test driver
Brian Norris [Fri, 8 Mar 2013 01:56:23 +0000 (17:56 -0800)]
ms-queue: strip down test driver

+ a few assertions

11 years agoms-queue: relax the queue loads/stores/CAS
Brian Norris [Fri, 8 Mar 2013 01:55:59 +0000 (17:55 -0800)]
ms-queue: relax the queue loads/stores/CAS

11 years agoMakefile: build ms-queue
Brian Norris [Fri, 8 Mar 2013 00:42:10 +0000 (16:42 -0800)]
Makefile: build ms-queue

11 years agodeque: re-insert deleted MODEL_ASSERT()
Brian Norris [Thu, 7 Mar 2013 03:44:09 +0000 (19:44 -0800)]
deque: re-insert deleted MODEL_ASSERT()

11 years agodeque: #include's
Brian Norris [Thu, 7 Mar 2013 03:43:08 +0000 (19:43 -0800)]
deque: #include's

11 years agoMerge branch 'master' of ssh://demsky.eecs.uci.edu/home/git/model-checker-benchmarks
Brian Norris [Thu, 7 Mar 2013 03:35:26 +0000 (19:35 -0800)]
Merge branch 'master' of ssh://demsky.eecs.uci.edu/home/git/model-checker-benchmarks