Slow mount on upload and downloads to Google drive and Ondrive

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

slow access uploading and downloading files a Google drive and Onedrive

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

❯ rclone version
rclone v1.69.3

  • os/version: ubuntu 25.04 (64 bit)
  • os/kernel: 6.14.0-15-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.24.3
  • go/linking: static
  • go/tags: none

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

Google Drive and OneDrive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

Paste command here
```ExecStart=/usr/bin/rclone mount googleleewalsh: /home/lee/googleleewalsh 
    --config=/home/lee/.config/rclone/rclone.conf \
    --allow-other \
    --allow-non-empty \
    --vfs-cache-mode full \
    --vfs-cache-max-size 50G \
    --vfs-cache-max-age 72h \
    --vfs-read-chunk-size 128M \
    --vfs-read-chunk-size-limit 2G \
    --buffer-size 16M \
    --dir-cache-time 48h \            
    --poll-interval 1m \              
    --timeout 1h \
    --fast-list \                     
    --drive-pacer-min-sleep 10ms \    
    --drive-pacer-burst 100 \         
    --drive-chunk-size 128M \         
    --drive-acknowledge-abuse \
    --log-level INFO \
    --log-file /home/lee/rclone/logs/googleleewalsh.log \
    --cache-dir=/home/lee/.cache/rclone/googleleewalsh

and the Onedrive config

ExecStart=/usr/bin/rclone mount onedrive: /home/lee/onedrive 
    --config=/home/lee/.config/rclone/rclone.conf \
    --allow-other \
    --allow-non-empty \
    --vfs-cache-mode full \
    --vfs-cache-max-size 50G \
    --vfs-cache-max-age 72h \
    --vfs-read-chunk-size 128M \
    --vfs-read-chunk-size-limit 2G \
    --buffer-size 16M \
    --dir-cache-time 48h \
    --poll-interval 1m \
    --timeout 1h \
    --fast-list \
    --onedrive-delta \
    --log-level INFO \
    --log-file /home/lee/rclone/logs/onedrive.log \
    --cache-dir=/home/lee/.cache/rclone/onedrive
    


#### Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
<!--  You should use 3 backticks to begin and end your paste to make it readable.   -->

Paste config here

❯ rclone config redacted
[googleleewalsh]
type = drive
scope = drive
token = XXX

[googleleewalshpcadvisor]
type = drive
scope = drive
token = XXX

[googletechguy78uk]
type = drive
scope = drive
token = XXX

[onedrive]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal
### Double check the config for sensitive info before posting publicly



#### A log from the command that you were trying to run with the `-vv` flag  
<!-- You should use 3 backticks to begin and end your paste to make it readable.  Or use a service such as https://pastebin.com or https://gist.github.com/   -->

not sure how to get this log

welcome to the forum,

can remove that, does nothing on a mount


need to use --log-level DEBUG and read the entire log for issues.


When you use rclone with Google drive in its default configuration you are using rclone's client_id. This is shared between all the rclone users. There is a global rate limit on the number of queries per second that each client_id can do set by Google

these settings were complied using google gemini. i will remove and add what you suggested

so it better to use the google drive API function for each?

1 Like

Hi,

I use Google Drive also and using a copy testing program that shows me the upload and download rates and also looking at the upload and download rates inside the software I can tell the difference between using the API and not using the API. If you know how to follow the instructions they may not be 100% accurate but you want to if you can create the client ID and Secret and have it linked to the Google Drive API.

Let me know if you run into trouble creating the client ID and Secret.

One more thing that I can't recall seeing in your mount is the flag --vfs-cache-mode full

I'm pretty sure that flag is recommended for one or both of them. I use it on both. It enables read and write caching.

I also have Microsoft setup although it is a far more complicated configuration that I won't go into right now. Microsoft changed not too long ago the manner in which you get your information for the software and the documentation is out of date.

You need to use Microsoft azure to do the setup and configuration.

--vfs-cache-mode full i have this setting in all configs

so apparently i didn't have fuse installed correctly, resulting in slow uploads and downloads.

steps i took:-

sudo apt install -y fuse

i thought, i had originally installed it, but must not have..

1 Like

Nice!

If you eventually decide to do the Google Drive API let me know and I can guide you a little bit. I'm trying to write up instructions to post so that everybody can read them and know how to do it but I'm not done yet.

Right now you're using a shared Global Drive API that is shared by everybody and that makes things go a little slower than they could if you were using your own.