Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15172

General • Slow Samba over internal NAT

$
0
0
I am testing a new toy in the form of MS-01 from Minisforum.
I have Proxmox on it with P-Unlimited CHR. One 2.5 Gb/s nic as WAN and one 10 Gb/s nic as LAN.
No firewall at all and CPU barely hits 6% during tests.
I can run iperf3 through this MS-01 from my PC connected at 10 Gb/s to my NAS connected also at 10 Gb/s and get a steady 2.5 Gb/s both ways (limited by intel I226 on WAN at 2.5 Gb/s)
I can run Openspeedtest from my PC to the NAS and also get a steady 2.5 Gb/s up and down.
But, if I try to copy something from my NAS through Samba, downloading is limited somehow to 40-60 MB/s while uploading from my PC to NAS can reach 200 MB/s.
I have to mention that if I plug my PC directly in the switch and bypass this second router, I get 10 Gb/s on Samba, with the same cables.

A small diagram showing my basic setup
diagram.jpg
I know it is non-sense to test Samba over a WAN link, but at this stage I am just trying to understand the limits and quirks of this MS-01. Also learning Proxmox because F Broadcom.
So I guess the question is: what could limit the download speed to 40-60 MB/s in this scenario? MTU is 1.500 everywhere.

Router config
Code:
/ip pooladd name=local ranges=192.168.102.2-192.168.102.199/ip dhcp-serveradd add-arp=yes address-pool=local interface=ether2 lease-time=1d name=local/ip addressadd address=192.168.102.1/24 interface=ether2 network=192.168.102.0/ip dhcp-clientadd interface=ether1/ip dhcp-server networkadd address=192.168.102.0/24 dns-server=192.168.102.1 gateway=192.168.102.1/ip dnsset allow-remote-requests=yes/ip firewall natadd action=masquerade chain=srcnat out-interface=ether1/ip firewall service-portset ftp disabled=yesset tftp disabled=yesset h323 disabled=yesset sip disabled=yesset pptp disabled=yes/ip serviceset telnet disabled=yesset ftp disabled=yesset www disabled=yesset api disabled=yesset api-ssl disabled=yes/system ntp clientset enabled=yes/system ntp client serversadd address=pool.ntp.org

Statistics: Posted by inteq — Sun Mar 10, 2024 1:48 am



Viewing all articles
Browse latest Browse all 15172

Trending Articles