Sascha_1977
New Member
My system:
Ubuntu 20.04.3 LTS 64Bit
Kernel 5.11.0-38-generic
Intel(R) Core(TM) i3-7100 CPU @ 3.90GHz
16GB Ram
Network Intel Corporation I211 Gigabit Network Connection
I've had the problem for a while that the SMB performance just randomly drops (strangely enough as if suddenly there was only a 100Mbit connection ... but I have GBit) and only then returns to the old speed when I restart smbd. Before that it stays at up to 100Mbit. No errors in the smb.log by the way. What did I do until now?
- System reinstalled
- iperf / With this I have stable 940-960 Mbit without any drops
- tried several other kernels
- played around with the smb.conf
I am now at my wit's end. I also tried to use a USB 3.0 network card. With iperf I get 940-060 Mbit permanently.
By the way, the same phenomenon with netatalk. So it must have something to do with the kernel or?
I have this in the global section of the smb.conf. This conf was working without problems in the past.
And this on the share level:
I also installed a VM with Debian on this machine and installed Samba there. Strangely enough, there are no collapses here. And that on the same hardware. Very odd thing.
Ubuntu 20.04.3 LTS 64Bit
Kernel 5.11.0-38-generic
Intel(R) Core(TM) i3-7100 CPU @ 3.90GHz
16GB Ram
Network Intel Corporation I211 Gigabit Network Connection
I've had the problem for a while that the SMB performance just randomly drops (strangely enough as if suddenly there was only a 100Mbit connection ... but I have GBit) and only then returns to the old speed when I restart smbd. Before that it stays at up to 100Mbit. No errors in the smb.log by the way. What did I do until now?
- System reinstalled
- iperf / With this I have stable 940-960 Mbit without any drops
- tried several other kernels
- played around with the smb.conf
I am now at my wit's end. I also tried to use a USB 3.0 network card. With iperf I get 940-060 Mbit permanently.
By the way, the same phenomenon with netatalk. So it must have something to do with the kernel or?
I have this in the global section of the smb.conf. This conf was working without problems in the past.
Code:
read raw = Yes
write raw = Yes
#socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=262144 SO_SNDBUF=262144
min receivefile size = 16384
use sendfile = true
aio read size = 16384
aio write size = 16384
usershare max shares = 0
And this on the share level:
Code:
follow symlinks = yes
wide links = no
oplocks = NO
level2 oplocks = NO
path = /mnt/sync
read only = no
valid users = pi
public = yes
writable = yes
comment = smb share
printable = no
browseable = yes
create mask = 0640
directory mask = 0750
I also installed a VM with Debian on this machine and installed Samba there. Strangely enough, there are no collapses here. And that on the same hardware. Very odd thing.
Last edited: