Hi all,
I have done some performance tests on my (not so typical) homenetwork for which I would like some comments/confirmation. Perhaps my config could/should be optimized or it is not “the way ROS is supposed to be used”, please let me know as well.
The bottomline is that using the IP Firewall under Bridges is a huge performance hit more so than I expected in the first place.
A bit of a wall of text, please bear with me.
- I have a RB2011USA-2HnD which has eth1 connected upstream and eventually reaching the Internet, eth2-5 have Netgear switches connected. Mainly Netgear GS724T and Netgear GS110T’s.
- On the RB2011 I have 5 vlans which propagate to all switches on eth2-5 and configured like this:
I have defined a bridge for each vlan. Each physical port has a vlan interface for each vlan, this vlan interface is connected to the corresponding bridge.
So eth2 has 5 vlan interfaces and these 5 vlan interfaces connect to their own bridge. As these bridges represent the 5 “security” zones, I can now use firewall rules to filter between bridges only as all traffic within a specific bridge is the same level.
I’m using iperf3 -s on a iMac and iperf3 -c x.x.x.x -b 0 -V -f m -i 1 on an Macbook. I have tested different packetsizes ranging from 64 to 1480. Each testresult is the average of 10 runs.
A packetsize of 256 and up yields similar results, packetsizes below are significantly slower on performance which can be expected so for the test the averages shown are from 256 bytes and up.
The results
The first two tests are to see the maximum performance possible on the components:
- Baseline test: macbook - direct cable - imac : 982 Mbits/s
- Baseline switch test: macbook - cable - Netgear GS724T - cable - imac : 935 Mbits/s
The next three tests are to see the performance of my ROS config and the impact of different settings. I’m using a RB951 for these three tests but the ROS config is exactly the same as on the RB2011 but without all the other traffic travelling my network;
3) Baseline ROS config test (Bridge do not Use IP Firewall) : macbook - cable - RB951 - cable - imac : 529 Mbits/s
4) Baseline ROS config test (Bridge Use IP Firewall) : macbook - cable - RB951 - cable - imac : 243 Mbits/s
5) Baseline ROS config test (Bridge Use IP Firewall and macbook/imac in different VLANs) : macbook - cable - RB951 - cable - imac : 190 Mbits/s
That is quite an impact. The next two tests, I have connected the macbook directly to the RB2011 on eth5
6) Full test (Bridge do not Use IP Firewall) : macbook - cable - RB2011 - house wall cabling - Netgear GS724T - cable - imac : 453 Mbits/s
7) Full test (Bridge Use IP Firewall and macbook/imac in different VLANs): macbook - cable - RB2011 - house wall cabling - Netgear GS724T - cable - imac : 145 Mbits/s
The final test is done on my full home network under normal operations (including Internet inbound/outbound traffic, Bridge IP Firewall + use firewall for VLAN, cross-VLAN’s, using the house cabling, wall outlets, switches and the RB2011:
8 ) Full test (Bridge Use IP Firewall and macbook/imac in different VLANs): macbook - cable - Netgear GS110T - house wall cabling - RB2011 - house wall cabling - Netgear GS724T - cable - imac : 126 Mbits/s
The RB2011 CPU is between 20%-55% during the testing. The performance hit is huge on using the IP Firewall for bridges and VLAN’s but even if I do not use the IP Firewall for the bridges, just the difference in throughput for two hosts residing in the same VLAN vs the throughput of hosts in different VLAN’s is big too.
I understand there will be performance loses on filtering, CPU vs switch chipset, cabling, distances but this is a bit more than I expected.
- Can anyone comment/confirm on what I’m seeing here?
- Am I using/testing this wrong?
- Would it make a difference if I replace the RB2011 with an CCR1009 for instance?
