[
https://issues.apache.org/jira/browse/GEODE-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17093727#comment-17093727
]
ASF GitHub Bot commented on GEODE-2484:
---------------------------------------
pivotal-jbarrett opened a new pull request #594:
URL: https://github.com/apache/geode-native/pull/594
Re-implement FairQueue as ConnectionQueue.
* Use std::mutex.
* Use std::recursive_mutex.
* Adds unit test
Benchmark Summary:
New implementation is on par with ACE version where non-recursive mutex is
used. New implementation is faster where recursive mutex is used.
Benchmark Results:
Run on (12 X 2900 MHz CPU s)
CPU Caches:
L1 Data 32K (x6)
L1 Instruction 32K (x6)
L2 Unified 262K (x6)
L3 Unified 12582K (x1)
Load Average: 27.65, 20.31, 16.34
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Benchmark
Time CPU
Iterations
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ConnectionQueueBM_getUntil<apache::geode::client::FairQueue<TestObject>>/192/real_time/threads:96
9.88 ns 107 ns 128204832
ConnectionQueueBM_getUntil<apache::geode::client::FairQueue<TestObject,
ACE_Recursive_Thread_Mutex>>/192/real_time/threads:96 33.3 ns
365 ns 20599296
ConnectionQueueBM_getUntil<apache::geode::client::ConnectionQueue<TestObject>>/192/real_time/threads:96
10.4 ns 111 ns 127354080
ConnectionQueueBM_getUntil<apache::geode::client::ConnectionQueue<TestObject,
std::recursive_mutex>>/192/real_time/threads:96 15.5 ns 174 ns
71924448
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Remove ACE from native client dependencies
> ------------------------------------------
>
> Key: GEODE-2484
> URL: https://issues.apache.org/jira/browse/GEODE-2484
> Project: Geode
> Issue Type: Task
> Components: native client
> Reporter: David Kimura
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.9.0
>
> Time Spent: 11h 20m
> Remaining Estimate: 0h
>
> Remove ACE from native client dependencies.
> Replace ACE usage with C++11 and/or Boost 1.63+
--
This message was sent by Atlassian Jira
(v8.3.4#803005)