You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Francesco Nigro (JIRA)" <ji...@apache.org> on 2019/05/30 07:53:00 UTC
[jira] [Created] (DISPATCH-1348) Save qdr_error_t allocation if not
necessary
Francesco Nigro created DISPATCH-1348:
-----------------------------------------
Summary: Save qdr_error_t allocation if not necessary
Key: DISPATCH-1348
URL: https://issues.apache.org/jira/browse/DISPATCH-1348
Project: Qpid Dispatch
Issue Type: Improvement
Components: Routing Engine
Affects Versions: 1.7.0
Reporter: Francesco Nigro
qdr_error_from_pn on error.c is allocating qdr_error_t on the hot path ie AMQP_disposition_handler: saving those allocations would reduce CPU usage (and cache misses) on both core and worker threads, making the router able to scale better while under load.
Initial tests has shown some improvements under load (ie with core CPU thread ~97%):
5 pairs with master - 490 K msg/sec
5 pairs with new version - 530 K msg/sec
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org