[
https://issues.apache.org/jira/browse/DISPATCH-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ganesh Murthy updated DISPATCH-1342:
------------------------------------
Labels: performance (was: )
> Replaced mutex with spin lock on qd_message content
> ---------------------------------------------------
>
> Key: DISPATCH-1342
> URL: https://issues.apache.org/jira/browse/DISPATCH-1342
> Project: Qpid Dispatch
> Issue Type: Improvement
> Components: Routing Engine
> Affects Versions: 1.7.0
> Reporter: Francesco Nigro
> Priority: Minor
> Labels: performance
>
> Given that qd_message creation and qd_message_free involves sys_mutex
> allocation/free and they are OS resources too, using spin locks will reduce
> the CPU/memory usage while performing such frequent operations.
> In addition it would make the router more reactive and resilient to OS thread
> scheduling while message->content is being concurrently accessed too, given
> that such accesses are meant to not last long and there is no need to involve
> OS arbitration to park/awake threads,
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]