-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output Processor Multi-Threading not working as expected (Mutex wait) #8245
Comments
Hi @drbugfinder-work, what you observed is the expected behavior when filters are used in the processor stack in the output stage. We are working on improving the situation but there is no way around it at the moment. |
@leonardo-albertovich thanks for clarification. I was wondering, because @patrick-stephens mentioned this as a solution how to parallelize filters (see: #8088 (comment) & #8088 (comment)) |
Yeah I wasn't really thinking of adding multiple workers as well as processors though :) |
@patrick-stephens |
Sounds interesting @drbugfinder-work , @tarruda and @agup006 may be interested in that PR. |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the |
Still open |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the |
This issue was closed because it has been stalled for 5 days with no activity. |
@drbugfinder-work what would be the expectation here? To correct the current expected behavior? |
@lecaros This issue is several months old. I haven't tested again with output processors in this context - and with input processors it is working as expected. So I would keep this issue closed for now. |
Bug Report
Describe the bug
We've observed an issue related to output multi-threading/worker option that seems to affect the performance of the processor in our case.
Observations:
For instance (in our configuration):
Expected Behavior:
The output threads (including the processors) should ideally run in parallel, minimizing the waiting time in mutexwait and thus optimizing the overall performance.
To Reproduce
Simplified example configuration: https://gist.github.com/drbugfinder-work/456ef9715db25372a935d2d3a997e049
(You may have to adjust the number of dummy inputs / lua calculation to get similar results on your machine.)
Screenshots
2 workers:
10 workers:
100 workers:
Your Environment
The text was updated successfully, but these errors were encountered: