Bug #20362
closedProcessing outputs of remote command on the smart-proxy is slow.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1473263
Description of problem:
When running jobs on large number of hosts, slow checking of outputs can have severe impact on execution time of the entire job.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Run a job on 1k hosts outputting a single character each second for five minutes.
2. Run a job on 1k hosts outputting a single character into a temporary file each second for five minutes and reading it whole at the end.
Actual results:
The first job is by orders of magnitude slower than the second one.
Expected results:
The two jobs should take roughly the same amount of time to finish.
Additional info:
Job #1: 15:22:43 - 16:43:24 (almost hour and a half)
Job #2: 18:09:38 - 18:23:40 (roughly 15 minutes)