Giter Club home page Giter Club logo

Comments (3)

astrada avatar astrada commented on August 28, 2024

You should turn on verbose logging (-verbose option) and then open gdfuse.log and look for lines like these:

[17.122371] TID=0: flush /filename 0
Getting metadata from context...valid
Loading resource /filename (trashed=false) from db...found
Uploading file (cache path=/home/alex/.gdfuse/../cache/..., content type=...)...Refreshing remote resource (id=...,etag="...")...done
done
Updating resource in db (id=...)...done
Updating cache size (...) in db...done
Updating context...done
[21.922442]

From the timestamps, you should be able to measure pure upload speed. That's the speed of the Google endpoint for file upload. If that speed is lower than you expect, there is nothing that can be done (I'm using curl to upload the file, so there is no/little overhead). But if that speed is comparable to 10Mo/s, then you can try to increase metadata_cache_time (to 600 seconds, for example) to avoid checking for server side changes too frequently (you are uploading files, so these changes will be notified, invalidating your cache, and that takes time). You cannot compare my application with Google Drive Client, because it uses a non-public API.

from google-drive-ocamlfuse.

miriampl avatar miriampl commented on August 28, 2024

Hi I have same problem with upload
Network speed 100/100 MB
Upload a iso file 400MB in speed of 134 kB/s

I have changed metadata_cache_time - this has no effect.

don't know what the... by such speed it's not usable. In upload by browser i is 100MB for that folder with the same file

from google-drive-ocamlfuse.

astrada avatar astrada commented on August 28, 2024

Unfortunately Drive API + FUSE is not an ideal combination when you need fast uploads. Maybe you can try this other project: https://github.com/odeke-em/drive (doesn't use FUSE, so maybe has faster uploads).

from google-drive-ocamlfuse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.