I am starting a new thread.
In performance test, the CRS312-4C+8XG cannot switch VLANs faster than 600Mb/s (with 10GB fiber attached) and the CPU reaches 100%.
I am aware that I can use H3 offloading, but my CCR2004 can readh 5Gb/s and this is enough for me.
This is RouterOS 7.1 rc3. When using swOS I can reach maximum speed, but the switch makes too much noise, so I came back to RouterOS.
Hardware L2 offloading seems to be configured.
The CRS312-4C+8XG switch seems to be the culprit, so any help is appreciated.
At some point, traffic is going throuh the CPU, by where?
Bandwidth test shows:
Code: Select all
Columns: NAME, USAGE
NAME USAGE
www 0%
ethernet 3.5%
ntp 0%
console 0.5%
networking 51.5%
logging 0%
management 2%
btest 15%
profiling 0%
bridging 18.5%
unclassified 9%
total 100%
Code: Select all
/interface bridge port print
Flags: I - INACTIVE; H - HW-OFFLOAD
Columns: INTERFACE, BRIDGE, HW, PVID, PRIORITY, PATH-COST, INTERNAL-PATH-COST, HORIZON
# INTERFACE BRIDGE HW PVID PRIORITY PATH-COST INTERNAL-PATH-COST HORIZON
;;; defconf
0 I ether9 *E 1 0x80 10 10 none
1 H ether1 BR1 yes 40 0x80 10 10 none
2 IH ether2 BR1 yes 20 0x80 10 10 none
3 H ether3 BR1 yes 30 0x80 10 10 none
4 H ether4 BR1 yes 40 0x80 10 10 none
5 IH ether5 BR1 yes 50 0x80 10 10 none
6 H ether6 BR1 yes 60 0x80 10 10 none
7 H ether7 BR1 yes 70 0x80 10 10 none
8 H ether8 BR1 yes 40 0x80 10 10 none
9 H combo1 BR1 yes 70 0x80 10 10 none
10 H combo4 BR1 yes 1 0x80 10 10 none
11 IH combo2 BR1 yes 1 0x80 10 10 none
12 IH combo3 BR1 yes 1 0x80 10 10 none
Here is my configuration:
Code: Select all
# model = CRS312-4C+8XG
/interface bridge
add admin-mac=2C:C8:1B:B3:EF:71 auto-mac=no comment=defconf name=BR1 pvid=30 vlan-filtering=yes
/interface ethernet switch
set 1 cpu-flow-control=no
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/interface bridge port
add comment=defconf interface=ether9
add bridge=BR1 fast-leave=yes frame-types=admit-only-untagged-and-priority-tagged interface=ether1 pvid=40
add bridge=BR1 fast-leave=yes frame-types=admit-only-untagged-and-priority-tagged interface=ether2 pvid=20
add bridge=BR1 fast-leave=yes frame-types=admit-only-untagged-and-priority-tagged interface=ether3 pvid=30
add bridge=BR1 fast-leave=yes frame-types=admit-only-untagged-and-priority-tagged interface=ether4 pvid=40
add bridge=BR1 fast-leave=yes frame-types=admit-only-untagged-and-priority-tagged interface=ether5 pvid=50
add bridge=BR1 fast-leave=yes frame-types=admit-only-untagged-and-priority-tagged interface=ether6 pvid=60
add bridge=BR1 fast-leave=yes frame-types=admit-only-untagged-and-priority-tagged interface=ether7 pvid=70
add bridge=BR1 fast-leave=yes frame-types=admit-only-untagged-and-priority-tagged interface=ether8 pvid=40
add bridge=BR1 fast-leave=yes frame-types=admit-only-untagged-and-priority-tagged interface=combo1 pvid=70
add bridge=BR1 fast-leave=yes interface=combo4
add bridge=BR1 fast-leave=yes interface=combo2
add bridge=BR1 fast-leave=yes interface=combo3
/interface bridge vlan
add bridge=BR1 tagged=combo4 untagged=ether2 vlan-ids=20
add bridge=BR1 tagged=combo4 untagged=ether3,BR1 vlan-ids=30
add bridge=BR1 tagged=combo4 untagged=ether4,ether8,ether1 vlan-ids=40
add bridge=BR1 tagged=combo4 untagged=ether5 vlan-ids=50
add bridge=BR1 tagged=combo4 untagged=ether6 vlan-ids=60
add bridge=BR1 tagged=combo4 untagged=ether7,combo1 vlan-ids=70
/ip address
add address=192.168.88.1/24 comment=defconf interface=ether9 network=192.168.88.0
add address=10.90.30.250/24 interface=BR1 network=10.90.30.0
/ip dns
set allow-remote-requests=yes servers=10.90.30.254
/ip route
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/32 gateway=10.90.30.254 pref-src="" routing-table=main suppress-hw-offload=no
/system clock
set time-zone-name=Europe/Paris
/system ntp client
set enabled=yes
/system ntp server
set enabled=yes
/system ntp client servers
add address=192.168.1.254
/system package update
set channel=development
/system routerboard settings
set boot-os=router-os
/system swos
set allow-from-ports=p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11,p12 identity=swMikroTik static-ip-address=192.168.88.2
/tool bandwidth-server
set authenticate=no enabled=no