I am still changing my mind what caused the problem
. It did affect to the copy speed and it did affect my iperf3 tests. But I couldn't accept the fact that decent virus scanner would slow me down to 30-50 mb/s with fast system/enviroment. I did try to reproduce the problem and I think what actually did fix it and I forgot to mention earlier that I did mess some smb settings
I did put in few lines in the smb.conf
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072
min receivefile size = 16384
I think these are far from optimal but I am getting now steady 300-400 MB/s between shares (with virusprotection on) and it is quick enough for now. I will try to educate myself on smb optimization for 10gbe.. maybe I can squeezee few more MB/s out of it.