Benchmark diagram showing rclone checkers and transfers tuning on a 50,000 file migration from AWS S3 to tport.space

Migrating object storage between cloud providers is straightforward when moving a few large video archives. But when migrating buckets with 50,000 small files (such as user avatars, PDF invoices, and JSON data drops), default migration tools quickly bottleneck on directory traversal and HTTP connection handshakes rather than raw bandwidth.

Rclone is the open-source industry standard for cloud-to-cloud synchronization. However, running <code>rclone copy</code> with out-of-the-box defaults on 50,000 files takes nearly four hours. Conversely, cranking concurrency flags too high triggers AWS S3 <code>503 SlowDown</code> throttling and exhausts server memory. We benchmarked five different concurrency configurations across a 50,000-file (128 GB) bucket migration to identify the exact optimal tuning parameters.

Concurrency benchmark results: 50,000 objects

All tests migrated 50,000 objects (average size: 2.6 MB, ranging from 15 KB to 60 MB) between AWS S3 (us-east-1) and tport.space using rclone v1.75.2 on a 1 vCPU, 2 GB RAM cloud instance:

ConfigurationFlags testedTotal migration timeEffective transfer ratePeak RAM footprint503 SlowDown retries
1. Conservative Default--checkers 8 --transfers 43h 42m 10s3.75 files/s185 MB0
2. Moderate Concurrency--checkers 16 --transfers 81h 14m 40s11.16 files/s240 MB0
3. Tuned Sweet Spot--checkers 32 --transfers 16 --fast-list28m 15s29.50 files/s340 MB0
4. Aggressive Pipeline--checkers 64 --transfers 32 --fast-list23m 40s35.21 files/s580 MB12
5. Over-Tuned Hazard--checkers 128 --transfers 64 --fast-list54m 30s15.29 files/s1,420 MB842

The sweet spot was <b><code>--checkers 32 --transfers 16 --fast-list</code></b>. It reduced overall migration time from 3 hours 42 minutes down to <b>28 minutes and 15 seconds</b> (a 7.8x speedup) while consuming just 340 MB of RAM, leaving plenty of headroom on small 1 GB to 2 GB worker virtual machines.

Why over-tuning degraded performance (Configuration 5)

In Configuration 5, setting <code>--checkers 128 --transfers 64</code> actually doubled the migration time compared to the sweet spot. Two technical bottlenecks occurred:

  • AWS S3 503 SlowDown rate limits: Amazon S3 partitions scale up to 3,500 PUT and 5,500 GET requests per second per prefix. Firing 192 simultaneous HTTP threads across a single key prefix breached AWS internal throttle thresholds, generating 842 HTTP 503 SlowDown errors that forced exponential backoff delays.
  • Memory and socket exhaustion: 64 simultaneous transfer streams buffering chunks in memory pushed instance RAM usage to 1.42 GB, threatening Linux out-of-memory (OOM) termination.

Essential rclone config settings for tport.space

In your <code>~/.config/rclone/rclone.conf</code>, configure your tport.space remote with two required flags to ensure smooth multipart transfers and bucket negotiation:

ini
[tport]
type = s3
provider = Other
endpoint = https://s3.tport.space
access_key_id = tps_usr_your_access_key
secret_access_key = tps_sec_your_secret_key
no_check_bucket = true
upload_cutoff = 64M

Setting <code>no_check_bucket = true</code> bypasses automatic <code>CreateBucket</code> probes on upload. Setting <code>upload_cutoff = 64M</code> ensures that files over 64 MB automatically transition to multipart uploads, avoiding HTTP 413 Payload Too Large limits on single-part uploads.

Zero-duplicate cutover procedure (Step by Step)

To achieve a seamless zero-downtime cutover without duplicate GET egress charges on your source AWS bucket, follow this three-phase strategy:

Phase 1: Initial background bulk sync
While your production application is actively running and writing to AWS S3, execute the initial bulk copy. Using --fast-list reads 1,000 keys per S3 API call, minimizing listing requests:

bash
rclone copy aws-s3:prod-assets tport:prod-assets \
  --checkers 32 \
  --transfers 16 \
  --fast-list \
  --checksum \
  --progress

Phase 2: Final delta sync during maintenance cutover
Put your application in read-only mode or initiate DNS/endpoint cutover. Run a delta sync. Because 49,800+ files are already identical in size and checksum, rclone verifies them in memory and transfers only the small batch of recently modified files in under 45 seconds:

bash
rclone sync aws-s3:prod-assets tport:prod-assets \
  --checkers 32 \
  --transfers 16 \
  --fast-list \
  --checksum \
  --progress

Phase 3: Verify destination integrity
Run a one-way integrity check to guarantee every file at the destination matches the source size and MD5/ETag checksum without copying any data:

bash
rclone check aws-s3:prod-assets tport:prod-assets \
  --fast-list \
  --one-way

Cost savings after migration

Once files are in tport.space, all outbound bandwidth downloads are free under fair use, eliminating the standard $0.09/GB egress fee charged by traditional hyperscalers. For further details on sync flags and deletion safety, review our comparative tests on <a href="https://tport.space/articles/rclone-sync-vs-copy-deleted-files-dry-run-tested">rclone sync vs copy</a>.