I am having a strange behaviour with a brand new hEX and my new connection:
I activated a new line 40mbit/40mbit and config’d the Mikrotik router as follow (very simple for testing):
[admin@MikroTik] > export
# feb/22/2016 14:12:11 by RouterOS 6.35rc12
/interface ethernet
set [ find default-name=ether1 ] name=ether1-gateway
set [ find default-name=ether2 ] name=ether2-master-local
set [ find default-name=ether3 ] master-port=ether2-master-local name=ether3-slave-local
set [ find default-name=ether4 ] master-port=ether2-master-local name=ether4-slave-local
set [ find default-name=ether5 ] master-port=ether2-master-local name=ether5-slave-loca
/interface l2tp-server server
set max-sessions=unlimited
/ip address
add address=10.0.0.xxx/24 interface=ether2-master-local network=10.0.0.0
add address=xx.xx.xx.xxx/29 interface=ether1-gateway network=xx.xx.xx.xxx
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4
/ip firewall nat
add action=masquerade chain=srcnat comment="default configuration" out-interface=ether1-gateway
/ip route
add distance=1 gateway=xx.xx.xx.xxx
/system routerboard settings
set cpu-frequency=720MHz protected-routerboot=disable
Now when I try to upload or download from a pc connected to the hEX gw (used for testing a ftp trasfer between a remote server I manage on 500mbit line) I get around 15mbit speed in download and 10mbit speed in upload. Sometimes It starts higher around 28mbit but drop down quickly to the above speed.
But when I try to swap the hEX router with a pfsense box I got, I get full speed both in download and upload.
Any idea which can be the problem with the mikrotik? As I know the hw on it should handle well the speed.
is interface properly auto-negotiate “full-duplex” 100Mb mode ? check status. and in case - try to force it to 100 full-duplex temporally.
you can overclock most HEX exemplars to 840Mhz without problem(1-2 degrees difference in temps).
try play with syncookies disabled (cuz its interfere with tcp window scaling and help congestion), temporally.
if thats not helps - change interface queue types from “none” defaults to pfifo (with 128-512 packet buffer), but thats generally not flawless idea.
most of mine HEX and HAP routers - done around 90-120Mbps even with “hard” traffic(torrenting and huge pps count)very fragmented and consumers with simpler config - can easily have up to 200mb.
pfsense box has 1ghz dual core cpu, added the fasttrack but nothing changed
the interfaces properly negotiate 1Gbs full-duplex (chcked in both hEX and the switch CRS where hex is connected).
Syncookies was already disabled, tried enabling it but no luck.
Changed the queue type for interfaces but no luck again.
I even tried for testing to route all packet to the pfsense box as follow:
Cisco → hEX → pfSense → LAN
and I had no problem, download and upload at max speed of the connection. It seems like it’s something related to gateway interfaces but I have no idea where to look at.
I attach again the actual config as above with re-routing packet to pfSense box:
some devices (say SMC or HP-branded “by default” or some other(like ancient 3Com things too, for example))tend to behave errativally in case of detection of “flow control” disabled and trying “mitigate” it way to agressive even in full-duplex. thats unusual, but even rfc-compliant vendors had that issues in some of early betas in past(say juniper or alcatel/lucent BRAS/routers)firmwares so try for example - turn “on”(not “auto”) flow-control on interfaces temporally to check that out.