greearb / ath10k-ct

Stand-alone ath10k driver based on Candela Technologies Linux kernel.
111 stars 40 forks source link

different download speed on QCA9984 chipset by different CT firmware #102

Closed gsustek closed 4 years ago

gsustek commented 4 years ago

Please provide this info. See this link for more info on how to gather debug info: http://www.candelatech.com/ath10k-bugs.php

Description of the problem (how to configure, how to reproduce, how often it happens).

Openwrt x86 installation on x86 hardware with Compex QCA9984 as wifi. Testing scenario: Sata connected SSD 120G, continuous transfer rate of 220MB/s read. file 10GB. vsftpd daemon serving file Two routers equally configured with two same sata drive and same file, same vsftpd conf, default openwrt config:

WRT3200acs : OpenWRT

KANSUNG with Compex QCA9984 as wifi: OpenWRT

KANSUNG with Compex QCA9984 as wifi: OpenWRT

KANSUNG with Compex QCA9984 as wifi: DD-WRT

Software (OS, Firmware version, kernel, driver, etc) openwrt- latest trunk

Hardware (NIC chipset, platform, etc) NIC: Compex COMPEX WLE1216V5-20 5GHz Platform: KANSUNG Model: K515G6 (https://bit.ly/2IOlSeQ)

Logs (dmesg, maybe supplicant and/or hostap)

Why is this firmware firmware-5-ct-non-commercial-full-htt-mgt-11.bin the fastest one?

greearb commented 4 years ago

If the ct fw version 11 is faster than recent ct-fw, then I can build a series of FW for you to bisect to find where the slow-down happened. Would you like to try that?

gsustek commented 4 years ago

any version(numeric one) of this type of firmware: firmware-5-ct-non-commercial-full-htt-mgt-XX.bin is faster then other types of firmware of the same numeric version. i would like to test for better throughput.

greearb commented 4 years ago

htt mgt can give some advantages in cases where mgt frames may have trouble getting through or there are lots of stations (and so lots of mgt frames). I suggest using htt-mgt firmware.

gsustek commented 4 years ago

ok, thnx, so is it possible with htt-mgt firmware to hit 100MB/S, can we do some performance optimisation? if not, i will close this issue.

greearb commented 4 years ago

We reliably see 900+Mbps thoughput OTA between two 9984 radios, but on relatively powerful x86-64 platforms. You could try dropping the CT firmware into the DD-WRT image and see if it performs equally well as the DD-WRT default firmware?

gsustek commented 4 years ago

That was my exactly thought seconds ago, my problem is that i can not so easily compile ddwrt:-) Thnx for the infos.

greearb commented 4 years ago

Just drop the CT firmware in /lib/firmware/ath10k/*/ location (save a copy of the old firmware) and reboot. Should not require recompiling.

gsustek commented 4 years ago

i know that, but, x86 version of ddwrt which is free/public doesn't contain wifi driver, and the TRIAL one has Wifi enabled, but i can not get to the terminal, ssh i disabled, only Web Admin works...:-) . I would have bunch more metrics if i can just swap firmwares and board.bin, as i like:-)