Displaying 1 result from an estimated 1 matches for "bargate".
Did you mean:
margate
2017 Jun 11
0
libsmbclient: poor performance using SMB2/3
...of opendir() remains much the same, but calling stat() is about 40 times slower when using SMB2.
Time taken to open a directory in a share and stat all the files within it:
SMB2/3: ~14 seconds
SMB1: ~0.34 seconds
Here is a comparison when using libsmbclient through pysmbc in a web application (bargate.io):
SMB1: https://evad.io/img/smb1.png
SMB2/3: https://evad.io/img/smb2.png
Is this expected behaviour? Is libsmbclient not meant to be used with SMB2/3? Is there a better way to determine file size and things like modification time rather than call stat() ? Should smbcli be used rather than lib...