Uploaded image for project: 'Automation Analytics'
  1. Automation Analytics
  2. AA-163

UI-226: Performance Improvement Calculator

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • None
    • UI
    • False
    • True
    • Undefined

      https://github.com/RedHatInsights/tower-analytics-frontend/issues/226

      1. Description

      A common request from Tower operators is to improve the performance of their playbooks when applied to an inventory. This feature attempts to help them do that by pointing out places where improvements would be the most successful to the overall playbook run.

      The feature works a bit like the ROI calculator in that it shows them the current state of their system and then they can tweak it to see what performance improvements would do to the over all performance of their playbooks. This is a visualization of Amdahl's Law as applied to Ansible playbooks.

      The visualization could be based on this chart.

      ![1024px-Optimizing-different-parts svg](https://user-images.githubusercontent.com/44381/89328521-83cf7280-d65b-11ea-8c5f-6fa7a53a47df.png)

      Where A and B would be different tasks in a playbook.

      We can present a bar chart showing the duration of the tasks in a playbook and provide fields with speed ups (1.0X by default) for each task. They can then tweak the speed ups for the tasks to see the overall speed up calculated by Amdahl's Law.

      Additionally we can show tasks-per-host to graphically identify slow hosts. This could be in the same chart with expandable bars that expand to show bars for each host that ran that task. We can pre-expand some bars if the variance between durations is larger than some threshold which could be user defined as well.

      This calculator can be used to compare the current state of a playbook run to hypothetical playbook runs based on user provided speed ups. It can also be used to compare the performance improvement between two runs of the same playbook calculating the per task speed ups and the overall playbook speed up.

      *Mock up*

      Add mock up here when ready

      *Related PRs*

      Add PRs here when ready

      1. Verification

      *Screenshot*

      Add screenshot of implementation here when implemented

      *Steps*

      Add verification steps here when ready for QE

            Unassigned Unassigned
            bthomass Ben Thomasson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: