Hello Gregor Anton Grinč, Welcome to Microsoft Q&A. Thank you for posting your query!
To increase throughput when copying between storage accounts using AzCopy, you can set the AZCOPY_CONCURRENCY_VALUE
environment variable to a value greater than 1000. This variable specifies the number of concurrent requests that can occur. By increasing the concurrency value, you can potentially achieve higher throughput and transfer data in a shorter time.
However, it's important to note that the maximum default value of AZCOPY_CONCURRENCY_VALUE
is 300. While you can manually set this value higher, it's recommended to monitor the CPU, memory utilization, and network bandwidth of the machine running AzCopy. If you're hitting resource limits or experiencing high CPU usage, you may need to adjust the concurrency value accordingly.
Additionally, consider optimizing other factors such as VM size, network latency, and using the --sync
copy switch for faster and more consistent copy speeds. By following these best practices, you can maximize the performance of AzCopy and ensure efficient data transfer between storage accounts.
To know how many files you are transferring in each job using AzCopy, you can use command parameters such as include path
and include-pattern
to specify the subset of directories or files you want to copy. By dividing large jobs into smaller ones and specifying the desired files or directories, you can effectively manage the number of files being transferred in each job.
Please let me know if you have any questions.