You can use the Cyber Recovery connector CLI to view the performance of snapshot replication and restore operations.

You can run the drc perf command during snapshot replication or failback operations to display logical and physical throughput between the Cyber Recovery connector and the cloud file system during these two operations. The CLI also displays how much time it takes to perform snapshot replication or failback operation.

To run a performance check for the Cyber Recovery connector, run the following command:
drc perf                                                                                                                                                                                                                                  
          usage:
          -h, --help                                                                                                                                                                                                
          --output-format OUTPUT_FORMAT                                                                                                                                                                                                                      
                                         
You can use the following options with this command:
Option Description

-h, --help

Displays help information about the performance check CLI.

--output-format OUTPUT_FORMAT

Choose the output format (optional):
  • json: Format output in the JSON format.
  • default: Print output using the default formatter.

When you run the drc perf -h command with the help option, the output displays the following information to describe the results.

Table 1. Backup (Snapshot Replication)
Category Description

Throughput

Physical throughput

The rate at which compressed data is successfully transferred between the Cyber Recovery connector and a cloud file system during snapshot replication, measured in megabits per second (Mbps).

Logical throughput

The rate at which raw data is successfully transferred between a Cyber Recovery connector and a cloud file system during snapshot replication, measured in megabits per second (Mbps).

Connector Time Taken (Percentage)

Read

Percentage of time spent by copy sectors in Read operations.

Compress

Percentage of time spent by copy sectors in compress operations.

Write

Percentage of time spent by copy sectors in write-wait operations.

SCFS Time Taken (Percentage)

Write

Percentage of time spent by the cloud file system in write operations.

Uncompress

Percentage of time spent by the cloud file system in uncompress operations.

Table 2. Restore (Failback Operation)
Category Description

Throughput

Physical

The rate at which compressed data is successfully transferred between the cloud file system and the protected site during a restore operation, measured in megabits per second (Mbps).

Logical

The rate at which raw data is successfully transferred between the cloud file system and the protected site during a restore operation, measured megabits per second (Mbps).

Connector Time Taken (Percentage)

Read

Percentage of time spent by copy sectors in Read operations.

Uncompress

Percentage of time spent by copy sectors in uncompress operations

Write

Percentage of time spent by copy sectors in write-wait operations.

SCFS Time Taken
Read Percentage of time spent by the cloud file system in read operations.
Compress Percentage of time spent by the cloud file system in compress operations.

For example, if you run the drc perf command during snapshot replication, you see the following output:

# drc perf
2022-09-21T20:09:35.054934 UTC  
----------------------------- Backup ------------------------------ ----------------------------- Restore -----------------------------                                                                                                              
Throughput (Mbps)   Connector Time Taken (%)   SCFS Time Taken (%) |Throughput (Mbps)   Connector Time Taken (%)   SCFS Time Taken (%)                                                                                                               
 Physical  Logical      Read  Compress  Write     Write  Uncompress| Physical  Logical    Read  Uncompress  Write        Read  Compress                                                                                                              
------------------- -------------------------- --------------------|------------------- -------------------------- --------------------                                                                                                             
       --       --        --        --     --        --          --|       --       --      --          --     --          --        --                                                                                                              
       --       --        --        --     --        --          --|       --       --      --          --     --          --        --                                                                                                              
       --       --        --        --     --        --          --|       --       --      --          --     --          --        --                                                                                                              
     19.1     26.8      42.9      11.7    0.0       0.9         0.1|       --       --      --          --     --          --        --                                                                                                              
       --       --        --        --     --        --          --|       --       --      --          --     --          --        --                                                                                                              
     24.8     26.8       1.6       0.1    0.0       0.3         0.1|       --       --      --          --     --          --        --                                                                                                              
       --       --        --        --     --        --          --|       --       --      --          --     --          --        --
     53.5     78.9       4.4       0.2    0.0       0.1         0.2|       --       --      --          --     --          --        --
     64.2    115.8      16.6       0.6    0.0       0.1         0.3|       --       --      --          --     --          --        --
      1.4    154.4      23.7       0.5    0.0       0.2         0.4|       --       --      --          --     --          --        --
      0.1    206.4      28.4       0.1    0.0       0.2         0.5|       --       --      --          --     --          --        --
   

For example, if you run the drc perf command during a failback operation, you see something like this:

# drc perf
2022-08-25T07:55:45.050222 UTC
----------------------------- Backup ------------------------------ ----------------------------- Restore -----------------------------                                                                                                              
Throughput (Mbps)   Connector Time Taken (%)   SCFS Time Taken (%) |Throughput (Mbps)   Connector Time Taken (%)   SCFS Time Taken (%)                                                                                                               
 Physical  Logical      Read  Compress  Write     Write  Uncompress| Physical  Logical    Read  Uncompress  Write        Read  Compress                                                                                                              
------------------- -------------------------- --------------------|------------------- -------------------------- --------------------                                                                                                             
       --       --        --        --     --        --          --|       --       --      --          --     --          --        --                                                                                                              
       --       --        --        --     --        --          --|       --       --      --          --     --          --        --                                                                                                              
       --       --        --        --     --        --          --|       --       --      --          --     --          --        --                                                                                                              
       --       --        --        --     --        --          --|      0.4      3.4    53.6         0.4   46.3         4.0       0.1                                                                                                              
       --       --        --        --     --        --          --|       --       --      --          --     --          --        --

When you run the drc perf command, some of the rows might display empty. The reason for this is because the CLI samples the statistics in five second intervals, and during this five second window it is possible that the statistics are not updated (you see no numbers), and for a subsequent 5-sec window the statistics are updated (you see the numbers).