[ 
https://issues.apache.org/jira/browse/DISPATCH-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15494517#comment-15494517
 ] 

Ted Ross commented on DISPATCH-511:
-----------------------------------

Memory pool statistics are enabled by default.  If you wish to disable them for 
improved performance, use the following cmake definition:

cmake -DQD_MEMORY_STATS=OFF ..


> Remove performance problems from locks and memory allocation
> ------------------------------------------------------------
>
>                 Key: DISPATCH-511
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-511
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Container
>            Reporter: Ted Ross
>            Assignee: Ted Ross
>             Fix For: 0.7.0
>
>
> There are a number of performance issues with locks and memory pooling:
>   - Locks are not allocated on cache-line boundaries and suffer from 
> false-sharing issues.
>   - The extra lock checks (checking the acquired state) cause significant 
> overhead.  These should be removed.
>   - Pooled memory objects are not cache-line aligned and suffer from 
> false-sharing
>   - Memory pool statistics are useful but costly from a performance 
> standpoint.  These should be able to be optionally disabled.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to