Commit Graph

2221 Commits

Author SHA1 Message Date
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7b3fdf370f Replace shared_ptr with manual management of pointer. 2014-07-30 21:17:17 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b947a6a027 Added missing item_type copy constructor. 2014-07-30 20:06:59 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e5eb8e7473 Added a rehash() implementation and made references stable across inserts/erases. 2014-07-30 20:04:42 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
94ce5b1846 Removed 64 byte bucket padding. 2014-07-30 18:30:05 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
bbe9c49b1c Reset max load factor to 1. 2014-07-29 20:17:57 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
790cec539f Changed it again. 2014-07-29 20:16:02 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
5f817e88fa Changed max load factor calc again 2014-07-29 20:14:17 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e324a849a0 rehash wasn't implemented. 2014-07-29 20:11:59 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f4bb5f706a Adjusted default max load factor. 2014-07-29 20:05:50 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
27ce41b896 Try again. 2014-07-29 20:00:07 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b541422309 Fixes for GCC. 2014-07-29 19:58:26 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ce62e08c65 Fixed up shadowed type 2014-07-29 19:56:34 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7ab0f4b596 Filled out concurrent_unordered_map with lots more implementation. 2014-07-29 19:54:47 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2fdb7353bd Fixes for GCC. 2014-07-28 20:30:23 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
6a5116b3ca First attempt at a final concurrent_unordered_map 2014-07-28 20:26:50 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
64ccde1662 Now outputs both single and multi threaded tests. 2014-07-18 19:59:56 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
335a342a3a Only fall back to non-HLE if the lock is unlocked. 2014-07-18 19:54:34 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
6e5da5f522 No longer use waiting around normal locks 2014-07-18 19:48:34 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8fcb28b2d5 Added elision of lock iff multiple threads entering lock. 2014-07-18 19:42:08 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2b9b2c8814 Fixed up MSVC compatibility. Interestingly MSVC's concurrent_unordered_map can do 54m finds per sec while mine can do about 36m. On a dual core, non-TSX CPU. 2014-07-18 01:06:48 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
72a7af2754 Now transacts for finds only, locks for everything else. 2014-07-17 22:11:50 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b3da1b140d Insert is back to a single lock now. 2014-07-17 22:05:55 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d6630f41a3 Returned to max performance non-TSX 2014-07-17 21:56:39 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
373e107d35 Typo 2014-07-17 21:34:59 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
4bc4b0a2c4 Restore predicate choosing HLE or normal spin lock. 2014-07-17 21:33:39 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d6319177bc Replaced RTM with straight HLE. 2014-07-17 21:26:37 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1254f6920f Added memory ordering to all atomics. 2014-07-17 21:14:46 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
dfa1211de8 Reverted lack of spin precheck. 2014-07-17 21:05:48 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b90a5ff535 Removed spinlock precheck. 2014-07-17 21:00:38 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
3938dbba36 Made TSX lock HLE, normal spinlock not. 2014-07-17 20:54:49 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2681851331 Tried turning off preread. 2014-07-17 20:23:11 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
468a7eb7e0 Tried adding HLE release to spinlock too. 2014-07-17 20:08:20 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c6998d1064 Tried turning on HLE to see what happens. 2014-07-17 19:46:06 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
a9367a4931 Added test for spinlocked read. 2014-07-17 19:32:24 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
58f46a9f6c Padded buckets to 64 bytes each 2014-07-17 18:39:02 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
9a27698592 Inserts now split transactions across find duplicates and insert. 2014-07-17 18:29:41 +01:00
ned Productions Jenkins build bot
8e2242390a Played around with settings to see if I could optimise RTM performance. 2014-07-16 19:56:52 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
9a0d8e005e Try OpenMP off. 2014-07-15 23:16:05 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
55b493cc5b Hopefully working now? 2014-07-15 20:29:14 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
cab3508e00 Typo 2014-07-15 20:07:51 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b3716fce7c Hopefully bug fixed. 2014-07-15 20:06:20 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
881b50d812 Turned OpenMP back on. 2014-07-14 20:24:53 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b57966994c Disable asserts for GCC. 2014-07-14 20:18:06 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
5d23801408 Fix for GCC. 2014-07-14 20:14:22 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1888f7b43f Might just work now. MSVC performance (without TSX) is identical to spinlocked std. 2014-07-14 20:12:05 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
9f57f01383 Repeat. 2014-07-14 20:03:09 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1b1a0b85b2 Stupid MSVC barely prints error messages anymore :( 2014-07-14 20:00:30 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b02f1e08f5 Fixed assignment to const problem. 2014-07-11 22:22:14 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
5d50ac80a6 Fixed more typos. 2014-07-11 20:02:02 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f2d3e4c805 Fixed silly typos. 2014-07-11 19:54:31 +01:00