Bug 13163 - Speed drops considerably when connection is encrypted
Speed drops considerably when connection is encrypted
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: libsmbclient
All All
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2017-11-23 12:13 UTC by Bastien Nocera
Modified: 2017-11-24 13:34 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Bastien Nocera 2017-11-23 12:13:07 UTC
Using gvfs's smb backend, which uses libsmbclient, forcing encryption usage if available, the transfer speed reduces from around 26-27 MB/s to around 8-9 MB/s.

Is this a server, or a client problem, or a mix of both?
Comment 1 Stefan Metzmacher 2017-11-23 12:16:27 UTC
(In reply to Bastien Nocera from comment #0)


Samba 4.7 supports aes hardware encryption on intel compatible hardware.
configure supports --accel-aes=intelaesni
Comment 2 Bastien Nocera 2017-11-24 13:34:32 UTC
(In reply to Stefan Metzmacher from comment #1)

That helps a fair bit, it's a shame my server doesn't have any acceleration code available though.