On Mon, May 27, 2013 at 05:54:01PM -0300, Gabriel Tolón wrote: > Hi, > > I want to test TP-Link WDR3500 performance using iperf. According to > TP-Link specifications, they could reach up to 600 Mbps using both 2.4 > and 5 GHz bands. The problem is that as they are 100Mbps Ethernet, if I > run iperf from a PC connected to the Ethernet port, I'll be limited to > 100Mbps. On the other hand, when running iperf from inside the routers, > they don't transmit more than 50 Mbps, limited by the processor. > > I've read that removing some kernel modules like iptables it would be > possible to increase throughput when running iperf in routers, so I've > been trying with rmmod, but I couldn't remove iptables modules, I get > for example: > > root@OpenWrt:/# rmmod ip_tables > rmmod: can't unload 'ip_tables': Resource temporarily unavailable > > I guess that's because some dependencies, so I tried removing other > modules first, without success. Also I searched for a modprobe package > in opkg, but I couldn't find it. > > I'd appreciate some ideas on how to achieve these measurements. Thanks!
Hello Gabriel, I'd like to suggest you another way. In batman-adv[0] we are currently developing an in-kernel bandwidth meter[1][2]. It is entirely implemented inside the batman-adv module and therefore it completely runs in kernel-space. This means that you do not have any context-switch or slow memory operations which hurt a lot the performance on our weak routers. It is in a "beta" stage, meaning that it has been tested on VMs and real nodes, but only by the devs. It would be nice if you would like to give it a try :) IPtables is not a problem in this case because the inner batman-adv traffic is not inspected. To use it you need to install the batman-adv-devel package because the Bandwidth Meter is not part of any stable release yet. You can read how to install the proper feed and the package here[3]. The commit ID you should configure in order to use the BW meter are: batman-adv: 38a1b72b6 batctl: eebba0bfb On [1] and [2] you will find the instructions on how to run the tool. Since it is a testing phase, any feedback would be really appreciated!! If you are totally new to batman-adv and mesh networking in general I'd recommend you to read [0] and some more doc first... :-) Cheers, [0] http://www.open-mesh.org/projects/batman-adv/wiki/Wiki [1] http://www.open-mesh.org/projects/batman-adv/wiki/Bandwidth_meter [2] http://www.open-mesh.org/projects/batman-adv/wiki/Bandwidth_meter_debug [3] http://www.open-mesh.org/projects/batman-adv/wiki/Building-with-openwrt > > Gabriel > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel -- Antonio Quartulli ..each of us alone is worth nothing.. Ernesto "Che" Guevara
signature.asc
Description: Digital signature
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel