Community discussions

MikroTik App
 
aschulze
just joined
Topic Author
Posts: 4
Joined: Mon Jun 11, 2018 12:17 am

Performance problems with CRS112-8P-4S

Mon Jun 11, 2018 1:03 am

Hello,
I recently bought several Mikrotik devices. I have massive performance problems with all of them.
I will begin with the brandnew switch CRS112-8P-4S.
All devices in network are checked with nagios. The ping to switch CRS112 fails with packet loss.
  • the firmware on all Mikrotik devices is 6.42.3
  • a ping from a hAP ac to the CRS results in timeout for the first 7-10 pings, then the pings work
  • I have ping the switch from other devices with the same result.
  • a ping between two hAP ac are ok
  • the switching power seems to be ok, the connected computers can send and receive with the full bandwith of 1GBit.
  • a bandwith test between two hAP ac is ok and I have full bandwith
  • a bandwith test between a hAP ac and the CRS112 results in a low bandwith of max 100MBit
  • in this case the cpu load of the CRS112 is at 100%

What can I do for a good performance of the device with working pings???


And here is the configuration (based on a clean device):
# jun/18/2018 22:23:18 by RouterOS 6.42.3
# software id = T5VV-CUSH
#
# model = CRS112-8P-4S
# serial number = 84CAxxxxxxxx
/interface bridge
add admin-mac=CC:2D:E0:xx:xx:xx auto-mac=no name=bridge1
/interface ethernet
set [ find default-name=ether1 ] comment="Mikrotik hAP ac lite mit PoE"
set [ find default-name=ether2 ] comment="Arduino Messwerterfassung" poe-out=off
set [ find default-name=ether3 ] comment="PC werkstatt2016"
set [ find default-name=ether5 ] comment="Siemens LOGO" poe-out=off
set [ find default-name=ether6 ] comment="Siemens LOGO" poe-out=off
set [ find default-name=ether7 ] comment="Siemens LOGO" poe-out=off
set [ find default-name=sfp9 ] comment="Fiber to main network rack"
set [ find default-name=sfp10 ] disabled=yes
set [ find default-name=sfp11 ] disabled=yes
set [ find default-name=sfp12 ] disabled=yes
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/system logging action
set 3 remote=192.168.10.90
/interface bridge port
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
add bridge=bridge1 interface=ether6
add bridge=bridge1 interface=ether7
add bridge=bridge1 interface=ether8
add bridge=bridge1 interface=sfp9
add bridge=bridge1 interface=sfp10
add bridge=bridge1 interface=sfp11
add bridge=bridge1 interface=sfp12
/interface detect-internet
set detect-interface-list=all internet-interface-list=all lan-interface-list=all wan-interface-list=all
/interface list member
add interface=ether1 list=LAN
add interface=ether2 list=LAN
add interface=ether3 list=LAN
add interface=ether4 list=LAN
add interface=ether5 list=LAN
add interface=ether6 list=LAN
add interface=ether7 list=LAN
add interface=ether8 list=LAN
add interface=sfp9 list=WAN
add interface=sfp10 list=LAN
add interface=sfp11 list=LAN
add interface=sfp12 list=LAN
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=bridge1
/snmp
set enabled=yes location=werkstatt
/system clock
set time-zone-name=Europe/Berlin
/system identity
set name=switch-werkstatt
/system logging
add action=remote topics=critical
add action=remote topics=error
add action=remote topics=info
add action=remote topics=warning
add disabled=yes topics=debug
/system ntp client
set enabled=yes
/system routerboard settings
set silent-boot=no
/tool bandwidth-server
set authenticate=no enabled=no
You do not have the required permissions to view the files attached to this post.
 
aschulze
just joined
Topic Author
Posts: 4
Joined: Mon Jun 11, 2018 12:17 am

Re: Performance problems with CRS112-8P-4S

Sun Jul 01, 2018 3:43 pm

Hello,
the further investigation locate the problem in the "Detect Internet" functionality.
  • the device requested two IP-addresses from DHCP server. One for the bridge and one for the port which was connected to an other switch with connection to the internet
  • I don't know why the Detect Internet functionality was active
After deactivation of the functionality the device only requests one IP-address as axpected and now I can ping the CRS112 without timeouts and I can ping other devices from CRS112 without timeouts.
To the bandwith test issue the Mikrotik support says this is normal, the device has a slow CPU. Hmm...
 
User avatar
vecernik87
Forum Veteran
Forum Veteran
Posts: 882
Joined: Fri Nov 10, 2017 8:19 am

Re: Performance problems with CRS112-8P-4S

Mon Jul 09, 2018 11:21 am

If you want to test bandwidth, use three devices - one RX, one TX and between them, put the measured device. That way your results will be not affected by btest process.
Switch simply don't have enough power to process so many packets in CPU. This is not performance issue but simple result of chosen hardware.
 
bph
just joined
Posts: 4
Joined: Mon Mar 03, 2014 8:46 pm

Re: Performance problems with CRS112-8P-4S

Mon Oct 29, 2018 5:45 pm

If you want to test bandwidth, use three devices - one RX, one TX and between them, put the measured device. That way your results will be not affected by btest process.
Switch simply don't have enough power to process so many packets in CPU. This is not performance issue but simple result of chosen hardware.
This might be true, but:

1. A device in 2018 that can't handle wire-speed is pretty much garbage.
2. The $75 Mikrotik devices out-perform this $225 device.
3. I can't buy any more of these because if you try to use any of the features it drops the speed of your network.

The form factor is perfect. We would use this in every one of our distribution points.... if it would work.

It's a shame that such an otherwise ideal device has such a serious shortcoming as to make it unusable in production.
 
R1CH
Forum Guru
Forum Guru
Posts: 1099
Joined: Sun Oct 01, 2006 11:44 pm

Re: Performance problems with CRS112-8P-4S

Mon Oct 29, 2018 6:27 pm

The "S" in CRS112-8P-4S stands for SWITCH. Stop trying to use it as a router and you won't have these problems.

the switching power seems to be ok, the connected computers can send and receive with the full bandwith of 1GBit.
 
5c00byd00
just joined
Posts: 1
Joined: Mon Sep 16, 2019 9:24 am

Re: Performance problems with CRS112-8P-4S

Mon Sep 16, 2019 9:28 am

Is the best way to use these just as a switch to add a bridge and add all ports to the bridge?
I noticed the CPU increased significantly when adding VLANs even without any routing.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11433
Joined: Thu Mar 03, 2016 10:23 pm

Re: Performance problems with CRS112-8P-4S

Mon Sep 16, 2019 12:02 pm

Is the best way to use these just as a switch to add a bridge and add all ports to the bridge?
I noticed the CPU increased significantly when adding VLANs even without any routing.

CRS1xx don't offload much to hardware automatically. If they are only used as simple switches (no fancy features used), then the method of creating bridge and adding all ports to it is the way to go.
When you start using some fancy features (and yes, VLANs count as fancy on CRS1xx), you have to go with hardware config to unleash full performance ... see CRS1xx/CRS2xx manual.

Who is online

Users browsing this forum: Ahrefs [Bot], InfraErik, johnson73 and 63 guests