-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
copy one large file from ipfs using ipfs-fuse api has severe performance issue #4228
Comments
Thanks for reporting! This is likely because of the way fuse calls are made, I believe they actually create a new dagreader per read call, lots of room for optimization here. |
just to add to this: i'm seeing not just slow progress, but zero progress copying a large directory from IPFS via Fuse
loading a single file over IPFS/FUSE works
in another terminal,
loading lots of files doesn't workhere i'm trying to copy out what should be about ~50GB of Wikipedia data from IPFS ( see https://ipfs.io/blog/24-uncensorable-wikipedia/ )
this hangs forever (i left it running for a day, and the output directory remains essentially empty:)
the ipfs daemon prints occasional errors the ipfs daemon uses 1 full core continuously and ~1GB ram, but makes no progress |
I also have a lot of trouble with this, all reads from FUSE mounts are superslow. Looking at how its mounted shows these options I did some additional digging on FUSE flags in the manpage and found a few which might be interesting to test. |
We are in the process of completely rewriting our fuse integration. See #6036. |
Thank you for the info! Great to see work is being done to improve this :) |
Version information:
go-ipfs version: 0.4.11-dev-c14a995
Repo version: 6
System version: amd64/linux
Golang version: go1.8.3
and
go-ipfs version: 0.4.10-
Repo version: 5
System version: amd64/linux
Golang version: go1.8.3
Type:
Medium
Severity:
High
Description:
I have done the following experiment using both the latest stable version (0.4.10) and the latest master branch :
cp <ipfs-mount-point>/<multi-hash> <path>
on node bI was expecting the behavior of this scenario might be similar to
ipfs get
. Unfortunately, IPFS+FUSE ran extremely slow. I had to abort the task after 10mins of waiting. Please see the figures below:Performance of the Sender (node a)
Performance of the Receiver (node b)
The text was updated successfully, but these errors were encountered: