-
-
Notifications
You must be signed in to change notification settings - Fork 981
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 very slow on Ubuntu 17.04 #451
Comments
Can you enable the debug mode (in the settings) and then restart Cryptomator and try to copy a file again. This will add additional output to the logfile which you may attach here afterwards so we can have a deeper look at the issue. You may use testdata to do that because the logfile will contain cleartext pathnames etc. |
Closing this as we got no response now for some time. If you come back to us we may repoen this. |
I am experiencing the same issue on ubuntu 16.10. I mount the davfs volume like so: sudo mount -t davfs http://localhost:42427/my-hidden-id/cryptomator /mymountpoint/cryptomator -o username=me,rw,uid=me,file_mode=700,dir_mode=700 I rsync to the directory like so: sudo rsync --info=progress2 -a --no-links --no-whole-file /home/me/Test/ /mymountpoint/cryptomator/Test/ For this test I am transferring a large javascript project (babylon.js). I ran cryptomator in debug mode. I have attached the log. (I had to trim the log to a smaller size because of github upload limits.) |
Will try this on a test system and come back to you. I currently assume the problem may be that the babylon.js sources contain many small files. With such files WebDAV is not very fast. |
Copying basically stops. It's not just slow, its 20kb/s after a certain amount of time. |
Tried this on debian 8.7 and ubuntu 16.04. rsync copyied with around 21MB/s (faster start, slowed down later). One interresting thing I noticed is, that copying completed before any data was encrypted. It seems all data was copyied to the davfs cache first and then send to cryptomator. Encryption speed reached 90MB/s (peak). You may check if the davfs cache on Ubuntu 17.04 is configured differently. Maybe that causes problems but in general I have no clue. |
I just tried again using only the cli. I notice the slowdown happens right after messages like these in the console:
You don't have these files because you didn't do Could this be the cause? |
Will try again with these files, just to be sure. But to tell the truth, if skipping those files cause issues we may not be able to fix this but it maybe an incompatibility of rsync and webdav shares or similar stuff. Will have a look at the cryptomator log if I can reproduce the problem to check if anything weird happens regarding webdav requests/responses. One thing you could try to confirm this, is to use another webdav server and try rsyncing the same data to that location. |
Could reproduce the problem described and got a speed of around 140kB/s. Copying does not stop but just takes very long. The Cryptomator logfile contained many requests but no errors and after waiting for some time everything was copied. I still assume this is caused by the huge amount of small files. Average file size inside the node_modules dir is ~6KiB. Inside this directory are tens of thounsands of files. A short test with some generated directories containing 18k 6KiB files lead to similar results. So Webdav is just really slow I assume. Closing this as I really do not think this is a bug but only a side effect of the webdav speed limitations and the requests produced by rsync and davfs2. I suggest to use a thrid party webdav client to transfer the files into the vault - this in general leads to much more speed with many small files. Looking forward to #252 because this may improve the situation. |
How could we rsync stuff into Cryptomator containers without the webdav/davfs2 overhead then? |
Can confirm the issue. Basically, useless software under Ubuntu. |
FUSE support is scheduled for the next major version. 😉 |
When I start cryptomator, everything is ok, the vault is created and open. But when I try to copy data, it says, that is takes over 500'000 hours.
Description
When I start cryptomator, everything is ok, the vault is created and open. But when I try to copy data, it says, that is takes over 500'000 hours.
How can I increase that speed? Please help!
The text was updated successfully, but these errors were encountered: