Community discussions

MikroTik App
 
User avatar
inteq
Member
Member
Topic Author
Posts: 412
Joined: Wed Feb 25, 2015 8:15 pm
Location: Romania

Slow Samba over internal NAT

Sun Mar 10, 2024 1:48 am

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
/ip pool
add name=local ranges=192.168.102.2-192.168.102.199
/ip dhcp-server
add add-arp=yes address-pool=local interface=ether2 lease-time=1d name=local
/ip address
add address=192.168.102.1/24 interface=ether2 network=192.168.102.0
/ip dhcp-client
add interface=ether1
/ip dhcp-server network
add address=192.168.102.0/24 dns-server=192.168.102.1 gateway=192.168.102.1
/ip dns
set allow-remote-requests=yes
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
/ip firewall service-port
set ftp disabled=yes
set tftp disabled=yes
set h323 disabled=yes
set sip disabled=yes
set pptp disabled=yes
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/system ntp client
set enabled=yes
/system ntp client servers
add address=pool.ntp.org
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: GuiDor, marek263, okw and 37 guests