You are not logged in.

#1 2024-10-07 18:47:33

archqt
Member
Registered: 2015-04-29
Posts: 200

rclone far slower than the google drive on windows

Hi,
i have mouned a google-drive directory with rclone, but i can't work directly on it, too slow. On same network with a window machine the google-drive application let me work at higher speed. Here are my rclone configuration :
File: /etc/systemd/system/rclone.service

[Unit]
Description=Google Drive (rclone)
AssertPathIsDirectory=/home/archqt/GoogleDrive
After=network.target network-online.target multi-user.target

[Service]
Type=simple
User=archqt
ExecStart=/usr/bin/rclone mount \
        --config=/home/archqt/.config/rclone/rclone.conf \
        --allow-non-empty \
        --max-read-ahead=200M \
        --stats=0 \
        --quiet \
        --checkers=32 \
        --bwlimit=0 \
        --low-level-retries=10 \
        --timeout=30s \
        --dir-cache-time=5m GoogleDrive: /home/archqt/GoogleDrive

ExecStop=/bin/fusermount -uz /home/archqt/GoogleDrive
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target

I guess some options are not optimized.
Thanks
Sincerely

Offline

#2 2024-10-07 20:19:04

seth
Member
Registered: 2012-09-03
Posts: 59,098

Re: rclone far slower than the google drive on windows

Google might simply quota you.

Is the network speed generally ok?
No concurrent services ?

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

When you download from a google drive using your browser, you reach the expected throughput?
Did you try any dedicated https://wiki.archlinux.org/title/List_o … ve_clients

Also elaborate on the "slowness", how "slow" and on what actions?
What do you mean by "work with it directly"? There's supposed to be a cache, https://forum.rclone.org/t/mounting-cache-size/34589/7 ?
And a rate limter for GDs, https://github.com/rclone/rclone/issues/7384

Finally "--config=/home/archqt/.config/rclone/rclone.conf" the config might be relevant.

Online

#3 2024-10-08 06:56:20

archqt
Member
Registered: 2015-04-29
Posts: 200

Re: rclone far slower than the google drive on windows

Hi,
thanks for the help

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
bluetooth.service                        | bluetooth.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.ModemManager1.service | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.resolve1.service    | system
dbus-org.freedesktop.timesync1.service   | system
display-manager.service                  | system
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
ModemManager.service                     | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
NetworkManager.service                   | multi-user.target.wants
p11-kit-server.socket                    | sockets.target.wants
pipewire-media-session.service           | pipewire.service.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
pulseaudio.socket                        | sockets.target.wants
rclone.service                           | multi-user.target.wants
remote-fs.target                         | multi-user.target.wants
systemd-resolved.service                 | sysinit.target.wants
systemd-timesyncd.service                | sysinit.target.wants
xdg-user-dirs-update.service             | default.target.wants
.config/rclone/rclone.conf
[GoogleDrive]
type = drive
scope = drive
token = {"access_token":"xxxxx","token_type":"Bearer","refresh_token":"xxxxx"}
team_drive =

For windows, the client download data locally so it is the reason why it is "fast".
Slow means that when i click on a pdf file it appears after 5 to 10 seconds. And to work on a libreoffice file is not possible it writes an error (the pdf application waits to load the file, but libreoffice doesn't wait).
I try to see for the cache size.

Offline

Board footer

Powered by FluxBB