Mikrotik routerboard (CRS305-1G-4S+in) traffic generator 10Gbps and self loopback on port

Hey! Recently we bought Mikrotik routerboard (CRS305-1G-4S+in) running routerOS. We want test of our components by a self loopback. We’ll generate data from traffic generator and send it from TX of SFP+ port (say)1 and we want to receive the data on RX of the same SFP+ port. We’re facing 2 issues:When we generate traffic while logging in from a web browser, it generates max of 1300 Mbps on the other hand the ssh terminal gives only 120kbps. Also what is the maximum speed which we can achieve with mikrotik routeros traffic-generator?
When I connect the sfp cable to the SFP+ port, it hangs the system and the system resumes when I detach it from the port. Why is that?
Please find the script which I use for running the traffic generator from the terminal please suggest changes if any:
single port self-loopback:

/ip address add address=192.168.88.10/24 interface=sfp-sfpplus1 network=192.168.88.0; /tool traffic-generator port add interface=sfp-sfpplus1 name=port1; /tool traffic-generator packet-template add name=template-1 port=port1 ip-gateway=192.168.88.20 ip-src=192.168.88.10; /tool traffic-generator packet-template print; /tool traffic-generator stream add name=stream-1 packet-size=1500 mbps=10000 pps=10 tx-template=template-1; /tool traffic-generator quick tx-template=template-1 duration=4s packet-size=1500 mbps=10000 pps=10 entries-to-show=100 freeze-frame-interval=1s interface=sfp-sfpplus1

To remove the variables set by the script: /ip address print; /ip address remove numbers=1; /ip address print; /ip address remove numbers=1; /ip address print; /tool traffic-generator port remove port1; /tool traffic-generator port remove port2; /tool traffic-generator packet-template remove template-1; /tool traffic-generator stream remove stream-1.

Thanks in advance!

Sincerely,
Maitreya Milind Ranade.

Digital Design Engineer,
Astrome Technologies,
Bangalore, India

traffic generator essentially a packet generator that runs on the CPU.
CRS305 is mainly a switch. so it can deliver non blocking switching performance, but the CPU is far from that. check out the block diagram:

https://i.mt.lv/cdn/rb_files/CRS305-1G-4Splus-181016084346.png

what you see here is the upper limits you can squeeze out from the CPU, that is basically a dual core ARMv7 jobbie.
https://www.marvell.com/switching/assets/Prestera_98DX3336_pb.pdf


if you want to do wire-speed-ish traffic generation, look at the CCR series. i’ve used once a CCR1072 to test a 100GE card on an ASR9k, by driving 8x10GE ports on one device. it can really generate 80Gbps traffic. CRS305 will happily switch the frames but falls short when the CPU has to process/generate packets or frames.