[
https://issues.apache.org/jira/browse/ARTEMIS-2236?focusedWorklogId=188703&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-188703
]
ASF GitHub Bot logged work on ARTEMIS-2236:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 23/Jan/19 08:25
Start Date: 23/Jan/19 08:25
Worklog Time Spent: 10m
Work Description: franz1981 commented on issue #2514: ARTEMIS-2236
Address Latency Impact caused by ARTEMIS-1451
URL: https://github.com/apache/activemq-artemis/pull/2514#issuecomment-456711246
Suggestion: i would use something more precise (with an higher spectrum of
latencies) if possible to make things comparable:
https://github.com/franz1981/artemis-load-generator
Change the core version you need on the pom and run it with:
```java -jar destination-bench.jar --bytes 100 --protocol artemis --url
tcp://localhost:61616 ---out /tmp/latencies.txt --name q --iterations 100000
--runs 1 --warmup 100000 --wait 2```
It will give you the latencies over an all out throughout: then you need to
choose a sustainable throughput eg 100000 and re-run the same test adding
`--target 100000`, then you will have comparable latencies.
The ideal would be to use a profiler (async-profiler) to measure the samples
taken by awaking the idle threads: the point is, if you have too much threads
sitting idle into the thread-pool you'll get a lower utilization. Just sizing
the max thread pool with a reasonable value would be enough eg 1/2 of the real
core count, given that netty is already stealing the rest (probably more).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: 188703)
Time Spent: 2h (was: 1h 50m)
> Address Latency Impact caused by ARTEMIS-1451
> ---------------------------------------------
>
> Key: ARTEMIS-2236
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2236
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.4.0, 2.5.0, 2.6.0
> Reporter: Michael Andre Pearce
> Priority: Blocker
> Time Spent: 2h
> Remaining Estimate: 0h
>
> h1. ARTEMIS-1451 whilst may have removed syncronisation, increased latency as
> the overhead of creating a new thread vs re-using an idle one is significant.
> It is the main reason of a thread pool.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)