apache / apache/jmeter

Thread started/finished logging incur significant overhead when executing many JMeter threads

Open
#5,943 4 comments 0 reactions 0 assignees View on GitHub
defect to-triage
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

### Expected behavior

JMeter should support cases when the test produces many threads.

It should probably discard "Thread started", and "Thread is done" messages when the thread startup rate exceeds a certain threshold.

### Actual behavior

JMeter executes ~5-10K requests per second only, and it spends significant time on logging "Thread started" and "Thread is done" messages (they synchronize on the logger, and they cause logging pane updates in the UI).

A workaround is to adjust the `org.apache.jmeter.threads.JMeterThread` logging category to `warning` level.

### Steps to reproduce the problem

Create Open Model Thread Group with debug sampler.
Use `rate(100000/sec) random_arrivals(60 sec)` for the schedule

### JMeter Version

5.5

### Java Version

_No response_

### OS Version

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.