[ 
https://issues.apache.org/jira/browse/ARTEMIS-2949?focusedWorklogId=500777&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-500777
 ]

ASF GitHub Bot logged work on ARTEMIS-2949:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/Oct/20 17:51
            Start Date: 14/Oct/20 17:51
    Worklog Time Spent: 10m 
      Work Description: franz1981 commented on pull request #3303:
URL: https://github.com/apache/activemq-artemis/pull/3303#issuecomment-708561455


   This PR reduce dramatically the amount of GC produced on the libaio blocked 
poll and the CPU time with it, see 
   `master`
   
![image](https://user-images.githubusercontent.com/13125299/96026087-57538600-0e56-11eb-8995-1b178ae2938f.png)
   while this PR
   
![image](https://user-images.githubusercontent.com/13125299/96026128-663a3880-0e56-11eb-8891-04beee3260e1.png)
   That's 10 seconds CPU flamegraphs of the libaio poller thread for 1000 
producer/consumer/queues sending 100 bytes persistent msg using Core JMS. 
   In violet there are the calls to `LinkedList::*` that are now disappeared
   


----------------------------------------------------------------
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]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 500777)
    Time Spent: 20m  (was: 10m)

> Reduce GC on OperationContext::checkTasks
> -----------------------------------------
>
>                 Key: ARTEMIS-2949
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2949
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> OperationContext::checkTasks is allocating Iterators that seems not scalar 
> replaced and that could be saved by using the Queue API of LinkedList.
> Similarly, store only tasks can use a reduced  (in term of footprint) task 
> holder to reduce the allocation pressure.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to