# Optimize upload to GCS bucket

**URL:** <https://forum.rclone.org/t/optimize-upload-to-gcs-bucket/43450>\
**Category:** Help and Support\
**Created:** [December 13, 2023, 9:45pm UTC](https://forum.rclone.org/t/optimize-upload-to-gcs-bucket/43450 "2023-12-13T21:45:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomday](https://forum.rclone.org/user_avatar/forum.rclone.org/tomday/32/17005_2.png) [@tomday](https://forum.rclone.org/u/tomday)\
**Post date:** [December 13, 2023, 9:45pm UTC](https://forum.rclone.org/t/optimize-upload-to-gcs-bucket/43450/1 "2023-12-13T21:45:37Z")

</div>

#### What is the problem you are having with rclone?

While uploading a file to GCS rclone appears to not use the full bandwidth.  
I wonder if there are some flags or command line options to improve the upload speed.

#### Run the command 'rclone version' and share the full output of the command.

rclone v1.65.0

- os/version: Microsoft Windows 10 Pro 22H2 (64 bit)
- os/kernel: 10.0.19045.3693 (x86\_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.21.4
- go/linking: static
- go/tags: cmount

#### Which cloud storage system are you using? (eg Google Drive)

GCS - Google cloud storage

#### The command you were trying to run

rclone copy ./VM196S003012-20220815\_123255402.mp4 gcs\_remote:upload-bucket-useast1 --gcs-service-account-file srvc\_key.json --config rclone1.conf --gcs-no-check-bucket -P

The content of rclone1.conf:

[gcs\_remote]  
type = google cloud storage  
service\_account\_file = srvc\_key.json  
anonymous = false

#### A log from the command that you were trying to run with the `-vv` flag

```auto
rclone-v1.65.0-windows-amd64>rclone copy ./VM196S003012-20220815_123255402.mp4 gcs_remote:upload-bucket-useast1 --gcs-service-account-file srvc_key.json --config rclone1.conf --gcs-no-check-bucket -P -vv
2023/12/13 23:39:51 DEBUG : rclone: Version "v1.65.0" starting with parameters ["rclone" "copy" "./VM196S003012-20220815_123255402.mp4" "gcs_remote:upload-bucket-useast1" "--gcs-service-account-file" "srvc_key.json" "--config" "rclone1.conf" "--gcs-no-check-bucket" "-P" "-vv"]
2023/12/13 23:39:51 DEBUG : Creating backend with remote "./VM196S003012-20220815_123255402.mp4"
2023/12/13 23:39:51 DEBUG : Using config file from "C:\\Users\\tdayan\\Downloads\\rclone-v1.65.0-windows-amd64\\rclone1.conf"
2023/12/13 23:39:51 DEBUG : fs cache: adding new entry for parent of "./VM196S003012-20220815_123255402.mp4", "//?/C:/Users/user/Downloads/rclone-v1.65.0-windows-amd64"
2023/12/13 23:39:51 DEBUG : Creating backend with remote "gcs_remote:upload-bucket-useast1"
2023/12/13 23:39:51 DEBUG : gcs_remote: detected overridden config - adding "{oIHtk}" suffix to name
2023/12/13 23:39:51 DEBUG : fs cache: renaming cache item "gcs_remote:upload-bucket-useast1" to be canonical "gcs_remote{oIHtk}:upload-bucket-useast1"
2023/12/13 23:39:52 DEBUG : VM196S003012-20220815_123255402.mp4: Need to transfer - File not found at Destination
Transferred: 192 MiB / 779.890 MiB, 25%, 1023.176 KiB/s, ETA 9m48s
Transferred: 0 / 1, 0%
Elapsed time: 5m10.9s
Transferring:
 * VM196S003012-20220815_123255402.mp4: 24% /779.890Mi, 1.013Mi/s, 9m40s

```

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [December 14, 2023, 10:09am UTC](https://forum.rclone.org/t/optimize-upload-to-gcs-bucket/43450/2 "2023-12-14T10:09:48Z")

</div>

> [@tomday](#):
>
> While uploading a file to GCS rclone appears to not use the full bandwidth.

What is your upload bandwidth? Rclone is making 1023.176 KiB/s which is about 8Mbit/s which seems quite slow to me!

---

<div class="post-metadata">

**Author:** ![tomday](https://forum.rclone.org/user_avatar/forum.rclone.org/tomday/32/17005_2.png) [@tomday](https://forum.rclone.org/u/tomday)\
**Post date:** [December 14, 2023, 11:27am UTC](https://forum.rclone.org/t/optimize-upload-to-gcs-bucket/43450/3 "2023-12-14T11:27:05Z")

</div>

Yes, its slower than it should be. My upload speed is 5MB/s.  
On other networks too, I can't reach the max limit of bandwidth.  
Is there some settings/config I can set with rclone to improve the upload performance ?  
(in case of download, for example there is the parameter of --multi-thread-streams)  
Thanks

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [January 13, 2024, 11:27am UTC](https://forum.rclone.org/t/optimize-upload-to-gcs-bucket/43450/4 "2024-01-13T11:27:54Z")

</div>

Closed on January 13, 2024, 11:27am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
