Bekijk de volledige versie : NAT - Speed - Comparison

27-06-2008, 23:26
Hi all,

I have just done some traffic speed tests with different firmwares.

Hardware: ASUS WL500g Premium

Test method:
- LAN side: dd if=/dev/zero bs=1m | nc 24101
- WAN side: nc -l -p 24101 | dd of=/dev/null bs=1M

ASUS original - 10 MByte/s
ASUS custom by Oleg - 10 MByte/s
FreeWRT 1.0.3 - 4.5 MByte/s
FreeWRT trunk kernel 2.4 - 4.5 MByte/s
OpenWRT 7.09 kernel 2.4 - 4.5 MByte/s
OpenWRT 7.09 kernel 2.6 - 3.2 MByte/s
DD-WRT v24 - 4.2 MByte/s

Due to the test method I do not like to give more precise results, but I did several tests to be sure that the significance of the results is quite correct.

The firmwares have been used without any modifications, but these two commands entered in OpenWRT and FreeWRT:

iptables -t nat -A POSTROUTING -o eth0.1 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward

The question is how comes that the ASUS original firmware and also the one customized by Oleg is twice as fast as any of the others?

Best wishes from Cologne (Germany),