-
Notifications
You must be signed in to change notification settings - Fork 257
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
Slowdown copy files into gocrypt directory #369
Comments
Hi! Thanks for the report! I'm trying to reproduce this here. First experiment: I write 10 files directly to ext4, 1GB each. This on a Samsung SSD 840 EVO 250GB:
|
OK i can confirm: it just fills up the ram, then utilizing the swap. This is when the slowdown occurs. |
rsync the files to a normal directory:
Transfer slows down to 22MB/s, also the whole systems becomes sluggish sometimes. iostat shows 100%. rsync to gocryptfs mount:
Transfer speed varies, iostat shows 100%, but also 20% every now and then. System becomes sluggish. |
Hmm, but what fills up RAM and swap? gocryptfs? |
i edited the post above. the problem with gocryptfs is, that it even happens with small files with rsync, while directly rsync on a NFS / encfs seems to flush the memory more frequently to the storage. So - not a bug, just a strange behaviour. |
Interesting to watch while rsync is running:
Here, |
New Ticket based on #160.
rsync will extremly slow down the whole machine.
NFS (host EXT4) <-> GCFS. Starts with 80mb/s, ends with 2mb/s. slowing down pretty fast (after 15sec).
Has nothing to do with the NFS, also slows down when running directly on the internal SSD (EXT4, too). Already tried to mount with noprealloc, same issue.
Using encfs in the same setup has no problem, so i doubt it has something to do with fuse or the os.
Running gocryptfs based on the debian package in testing (gocryptfs 1.6.1; go-fuse 0.0~git20181027.c029b69; 2019-01-25 go1.11.5)
iostat -x 1 -d:
sda gets to 100% utilisation, which is the SWAP device. Machine has 16gb memory (most of it free), maybe this has something to do with poor memory utilization?
The text was updated successfully, but these errors were encountered: