On Wed, Jun 23, 2010 at 9:20 PM, Claudio Jeker <[email protected]> wrote:
>
> We need to make sure it does not break something. This diff can affect
> both bridge(4) and trunk(4) so both setups need to be tested with
> various setting of promisc interfaces.
I've done some performance testing for various combinations of trunk
and promiscuous mode, below. I can't see any difference in performance
with or without the patch.
Raw data is up at [1] for those interested. I plan to start setting
OpenBSD as our replacement router over the next few days, and it'll
get some real-world testing once I do that. I haven't noticed any odd
behaviour in the time I've been running these performance tests.
### em1
Throughput (Mb/s)
PROMISC PROMISC -PROMISC -PROMISC
patch no patch patch no patch
Receive 880.50 883.75 884.40 883.50
Transmit 792.25 796.75 847.67 846.50
CPU (system %)
PROMISC PROMISC -PROMISC -PROMISC
patch no patch patch no patch
Receive 56.38 61.62 57.18 58.18
Transmit 88.10 89.60 87.12 89.10
Transmit (400) 93.85 90.10 90.85 90.60
CPU (interrupts %)
PROMISC PROMISC -PROMISC -PROMISC
patch no patch patch no patch
Receive 33.25 29.95 32.20 32.45
Transmit 7.40 7.40 7.15 7.40
Transmit (400) 4.25 4.25 4.50 4.75
### trunk1
Throughput (Mb/s)
PROMISC PROMISC -PROMISC -PROMISC
patch no patch patch no patch
Receive 883.00 882.50 885.75 880.50
Transmit 781.50 780.50 798.50 799.25
CPU (system %)
PROMISC PROMISC -PROMISC -PROMISC
patch no patch patch no patch
Receive 56.90 56.25 58.65 57.53
Transmit 91.35 89.85 90.60 89.10
CPU (interrupts %)
PROMISC PROMISC -PROMISC -PROMISC
patch no patch patch no patch
Receive 32.53 33.40 29.95 32.85
Transmit 7.40 6.65 6.90 7.65
Cheers,
Patrick
--
http://www.labyrinthdata.net.au - WA Backup, Web and VPS Hosting
[1] iperf was used for all the measurments, to a directly-connected
Apple Macbook. Each test was performed four times, and system load
percentages recorded with top.
The OpenBSD hardware is an Intel(R) Xeon(TM) CPU 3.20GHz with a PCI-X
Intel PRO/1000MT QP (82546EB) quad-port gigabit NIC.
Receive tests: http://patrick.ld.net.au/openbsd-speed-tests-receive
Transmit tests: http://patrick.ld.net.au/openbsd-speed-tests-transmit