server-skynet-source-3rd-je.../test
Dave Watson 25f7bbcf28 Fix long spinning in rtree_node_init
rtree_node_init spinlocks the node, allocates, and then sets the node.
This is under heavy contention at the top of the tree if many threads
start to allocate at the same time.

Instead, take a per-rtree sleeping mutex to reduce spinning.  Tested
both pthreads and osx OSSpinLock, and both reduce spinning adequately

Previous benchmark time:
./ttest1 500 100
~15s

New benchmark time:
./ttest1 500 100
.57s
2016-11-02 20:30:53 -07:00
..
include/test Add os_unfair_lock support. 2016-11-02 18:09:45 -07:00
integration Reduce memory requirements for regression tests. 2016-10-28 11:23:24 -07:00
src Add os_unfair_lock support. 2016-11-02 18:09:45 -07:00
stress Code formatting fixes. 2016-03-23 16:15:42 -07:00
unit Fix long spinning in rtree_node_init 2016-11-02 20:30:53 -07:00
test.sh.in Streamline test output. 2013-12-12 14:58:26 -08:00