CLI: Concurrent Jobs



The CLI references “skysync.” This is expected.

 

Concurrent jobs is the number of transfers that will operate in parallel. The default number of concurrent jobs is 6; the maximum number of concurrent jobs is 20. It is very important to note that increasing the number of concurrent jobs does not always equal faster/better transfer performance. There is a long list of concepts that have to be taken into account.

Parameters

Updating the concurrent jobs setting is done using the following two parameters. At least one of the parameters must be used in update command, and the values must be greater than 0.

Parameter

Description

Parameter

Description

current
c

Current number of transfers that will operate in parallel

max
m

Maximum number of transfers that will operate in parallel

List Concurrent Jobs

Command

1 skysync-cli performance concurrent_transfers show --output-json

 Example result

1 2 3 4 5 6 7 8 [ { "concurrent_jobs": { "current": 6, "max": 8 } } ]

 

Updating the Current Value

Command

1 skysync-cli performance concurrent_transfers update --current={#}

or

1 skysync-cli performance concurrent_transfers update -c {#}

 

Command with examples

1 skysync-cli performance concurrent_transfers update --current=6
1 skysync-cli performance concurrent_transfers update -c 6

 

Updating the Max Value

Command

1 skysync-cli performance concurrent_transfers update --max={#}

or

1 skysync-cli performance concurrent_transfers update -m {#}

 

Command with examples

1 skysync-cli performance concurrent_transfers update --max=8
1 skysync-cli performance concurrent_transfers update -m 8

 

Updating Both Parameters

There are two commands that can be used to update both parameters. Note that neither option is required, but at least one option must be included. The current value cannot be larger than the max value.

Command

1 skysync-cli performance concurrent_transfers update --current={#} --max={#}

or

1 skysync-cli performance concurrent_transfers update -c {#} -m {#}

 

Command with examples

1 skysync-cli performance concurrent_transfers update --current=6 --max=8
1 skysync-cli performance concurrent_transfers update -c 6 -m 8

 

When concurrent jobs are set through the CLI, the changes will be reflected on the Performance page in the Settings once the page is refreshed.