OpenWrt Forum Archive

Topic: Slow Wireless Performance WRT54G v4

The content of this topic has been archived on 22 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I was pretty excited to be able to get the current build of kamikaze with the x-wrt extensions up and running on my WRT54G v4.

Software was installed from http://downloads.x-wrt.org/xwrt/kamikaz … uashfs.bin which has a build date of Tue Aug 26 04:42:40 CDT 2008

Everything comes up nicely and I've been able to configure it similarly to the way I has been using it with Linksys firmware -- basically a pass-through wireless extension of my wired network. The issue is slow wireless performance, when compared to the Linksys firmware.

Testing was done by using a network copy of a very large bzip-compressed file
$ scp 192.168.6.5:/Volumes/seagate-750-video/macmini.20080813.tar.bz2 - > /dev/null
and watching the network throughput at the interface on the PowerBook G4
$ ifstat -b -i en0,en1 30

As a baseline, the first test was wired. ~70,000 kbps was seen, which isn't bad considering the PowerBook was maxed out for CPU and that the ethernet segment is only 100baseT. The PowerBook G4, running fully-patched Mac OS X 10.4.1,  is less than a meter from the Linksys, with a wood, lath, and plaster wall between. Turning on or off "Use Interference Robustness" did not make a significant difference. iStumbler was not running at the time the measurements were made.

Looking at wireless performance, a comparison was made between the Linksys 4.21 firmware and the Kamikaze 7.09 on several channels. Kamikaze looks to be about 1/3 the speed of the original firmware.

Channel  Linksys    Kamikaze
   1      14,500     4,700 kbps
   3      15,000     5,100
   6      12,500     5,400

(Speeds in kbps, as indicated by ifstat)

Load average is well below 0.1 with top showing something like 5% CPU utilization.

I haven't been able to build a new version as suggested in Ticket: 2639 as the environment isn't building on the Mac right now.

Any idea where else to start on diagnosing this one?

Wifi on WL-500gP is getting slow has the somewhat discouraging

wwwcad wrote:

Same Problem here in a WRT54gv4 ..

THIS IS A PROBLEM OF KAMIKAZE.. I just config one of the routers with this problem with a white russian and evereything was back to ok...

Configuration

root@MediaNet15:/etc/config# cat network 
#### VLAN configuration 
config switch eth0
    option vlan0    '0 1 2 3 4* 5*'
    option vlan1    '4* 5*'


#### Loopback configuration
config interface loopback
    option ifname    "lo"
    option proto    static
    option ipaddr    127.0.0.1
    option netmask    255.0.0.0


#### LAN configuration
config interface lan
    option type     bridge
    option ifname    "eth0.0"
    option proto    static
    option ipaddr    '192.168.6.253'
    option netmask    255.255.255.0
    option gateway    '192.168.6.1'
    option dns    '192.168.6.1'


#### WAN configuration
config interface    wan
    option ifname    "eth0.1"
    option proto    'none'

root@MediaNet15:/etc/config# cat wireless
config wifi-device  wl0
    option type     broadcom
    option channel    '1'
    option distance    '100'
    option disabled    '0'

    # REMOVE THIS LINE TO ENABLE WIFI:

config wifi-iface
    option device   wl0
    option network    lan
    option mode     ap
    option ssid    'MediaNet15'
    option encryption    'psk2'
    option hidden    '0'
    option isolate    '0'
    option bgscan    '0'
    option wds    '0'
    option key    '<my PSK here>'
wl0       Link encap:Ethernet  HWaddr 00:14:BF:31:7F:FF  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:445508 errors:0 dropped:0 overruns:0 frame:13772
          TX packets:886130 errors:24 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:30170732 (28.7 MiB)  TX bytes:1335930158 (1.2 GiB)
          Interrupt:2 Base address:0x5000

(Last edited by jeffster on 28 Aug 2008, 01:55)

With more current build, now showing comparable performance to "stock" Linksys 4.21

Build now is c. [12419] from x-wrt snapshots. Apparently before [12422] as can't log in to webif^2.

    root@OpenWrt:~# opkg list
    base-files-brcm-2.4 - 13-r12419 -
    bridge - 1.0.6-1 -
    busybox - 1.11.1-1 -
    dnsmasq - 2.45-1 -
    dropbear - 0.51-1 -
    firewall - 1-1 -
    haserl - 0.9.24-1 -
    iptables - 1.3.8-3 -
    iptables-mod-extra - 1.3.8-3 -
    iptables-mod-ipopt - 1.3.8-3 -
    kernel - 2.4.35.4-brcm-2.4-1 -
    kmod-brcm-wl - 2.4.35.4+4.150.10.5.2-brcm-2.4-1 -
    kmod-diag - 2.4.35.4-brcm-2.4-4 -
    kmod-ipt-extra - 2.4.35.4-brcm-2.4-1 -
    kmod-ipt-ipopt - 2.4.35.4-brcm-2.4-1 -
    kmod-ipt-nathelper - 2.4.35.4-brcm-2.4-1 -
    kmod-ppp - 2.4.35.4-brcm-2.4-1 -
    kmod-pppoe - 2.4.35.4-brcm-2.4-1 -
    kmod-switch - 2.4.35.4-brcm-2.4-1 -
    kmod-wlcompat - 2.4.35.4+4.150.10.5.2-brcm-2.4-1 -
    libgcc - 3.4.6-13 -
    libuci - 0.6.1-1 -
    mtd - 7 -
    nas - 4.150.10.5.2-1 -
    nvram - 1 -
    opkg - 4564-1 -
    ppp - 2.4.3-10 -
    ppp-mod-pppoe - 2.4.3-10 -
    uci - 0.6.1-1 -
    uclibc - 0.9.29-13 -
    webif - 0.3-4427 -
    wireless-tools - 29-2 -
    wlc - 4.150.10.5.2-1 -

(Last edited by jeffster on 29 Aug 2008, 02:20)

The discussion might have continued from here.