I did some tests about routing performance. rb450g with openwrt can route about 23 kpps RX counter and 23 kpps TX (four "ping -f" in my PCs through rb450g). In Cisco kind of measurement it is 46 kpps total performance or so.
root@rb450g:~# lsmod
Module Size Used by Not tainted
sch_htb 12384 2
sch_sfq 4416 2
cls_route 5040 4
act_police 3328 2
iptable_filter 768 0
ip_tables 8464 1 iptable_filter
x_tables 9312 1 ip_tables
leds_gpio 1456 0
button_hotplug 2576 0
gpio_buttons 1968 0
input_polldev 1360 1 gpio_buttons
input_core 16896 4 button_hotplug,gpio_buttons,input_polldev
root@rb450g:~#
I unloaded all conntrack and nat modules. "top" was
CPU: 0% usr 0% sys 0% nic 13% idle 0% io 0% irq 86% sirq
http://mikc.ru/files/docs/tests2010.pdf -- here is no exactly rb450 but rb400 and rb750G. So they at 3 times more (70-90kpps). They use Agilent N2X , I don't know how it works but they results in 2-3 times faster.
I'll try to use linux packet kernel generator but need some free time for this tests ...
My strange iperf results are:
1. [ 3] 0.0-60.0 sec 2.37 GBytes 339 Mbits/sec <- client is on eth0 (Eth1/PoE)
CPU was about 75% sirq
2. [ 3] 0.0-120.0 sec 8.62 GBytes 617 Mbits/sec <- client in on eth1.10 (Eth2)
CPU was about 95% sirq
Why such difference ? :-).
I have questions about vlan setup:
1. At this moment we can use 1-32 vlan tags and no other numbers, isn't it ?
2. The default generated config for vlan contains all ports, is it right ?
I think it shoud to not contain port 5 (eth0)
config switch_vlan
option device eth1
option vlan 1
option ports "0 1 2 3 4 5" <- 5 is eth0
Also I tried this test vlan 10
config switch_vlan
option device eth1
option vlan 10
option ports "0t 1t 2t 3t 4t 5t"
and eth0 does not see tag 10 packets by tcpdump, i.e. works right.
So there is 6 ports (0 1 2 3 4 5) , one of them internal (to eth1) , one is eth0. Configuration of some vlan should have five not six port numbers (0 1 2 3 4). Where am I misstaken ?
Has anyone right /etc/config/network example where ich port is separate l3 interface ?
(Last edited by warm on 15 Mar 2010, 10:22)