Skip to content

smb/cifs performance problem #722

Answered by rfjakob
jumoog asked this question in Q&A
Mar 16, 2023 · 2 comments · 7 replies
Discussion options

You must be logged in to vote

That's good to hear. You should try gocryptfs v2.3.1 or later, though, as this fixed a slowdown with NFS streaming ( https://github.com/rfjakob/gocryptfs#v231-2023-03-04 ). This could affect cifs just the same.

FYI I tested copying to a tmpfs samba share on a VM, where I added 10ms of latency to the VM like this:

tc qdisc add dev eth0 root netem delay 10ms

Testing with dd I get this:

dd if=/dev/zero of=zero bs=1M count=1000 status=progress
  • Direct to cifs mount: 256 MiB/s
  • gocryptfs mount on cifs mount: 233 MiB/s

In other words, I think you should be able to max out your gigabit link with gocryptfs.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@jumoog
Comment options

Comment options

You must be logged in to vote
6 replies
@rfjakob
Comment options

@rfjakob
Comment options

@jumoog
Comment options

@rfjakob
Comment options

Answer selected by jumoog
@jumoog
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants