###############
Transfer Graphs
###############

*Transfer Graphs* is part of :doc:`transfer-details`.

.. image:: ../media/images/jetstream-transfer-graph.png

The area contains of a pair of graphs, with several overlayed data sets, providing real-time statistics for an ongoing transfer.

Left graph shows general stats for the transfer.

+--------+----------------------------------------------------------------------------------------+
| Purple | Tracks the transfer progress, as megabytes (M) transferred.                            |
+--------+----------------------------------------------------------------------------------------+
| Teal   | Tracks the effective transfer rate, in megabits per second.                            |
+--------+----------------------------------------------------------------------------------------+
| Green  | Tracks the rate controller send rate, in megabits per second.                          |
+--------+----------------------------------------------------------------------------------------+
| Orange | Tracks the ratio of packets that were retransmitted, as a percentage of the transfer.  |
+--------+----------------------------------------------------------------------------------------+

The right graph relates to I/O performance of the sender's disk and networking subsystem. The values should always exceed the maximum of the rate controller send rate, and the effective throughput.

+--------+---------------------------------------------------------------------------------------+
| Yellow | The disk read rate of the sender in megabits per second.                              |
+--------+---------------------------------------------------------------------------------------+
| Blue   | The network send rate. Includes packet overhead, host CPU encryption, network driver. |
+--------+---------------------------------------------------------------------------------------+

.. tip:: To isolate performance bottlenecks use the :ref:`troubleshooting-label` options in the :doc:`../overview/settings`.

Hover
=====
Hovering over the graph highlights the values recorded at that point during the transfer.

.. image:: ../media/images/jetstream-transfer-graph-hover.gif

Clipboard
=========
The Transfer Graph supports the clipboard copy operation. To copy the numerical statistics as shown in the transfer graph:

- Click the mouse anywhere within the Transfer Graph.
- :menuselection:`right click --> Copy to clipboard (csv)` or press :kbd:`Control,⌘ + C`.

The numerical statistics from the graph will be copied into the clipboard.

The text below shows a sample for how the statistics are represented when copied.

.. code-block:: none

    time, bytes transferred
    0.000000, 0.000000
    1.009669, 0.000000
    2.019023, 24187904.000000
    3.026019, 72206336.000000
    4.031374, 96302080.000000
    5.032853, 120280064.000000

    time, throughput
    0.000000, 0.000000
    1.009669, 0.000000
    2.019023, 97003336.000000
    3.026019, 192745440.000000
    4.031374, 192843776.000000
    5.032853, 192294912.000000

    time, retransmit percentage
    0.000000, 0.000000
    1.009669, 0.000000
    2.019023, 0.000000
    3.026019, 0.000000
    4.031374, 0.000000
    5.032853, 0.001703

    time, send rate
    0.000000, 0.000000
    1.009669, 197191552.000000
    2.019023, 199557104.000000
    3.026019, 199555616.000000
    4.031374, 199568416.000000
