Scp Task is slow due to high number of disk operations

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 7.0.0, 6.10.4
    • Affects Version/s: 6.7.0
    • Component/s: SCP and SSH tasks
    • None
    • 1
    • Severity 2 - Major

      Issue Summary

      ScpTask calls File.getCanonicalPath() a lot of times. (O(n^2) complexity)

      Environment

      Any.

      Steps to Reproduce

      1. Create an artifact with big number of file
      2. Use an Scp task to copy it

      Expected Results

      Task completes in reasonable time (should be linear to number of files and total size of them)

      Actual Results

      Performance degrades very fast with increasing number of files.

      Notes

      (Optional - If Necessary)

      Workaround

      Tar and/or zip your artifact prior to transfering it.

              Assignee:
              Marcin Gardias
              Reporter:
              Marcin Gardias
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: