Commit Graph

420 Commits (85709d0bc2986296cd34650de85694d23e9d3bde)

Author SHA1 Message Date
Samy Al Bahra 077ca3ab00 regressions: Increase coverage of ck_hs_move.
12 years ago
Samy Al Bahra 120a262f18 ck_hs: Test coverage for ck_hs_move.
12 years ago
Samy Al Bahra 721cc0605c regressions: Remove -g from ck_rwcohort build flags.
12 years ago
Samy Al Bahra 895ff34aab regressions: Add ck_rwcohort to top-level Makefile.
12 years ago
Samy Al Bahra b36e35ec76 Merge branch 'master' of https://github.com/bscheinman/ck
12 years ago
Samy Al Bahra 768b5b3597 ck_rwlock: Add adaptive elision and unit tests.
12 years ago
Samy Al Bahra ac4a703525 regressions: Get rid of debug flags in ck_rwlock benchmark.
12 years ago
Samy Al Bahra 671f82d7a8 ck_rwlock: Migrate to ck_elide.h.
12 years ago
Samy Al Bahra 143bc4b336 regressions: Add ck_spinlock locked coverage.
12 years ago
Samy Al Bahra 4d2ccfe497 ck_rwlock: Add basic RTM interface to rwlock.
12 years ago
Samy Al Bahra 7f5216c4c6 regressions/ck_sequence: Add fast-path latency measurement.
12 years ago
Brendon Scheinman cb0a7c8ce6 Merge branch 'master' of https://github.com/sbahra/ck
12 years ago
Samy Al Bahra d0745f51ee regressions: Lower wait factor for ck_ticket_pb.
12 years ago
Samy Al Bahra b63fe45460 regressions: Fix uninitialized usage in ck_hs parallel_bytestring.
12 years ago
Samy Al Bahra 03efd38742 regressions: Testing of ck_hs_fas functionality.
12 years ago
Brendon Scheinman cbfa095108 Merge branch 'master' of https://github.com/sbahra/ck
12 years ago
Samy Al Bahra 137fb49951 regressions: Fix link order.
12 years ago
Brendon Scheinman eacaacdb6e ck_rwcohort: Fixed Makefile for automated regression testing
12 years ago
Brendon Scheinman 444df7dfe5 Merge branch 'master' of https://github.com/sbahra/ck
12 years ago
Samy Al Bahra ca35d3bb75 regressions/ck_hs: Fix typo in Copyright statement.
12 years ago
Samy Al Bahra 4132ec4998 ck_epoch: Add ck_epoch_reclaim function.
12 years ago
Samy Al Bahra 281b5ad045 Merge branch 'master' of https://github.com/davidjoseph/ck
12 years ago
Brendon Scheinman cc4b248bcb ck_rwcohort: Renamed ck_rwcohort namespace
12 years ago
Brendon Scheinman e0f46e6045 merged from upstream repo
12 years ago
Brendon Scheinman 0d20391563 ck_rw_cohort: Added benchmark tests for reader-writer cohort locks
12 years ago
Brendon Scheinman f693a16253 ck_rw_cohort: Added neutral reader-writer lock
12 years ago
Brendon Scheinman 21750b9321 ck_rw_cohort: Added read-preference logic and updated validation test to use it
12 years ago
Samy Al Bahra 16e8b1c672 regressions/ck_ring: Allow for buffers of size 4 or more.
12 years ago
David Joseph adc1e28856 regressions: Windows header and define fixes.
12 years ago
David Joseph d17d8e87bb regressions: Remove void * casting.
12 years ago
David Joseph ce3426ffaf Merge branch 'master' of git://git.concurrencykit.org/ck
12 years ago
David Joseph 7b94d7c13d regressions: Make clean and gettimeofday fixes.
12 years ago
David Joseph a4cd7f2ef2 Revert "regressions: Remove exes with make clean."
12 years ago
Samy Al Bahra 099ec934b2 regressions/ck_queue: Remove stale include file.
12 years ago
David Joseph 9d37e38580 regressions: Remove exes with make clean.
12 years ago
Samy Al Bahra d05fb25cfd regressions: Remove ITERATION specialization silliness.
12 years ago
Samy Al Bahra 7de2d45d1a Merge branch 'master' of https://github.com/davidjoseph/ck
12 years ago
Brendon Scheinman a352b46d0b ck_rw_cohort: renamed ck_rw_cohort namespace
12 years ago
Samy Al Bahra 011a9751a6 ck_queue: Add traversal-safe SPMC STAILQ.
12 years ago
Samy Al Bahra 9cf089b157 regressions/ck_list: Coverage for INSERT_AFTER/INSERT_BELOW.
12 years ago
David Joseph ebc58ede20 regressions: fix common_gettimeofday.
12 years ago
David Joseph 8c88190557 regressions: fix printing timevalues in MinGW.
12 years ago
David Joseph ef2ad6b998 regressions: Implement common_gettimeofday.
12 years ago
David Joseph 36a2ba143a Merge branch 'master' of https://github.com/sbahra/ck
12 years ago
Samy Al Bahra 34a5bf4266 regressions/ck_cohort: Whitespace cleanup.
12 years ago
Samy Al Bahra 676f8fed88 Merge branch 'cohort_trylock' of git://github.com/bscheinman/ck
12 years ago
Samy Al Bahra 5c90d917f7 regressions/ck_ring: More improvements and _size coverage.
12 years ago
Brendon Scheinman 3fefa3b5a3 ck_cohort: Fixed regression tests based on ck_cohort_rw changes
12 years ago
Brendon Scheinman 77ff96b15a ck_cohort_rw: Added latency and throughput benchmark regression tests
12 years ago
Brendon Scheinman 114c916fea ck_cohort_rw: Cleaned up regression files from last commit
12 years ago
Brendon Scheinman 5e1b614108 ck_cohort_rw: Initial implementation with validation test.
12 years ago
Brendon Scheinman 3c8728b214 ck_cohort: Added trylock support to cohort framework
12 years ago
Brendon Scheinman 78fbe93caa ck_cohort: fixed regression tests to match new CK_COHORT_PROTOTYPE signature
12 years ago
Brendon Scheinman ed5292546f merged changes from main ck repo
12 years ago
David Joseph 60873b9af5 Merge branch 'master' of https://github.com/sbahra/ck
12 years ago
David Joseph 9640eabba8 regressions: Fix for common alarm init.
12 years ago
David Joseph aaebc6b31b regressions: Fix for common alarm prefixes.
12 years ago
David Joseph da23134615 regressions: Fix for alarm interface.
12 years ago
David Joseph 0784be7ff0 regressions: Fix tests that use common alarm.
12 years ago
David Joseph 339a1bd639 regressions: Add prefix to common alarm interface.
12 years ago
Samy Al Bahra 7e9a020abd regressions: Add ck_pflock clean target.
12 years ago
Samy Al Bahra f6a53fd9de ck_cohort: First-cut implementation of generalized cohort interface.
12 years ago
Brendon Scheinman 5914bbe2c2 ck_cohort: Moved locks to separate cachelines in throughput test
12 years ago
Brendon Scheinman c4e3edfeac Merge branch 'master' of https://github.com/sbahra/ck into cohort
12 years ago
Brendon Scheinman 81a90e41a2 review: A couple more changes based on ck_cohort review
12 years ago
Brendon Scheinman 803073b024 interface: Made ck_cohort interface more flexible for custom types
12 years ago
Brendon Scheinman 44ea3a4688 review: First round of review changes
12 years ago
Samy Al Bahra 7ce276f5eb regressions: Add ck_pflock to make check target.
12 years ago
Samy Al Bahra 54845bb8e7 ck_pflock: Phase-fair read-write lock implementation.
12 years ago
Brendon Scheinman e06b4a26ff cleanup: Removed unnecessary code copied from ck_spinlock's throughput test
12 years ago
Brendon Scheinman 2492f16ec9 whitespace: Added missing space to usage message
12 years ago
Brendon Scheinman c6cd9e5be8 testing: Added throughput test for ck_cohort
12 years ago
Brendon Scheinman 2cb79b0658 testing: Added latency test for ck_cohort
12 years ago
Samy Al Bahra 27d454248d ck_spinlock: Add ticket lock with trylock operation.
12 years ago
Brendon Scheinman 59cc30b671 testing: ck_cohort validation
12 years ago
Brendon Scheinman d5c05309b4 cleanup: ck_cohort validation test
12 years ago
Brendon Scheinman 0a826ca93b gitignore: Removed ck_cohort validation binary from git
12 years ago
Brendon Scheinman dbe49215ac testing: Added validation test for cohorts.
12 years ago
David Joseph 10c3b22e48 Merge remote-tracking branch 'upstream/master'
12 years ago
Samy Al Bahra aef827b5a3 regressions: Remove unnecessary include.
12 years ago
Samy Al Bahra 81b9313e10 build: Fix regression introduced by MingW32 port.
12 years ago
David Joseph 8f1c31aa2c Style changes to common.h's alarm macros.
12 years ago
David Joseph 3e469d7fb5 Namespace changes to regressions/common.h (alarm).
12 years ago
Samy Al Bahra 9c298fc78b whitespace: Remove unnecessary newline.
12 years ago
David Joseph 1298a6c335 Add support for MinGW32.
12 years ago
Samy Al Bahra 9152cc7cea regressions/ck_hp_fifo_donner: This was submitted from a Windows editor.
12 years ago
Samy Al Bahra f9a484a10d build: Disclaimer that regressions are unsupported for out-of-source builds.
12 years ago
Samy Al Bahra cff7b1b21f regressions/ck_queue: Add coverage for previous regression.
12 years ago
Samy Al Bahra e517126247 regressions: Enable rdtsc for x86-32 targets.
12 years ago
Samy Al Bahra 72855320c4 regressions/ck_hs: Do not rely on ck_pr_add_64 for benchmarks.
12 years ago
Samy Al Bahra 5d1fff2e06 regressions/ck_pr: Place double tests under feature flag.
12 years ago
Samy Al Bahra 33a9222923 legal: Update Copyright statements.
12 years ago
Samy Al Bahra ca6637a57c regressions/ck_pr: Utilize _GNU_SOURCE for ck_pr_store unit test.
12 years ago
Samy Al Bahra 3293cde2d2 regressions/common: Add missing header files in common.h
12 years ago
Samy Al Bahra cb650246e2 regressions/ck_hp: Do not use empty loop body.
12 years ago
Samy Al Bahra 0866206c1f regressions/ck_ring: Add ck_ring_spmc to fast path test.
12 years ago
Samy Al Bahra fbdc512304 regressions/ck_ring: Use variable for ring size.
12 years ago
Samy Al Bahra 0631e396e0 ck_backoff: Replace ck_backoff_eb with ck_backoff_gb.
12 years ago
Samy Al Bahra d55e588ee4 regressions/ck_ring: Fix use of uninitialized data.
12 years ago
Samy Al Bahra 1f13c75a66 regressions/ck_pr_store: Add coverage for double.
12 years ago
Samy Al Bahra 56bd0b7424 regressions/ck_fifo: cache align MPMC fifo.
12 years ago
Samy Al Bahra 3f0a90813a ck_ring: Unit test coverage for ck_ring_trydequeue.
12 years ago
Samy Al Bahra 5c93ee3add regressions: Do not use ck_error for debug output.
12 years ago
Samy Al Bahra f1be36b6d2 regressions/ck_ring: Fix erroneous usage of ck_error.
12 years ago
Samy Al Bahra 6bd946d019 regressions: Add ck_error convenience function.
12 years ago
Samy Al Bahra 90745e4d60 regressions/ck_ring: Silence GCC false positives.
12 years ago
Samy Al Bahra 911909ef31 regressions/ck_ring: Add ck_ring_spmc_template unit test.
12 years ago
Samy Al Bahra b07c7808ce regressions/ck_ring: Add strict fence around barrier and cache align ring.
12 years ago
Samy Al Bahra d705e02b76 ck_ring: Replace MPMC variant with SPMC variant for starters.
12 years ago
Samy Al Bahra 8d90fa28ed regressions/ck_ring: Add missing header file.
12 years ago
Samy Al Bahra 8d8f76845b regressions/ck_ring: Add MPMC unit test.
12 years ago
Samy Al Bahra 68e6752e53 ck_ring: Due to popular request, add MPMC variants of enqueue/dequeue.
12 years ago
Samy Al Bahra cb1c72d36b ck_queue: Add CK_?LIST_MOVE operation.
12 years ago
Samy Al Bahra 533136627f regressions/ck_stack: Cache align stack.
12 years ago
Samy Al Bahra b0277346b8 regressions/ck_bytelock: Cache-align bytelock.
12 years ago
Samy Al Bahra ac50efbeaf regressions/ck_epoch: GCC 4.6.3 ignores used attribute in this case.
12 years ago
Samy Al Bahra ddfdda3649 regressions/ck_epoch: Force generation of stack dereference in ck_epoch_synchronize.
12 years ago
Samy Al Bahra 099f13a24d regressions/ck_epoch: Force generation of stack pointer.
12 years ago
Samy Al Bahra 31040a925d regressions/ck_ht: Use random get counter.
12 years ago
Samy Al Bahra ee2ae5a50f regressions/ck_epoch: Update check target.
12 years ago
Samy Al Bahra 690782aa67 ck_hs: Add hash function wrapper to maintain opacity of ck_hs_t.
12 years ago
Samy Al Bahra 43b24d9f28 regressions/ck_hs: Initialize n_state.
12 years ago
Samy Al Bahra 44b845a53a regressions/ck_hs: Use (char *) for debug output.
12 years ago
Samy Al Bahra bc7a3e5606 regressions/ck_bag: Add status around sleep.
12 years ago
Samy Al Bahra ece2895e9e ck_hs: Drop ck_hs_hash_t abstraction.
12 years ago
Samy Al Bahra adaf20b31c ck_ht: Add ck_ht_stat function.
12 years ago
Samy Al Bahra a40b724270 regressions/ck_hs: Add Makefile for benchmarks.
12 years ago
Samy Al Bahra 0f5e540afa ck_hs: Lock-free set loosely modeled after ck_ht.
12 years ago
Samy Al Bahra 67895cb87e regressions/ck_epoch: Add support for multiple writers in poll unit test.
12 years ago
Samy Al Bahra 375a9eb816 regressions/ck_epoch: Drop debug flags.
12 years ago
Samy Al Bahra 034759c3b9 regressions: Update callers to ck_epoch_call.
12 years ago
Samy Al Bahra 657c50f823 regressions/ck_epoch: Multiple writers for synchronize unit test.
12 years ago
Samy Al Bahra 5293ad2348 regressions/ck_epoch: Reduce number of poll iterations, change peak calculation in synchronize.
12 years ago
Samy Al Bahra 57104fcde7 ck_epoch: Change to epoch semantics, bump grace period to 4.
12 years ago
Samy Al Bahra ce7278140c regressions/ck_epoch: Add missing header files.
12 years ago
Samy Al Bahra c274e8bc54 ck_epoch: Major redesign and rewrite.
12 years ago
Samy Al Bahra b220e50f54 regressions/ck_pr: Disable rest of width checks on bi-endian platforms.
12 years ago
Samy Al Bahra 6961547dfe regressions/ck_pr: Remove unnecessary assignment in Makefile.
12 years ago
Samy Al Bahra 98660bf560 regressions/ck_pr: Disable width checks on bi-endian architectures.
12 years ago
Samy Al Bahra 7ebbcf55b1 regressions/ck_spinlock: Disable linux_spinlock on unsupported platforms.
12 years ago
Samy Al Bahra d72ca391f6 ck_bytelock: Switch to RMO model.
12 years ago
Samy Al Bahra bac1c1d26a regressions/ck_stack: Disable various TRYMPMC benchmarks on unsupported platforms.
12 years ago
Samy Al Bahra 3e4aa8239a regressions: Add _GNU_SOURCE to ck_backoff. Don't apply to all.
12 years ago
Samy Al Bahra f4e50d16d8 regressions: Use _GNU_SOURCE by default on Linux.
12 years ago
Samy Al Bahra 8043f52130 ck_pr: Add ck_pr_barrier for compiler barrier.
12 years ago
Samy Al Bahra 7e9a0d8751 regressions/ck_brlock: Reduce number of iterations.
12 years ago
Samy Al Bahra f8c19a89b4 regressions/ck_hp: LLVM's optimizer keeps getting the best of us.
12 years ago
Samy Al Bahra f567513f8c regressions/ck_hp: Add Donner's unit test.
12 years ago
Samy Al Bahra 3f6a3660eb regressions/ck_stack: Add trypush unit tests to check target.
12 years ago
Samy Al Bahra d454f729e0 regressions/ck_fifo: Add dependency to ck_fifo.h.
12 years ago
Samy Al Bahra 290add2e50 build/regressions: Add CORES option, add "check" target.
12 years ago
Samy Al Bahra 1a8b3db453 ck_ht: Various performance improvements.
12 years ago
Samy Al Bahra e1ec55819e regressions/common. Move edx/eax to x86_64 block.
12 years ago
Samy Al Bahra a56cac3a38 regressions/ck_sequence: Work-around LLVM bug.
12 years ago
Samy Al Bahra 59158c824b ck_ht: Do not re-hash on growth for non-PP case.
13 years ago
Samy Al Bahra 72a8adb599 ck_ht: Add support for per-hash-table allocator.
13 years ago
Samy Al Bahra af7b877414 regressions/ck_ht: Turn off CK_MD_RDTSCP by default.
13 years ago
Samy Al Bahra cc23781512 regressions/ck_ht: Switch to a format that is more readable by R.
13 years ago
Samy Al Bahra 9a3909163f regressions/ck_ht: Drop secondary sequence table.
13 years ago
Samy Al Bahra 0b32fd064e regressions/ck_ht: Previous commit was in fact shuffled insertion.
13 years ago
Samy Al Bahra efdae8f77b regressions/ck_ht: Extend serial benchmark.
13 years ago
Samy Al Bahra 3b5a3c857e regressions: Update out-of-date comment.
13 years ago
Samy Al Bahra da9e0f58f1 regressions: Use RDTSCP in presence of CK_MD_RDTSCP.
13 years ago
Samy Al Bahra b353ebe8c2 regressions: Remove debug build flags.
13 years ago
Samy Al Bahra 314ce3ad81 ck_rwlock: Drop factor argument to trylock API.
13 years ago
Samy Al Bahra 512bbc050b ck_rwlock: Add recursive trylock operations.
13 years ago
Samy Al Bahra 380dd410c6 ck_backoff: Saturate geometric back-off.
13 years ago
Samy Al Bahra fc2517947b regressions/ck_ht: Use user-specified hash function for direct benchmark.
13 years ago
Samy Al Bahra 18d74f55a1 ck_ht: Add support for user-specified hash functions.
13 years ago
Samy Al Bahra 606afe0f23 ck_rwlock: Add ck_rwlock_recursive facility.
13 years ago
Samy Al Bahra 402c31ca9a ck_hp_fifo: Add try{enqueue,dequeue} variants.
13 years ago
Samy Al Bahra a90b402c0c regressions/ck_fifo: Add test for try{enqueue,dequeue} API.
13 years ago
Samy Al Bahra ff6f4d94f4 ck_stack: Add wait-free trypop and trypush operations.
13 years ago
Samy Al Bahra 2b2e44203b Merge pull request #5 from abelmathew/master
13 years ago
Abel Mathew 6a6f1d53c8 ck_bag: Validate block_size > block_overhead during ck_bag_init.
13 years ago
Abel Mathew bbc6f584fd ck_bag: Various Bug Fixes and Cleanup.
13 years ago
Samy Al Bahra 099a6c7b04 ck_bitmap: Add bitmap iterator functions.
13 years ago
Samy Al Bahra 3cf265cba0 all: Strip trailing whitespaces.
13 years ago
Samy Al Bahra 10d86b6424 ck_bitmap: Overhaul API for improved support of static instances.
13 years ago
Samy Al Bahra 9d4541d703 ck_bitmap: Fix ck_bitmap_init.
13 years ago
Samy Al Bahra 773ceb8257 regressions: Add necessary header file for sleep.
13 years ago
Samy Al Bahra ab73676ee4 ck_bitmap: Lock-free MPMC contiguous bitset implementation.
13 years ago
Abel Mathew eaa8ad1d4d ck_bag: Various bug fixes.
13 years ago
Samy Al Bahra 2111824c9e regressions: Add ck_bag regressions.
13 years ago
Samy Al Bahra a6dce3abff regressions/ck_bag: Use epoch reclamation, allow for user-defined block size.
13 years ago
Abel Mathew 431c24a90a ck_bag: Lock-Free SPMC bag/collection for x86_64. A bag is a linked list of blocks, with each block containing an array. Insertions are on the order of O(1) and deletions are on the order of O(N). This data structure is meant to act as a lock-free vector implementation.
13 years ago
Samy Al Bahra 0bcb0b48b2 regressions: Add ck_ht parallel direct microbenchmark.
13 years ago
Samy Al Bahra 706fd07de7 legal: Update Copyright statements.
13 years ago
Samy Al Bahra 519a14b7f3 ck_ht: Add CK_F_HT feature flag.
13 years ago
Samy Al Bahra 3ad9f7e63d ck_ht: Add support for other 64-bit platforms.
13 years ago
Samy Al Bahra 516381da4c regressions: Remove CORES definition from ck_ht ubenches.
13 years ago
Samy Al Bahra cef7de2c5f regressions: ck_ht parallel benchmark makes use of affinerator.
13 years ago
Samy Al Bahra d9017b3e5b regressions: Add multi-threaded SPMC synthetic benchmark for ck_ht.
13 years ago
Samy Al Bahra 9f786337f7 ck_ht: Lock-free SPMC hash table, for x86_64.
13 years ago
Samy Al Bahra 84535028d9 regressions: ck_ring_spsc_template explicit power of 2 parameter.
13 years ago
Samy Al Bahra d7bba58c0f regressions: ck_ring_spsc is now explicit about power-of-2 parameter.
13 years ago
Samy Al Bahra 3fa28d9a95 regressions: Fix typo in ck_queue regressions, _GNU_SOURCE also needed.
13 years ago
Samy Al Bahra 02109beef7 regressions: Fix ck_queue, remove debug CFLAGS, inherit PTHREAD_CFLAGS.
13 years ago
Samy Al Bahra 674e69f259 ck_queue: Add BSD-derived queue.h facility.
13 years ago
Samy Al Bahra 4d2f01b84d regressions: Do not break strict aliasing rules in ck_pr validation tests.
13 years ago