Red Hat Bugzilla – Bug 1473263
Processing outputs of remote command on the smart-proxy is slow.
Last modified: 2017-08-02 01:03:10 EDT
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):
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.
The first job is by orders of magnitude slower than the second one.
The two jobs should take roughly the same amount of time to finish.
Job #1: 15:22:43 - 16:43:24 (almost hour and a half)
Job #2: 18:09:38 - 18:23:40 (roughly 15 minutes)
Created redmine issue http://projects.theforeman.org/issues/20362 from this bug