AzCopy 上传最大化连接

AzCopy Upload Maxes Out Connection

我在将文件上传到服务器上的 Azure 时遇到问题。 Azcopy 以 Internet 连接的最大速度启动和上传,但速度太快以至于最终我无法使用远程桌面,因为它占用了所有带宽。

知道如何限制 AzCopy 使用的带宽量吗?

您可以尝试减少并发数:

/NC:"number-of-concurrent-operations"

Specifies the number of concurrent operations. AzCopy by default starts a certain number of concurrent operations to increase the data transfer throughput. Note that large number of concurrent operations in a low-bandwidth environment may overwhelm the network connection and prevent the operations from fully completing. Throttle concurrent operations based on actual available network bandwidth. The upper limit for concurrent operations is 512.

Applicable to: Blobs, Files, Tables

https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy#azcopy-parameters

顺便说一句,在 AzCopy v10 中,有一个参数可以让您直接指定它使用的带宽量的上限。例如。 --cap-mbps 200 将其限制为最大 200 Mbps。