Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

docs/s3: add note about chunk size decreasing progress accuracy

Maciej Radzikowski2e91287b2eec
diff --git a/backend/s3/s3.go b/backend/s3/s3.go
index cd4f3e06b..ac5e112cb 100644
--- a/backend/s3/s3.go
+++ b/backend/s3/s3.go
@@ -1677,7 +1677,14 @@ Files of unknown size are uploaded with the configured
chunk_size. Since the default chunk size is 5 MiB and there can be at
most 10,000 chunks, this means that by default the maximum size of
a file you can stream upload is 48 GiB. If you wish to stream upload
-larger files then you will need to increase chunk_size.`,
+larger files then you will need to increase chunk_size.
+
+Increasing the chunk size decreases the accuracy of the progress
+statistics displayed with "-P" flag. Rclone treats chunk as sent when
+it's buffered by the AWS SDK, when in fact it may still be uploading.
+A bigger chunk size means a bigger AWS SDK buffer and progress
+reporting more deviating from the truth.
+`,
Default: minChunkSize,
Advanced: true,
}, {