From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 12 11:00:27 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A68E41065673 for ; Mon, 12 Mar 2012 11:00:27 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 69B878FC17 for ; Mon, 12 Mar 2012 11:00:27 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2CB0RWE062851 for ; Mon, 12 Mar 2012 11:00:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2CB0RJC062850; Mon, 12 Mar 2012 11:00:27 GMT (envelope-from gnats) Resent-Date: Mon, 12 Mar 2012 11:00:27 GMT Resent-Message-Id: <201203121100.q2CB0RJC062850@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Johann Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 276ED106564A for ; Mon, 12 Mar 2012 11:00:00 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 15FE08FC12 for ; Mon, 12 Mar 2012 11:00:00 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q2CAxx6K095339 for ; Mon, 12 Mar 2012 10:59:59 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q2CAxxWh095338; Mon, 12 Mar 2012 10:59:59 GMT (envelope-from nobody) Message-Id: <201203121059.q2CAxxWh095338@red.freebsd.org> Date: Mon, 12 Mar 2012 10:59:59 GMT From: Johann To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/165969: Slower performance in adhoc mode vs Client/AP mode, same HW (atheros adapters) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 11:00:27 -0000 >Number: 165969 >Category: kern >Synopsis: Slower performance in adhoc mode vs Client/AP mode, same HW (atheros adapters) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 12 11:00:26 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Johann >Release: FreeBSD 9.0-STABLE >Organization: CSIR >Environment: FreeBSD jhugo-rtr 9.0-STABLE FreeBSD 9.0-STABLE #7: Tue Feb 14 13:50:42 SAST 2012 jhay@magrathea.meraka.csir.co.za:/var/scratch/9-stable/obj/arm.armeb/var/scratch/9-stable/src/sys/SMALL-AVILA arm >Description: I get lower throughputs in adhoc mode, compared to AP/client mode for the same two devices. AP -> client iperf 27.2 MBytes 28.8 Mbits/sec adhoc -> adhoc iperf 12.1 MBytes 21.3 Mbits/sec dev.ath.0.stats.ast_tx_longretry is more than double in adhoc mode. The two devices are directly next to each other in the LAB HW platform = Gateworks Avila GW2348-4 Wifi adapters = Compex WLM54AGP23 Atheros driver from +- 10 Jan 2012 OS = FreeBSD 9.0-STABLE Adhoc mode for FreeBSD 9.0-STABLE (as well as FreeBSD 8.0-STABLE) are also slower than adhoc mode for FreeBSD 7.2-STABLE 9.0-STABLE adhoc -> adhoc iperf 21.3 Mbits/sec 8.0-STABLE adhoc -> adhoc iperf 21.3 Mbits/sec 7.2-STABLE adhoc -> adhoc iperf 25.1 Mbits/sec >How-To-Repeat: - Place two wifi nodes next to each other. - Configure one device into AP mode and the other onto client mode. - Do an iperf between the two nodes. iperf 28.8 Mbits/sec - Now use the same two devices and configure them into adhoc mode. - Do an iperf between the same two nodes. iperf 21.3 Mbits/sec >Fix: >Release-Note: >Audit-Trail: >Unformatted: