[FS#111] [ath9k] Commit 207338c causes WiFi performance regression(160MBit -> 45MBit)

LEDE Bugs lede-bugs at lists.infradead.org
Mon Aug 22 19:46:19 PDT 2016


The following task has a new comment added:

FS#111 - [ath9k] Commit 207338c causes WiFi performance regression(160MBit -> 45MBit)
User who did this - Zhong Jianxin (azuwis)

----------
dmesg:


[    0.000000] Linux version 4.4.15 (azuwis at nuc) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1395) ) #0 Mon Aug 22 16:54:01 UTC 2016
[    0.000000] MyLoader: sysp=386477e0, boardp=fcd8fae0, parts=4b8df75b
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9344 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 804063d0, node_mem_map 81000000
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=TL-WDR4300  console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 125140K/131072K available (2955K kernel code, 153K rwdata, 744K rodata, 300K init, 200K bss, 5932K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:560.000MHz, DDR:450.000MHz, AHB:225.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6825930166 ns
[    0.000009] sched_clock: 32 bits at 280MHz, resolution 3ns, wraps every 7669584382ns
[    0.008679] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
[    0.081660] pid_max: default: 32768 minimum: 301
[    0.086922] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.094309] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.104647] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.116308] NET: Registered protocol family 16
[    0.122606] MIPS: machine is TP-LINK TL-WDR3600/4300/4310
[    0.131973] registering PCI controller with io_map_base unset
[    0.362097] PCI host bridge to bus 0000:00
[    0.366680] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.374381] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.380594] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.388175] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.397039] pci 0000:00:00.0: [168c:0033] type 00 class 0x028000
[    0.397070] pci 0000:00:00.0: invalid calibration data
[    0.402846] pci 0000:00:00.0: reg 0x10: [mem 0x10000000-0x1001ffff 64bit]
[    0.402934] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.403002] pci 0000:00:00.0: supports D1
[    0.403019] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.403245] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.403279] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit]
[    0.411449] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref]
[    0.419539] pci 0000:00:00.0: using irq 40 for pin 1
[    0.425847] clocksource: Switched to clocksource MIPS
[    0.432813] NET: Registered protocol family 2
[    0.438467] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.446289] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.453381] TCP: Hash tables configured (established 1024 bind 1024)
[    0.460561] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.467110] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.474375] NET: Registered protocol family 1
[    0.479327] PCI: CLS 0 bytes, default 32
[    0.480261] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.503286] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.509851] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.523362] io scheduler noop registered
[    0.527792] io scheduler deadline registered (default)
[    0.533719] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.541256] console [ttyS0] disabled
[    0.565315] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[    0.574946] console [ttyS0] enabled
[    0.582370] bootconsole [early0] disabled
[    0.593810] m25p80 spi0.0: found en25q64, expected m25p80
[    0.599357] m25p80 spi0.0: en25q64 (8192 Kbytes)
[    0.605166] 5 tp-link partitions found on MTD device spi0.0
[    0.610866] Creating 5 MTD partitions on "spi0.0":
[    0.615731] 0x000000000000-0x000000020000 : "u-boot"
[    0.622206] 0x000000020000-0x00000016185c : "kernel"
[    0.628875] 0x00000016185c-0x0000007f0000 : "rootfs"
[    0.635428] mtd: device 2 (rootfs) set to be root filesystem
[    0.641284] 1 squashfs-split partitions found on MTD device rootfs
[    0.647584] 0x000000340000-0x0000007f0000 : "rootfs_data"
[    0.654644] 0x0000007f0000-0x000000800000 : "art"
[    0.661045] 0x000000020000-0x0000007f0000 : "firmware"
[    0.674776] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[    0.742952] libphy: ag71xx_mdio: probed
[    1.337240] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    1.348719] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    1.357197] NET: Registered protocol family 10
[    1.365587] NET: Registered protocol family 17
[    1.370233] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.383157] 8021q: 802.1Q VLAN Support v1.8
[    1.395065] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.403629] Freeing unused kernel memory: 300K (80425000 - 80470000)
[    2.530533] init: Console is alive
[    2.534182] init: - watchdog -
[    3.524867] usbcore: registered new interface driver usbfs
[    3.530581] usbcore: registered new interface driver hub
[    3.536097] usbcore: registered new device driver usb
[    3.546661] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.554819] ehci-platform: EHCI generic platform driver
[    3.560269] ehci-platform ehci-platform: EHCI Host Controller
[    3.566157] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    3.576292] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    3.595887] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    3.603177] hub 1-0:1.0: USB hub found
[    3.607348] hub 1-0:1.0: 1 port detected
[    3.613276] init: - preinit -
[    4.244813] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    4.269974] random: procd urandom read with 7 bits of entropy available
[    5.427106] eth0: link up (1000Mbps/Full duplex)
[    5.431881] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.382396] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[    7.393323] urandom-seed: Seed file not found (/etc/urandom.seed)
[    7.588682] eth0: link down
[    7.602439] procd: - early -
[    7.605467] procd: - watchdog -
[    8.224308] procd: - ubus -
[    8.280081] procd: - init -
[    8.596016] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    8.615434] Loading modules backported from Linux version wt-2016-06-20-0-gbc17424
[    8.623161] Backport generated by backports.git backports-20160216-7-g5735958
[    8.633512] ip_tables: (C) 2000-2006 Netfilter Core Team
[    8.648956] nf_conntrack version 0.5.0 (1960 buckets, 7840 max)
[    8.690711] xt_time: kernel timezone is -0000
[    8.754779] PPP generic driver version 2.4.2
[    8.761692] NET: Registered protocol family 24
[    8.817369] ath: EEPROM regdomain: 0x0
[    8.817389] ath: EEPROM indicates default country code should be used
[    8.817399] ath: doing EEPROM country->regdmn map search
[    8.817421] ath: country maps to regdmn code: 0x3a
[    8.817432] ath: Country alpha2 being used: US
[    8.817442] ath: Regpair used: 0x3a
[    8.829655] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    8.834432] ieee80211 phy0: Atheros AR9340 Rev:2 mem=0xb8100000, irq=47
[    8.846956] ath: EEPROM regdomain: 0x0
[    8.846975] ath: EEPROM indicates default country code should be used
[    8.846985] ath: doing EEPROM country->regdmn map search
[    8.847006] ath: country maps to regdmn code: 0x3a
[    8.847017] ath: Country alpha2 being used: US
[    8.847027] ath: Regpair used: 0x3a
[    8.857398] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[    8.862223] ieee80211 phy1: Atheros AR9300 Rev:4 mem=0xb0000000, irq=40
[   16.327400] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   16.334421] jffs2_build_filesystem(): unlocking the mtd device... done.
[   16.341190] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   21.131936] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   21.163346] device eth0.1 entered promiscuous mode
[   21.168274] device eth0 entered promiscuous mode
[   21.211206] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   21.317446] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   21.498668] eth0: link up (1000Mbps/Full duplex)
[   21.510146] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   21.567476] br-lan: port 1(eth0.1) entered forwarding state
[   21.573184] br-lan: port 1(eth0.1) entered forwarding state
[   21.579051] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[   21.697546] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   23.565866] br-lan: port 1(eth0.1) entered forwarding state
[   36.070302] done.
[   36.072298] jffs2: notice: (885) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   55.478974] br-lan: port 1(eth0.1) entered disabled state
[   55.595449] device eth0.1 left promiscuous mode
[   55.600105] device eth0 left promiscuous mode
[   55.604648] br-lan: port 1(eth0.1) entered disabled state
[   55.624011] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[   55.655010] device eth0.1 entered promiscuous mode
[   55.659939] device eth0 entered promiscuous mode
[   55.676252] br-lan: port 1(eth0.1) entered forwarding state
[   55.681968] br-lan: port 1(eth0.1) entered forwarding state
[   57.675904] br-lan: port 1(eth0.1) entered forwarding state
[   57.859095] pppoe-wan: renamed from ppp0
[   59.687189] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   59.759365] device wlan0 entered promiscuous mode
[   59.788034] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   59.829598] device wlan1 entered promiscuous mode
[   59.834478] br-lan: port 3(wlan1) entered forwarding state
[   59.840129] br-lan: port 3(wlan1) entered forwarding state
[   60.685947] br-lan: port 3(wlan1) entered disabled state
[   60.935142] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   60.941810] br-lan: port 2(wlan0) entered forwarding state
[   60.947499] br-lan: port 2(wlan0) entered forwarding state
[   60.991939] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   60.998697] br-lan: port 3(wlan1) entered forwarding state
[   61.004314] br-lan: port 3(wlan1) entered forwarding state
[   62.945874] br-lan: port 2(wlan0) entered forwarding state
[   62.995861] br-lan: port 3(wlan1) entered forwarding state
[   65.905363] random: nonblocking pool is initialized

----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=111#comment281



More information about the lede-bugs mailing list