From owner-freebsd-wireless@FreeBSD.ORG Tue Sep 13 10:14:37 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA648106566B; Tue, 13 Sep 2011 10:14:37 +0000 (UTC) (envelope-from bpurgar@gmail.com) Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com [209.85.210.45]) by mx1.freebsd.org (Postfix) with ESMTP id 86A788FC0C; Tue, 13 Sep 2011 10:14:37 +0000 (UTC) Received: by pzk33 with SMTP id 33so2177945pzk.18 for ; Tue, 13 Sep 2011 03:14:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=EXGJkGwLgHFp+zT07dNN3byDsaXKleNDcTCFtye4trw=; b=W56yUjuBbatFuaGFUgxGQvCJgsWtzEOTmawwKURYwmKZF2FfCI75vUibt6cTFd4PhK rRqP6IRhIitlKVgLD/IsMKtFyP5Do7LM9lvmxkSZChMZ4G3hsZCTiGqHAxETMlwMBspd fV1CU2NB9KfvJWlTc4RDtD7Y7XlE0R/37DS08= MIME-Version: 1.0 Received: by 10.68.42.8 with SMTP id j8mr1111032pbl.335.1315908876768; Tue, 13 Sep 2011 03:14:36 -0700 (PDT) Received: by 10.142.143.15 with HTTP; Tue, 13 Sep 2011 03:14:36 -0700 (PDT) In-Reply-To: References: Date: Tue, 13 Sep 2011 12:14:36 +0200 Message-ID: From: Berislav Purgar To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-wireless@freebsd.org Subject: Re: [patch] if_ath_tx: change interrupt scheduling deferral X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2011 10:14:37 -0000 On Mon, Sep 12, 2011 at 2:23 PM, Adrian Chadd wrote: > On 12 September 2011 20:18, Berislav Purgar wrote: > > > for now seams to be ok . no errors on both sides (9280/5416) > > Good-o. Blah, this bug is really irking me. Ok, I'm going to continue > working on BAW tracking, filtered frames, TIM/ATIM and handling BAR > TX. I think that's the only real outstanding issues before I merge > this first lot of work into -HEAD. I'll just keep tinkering on the > issue on the side and see if I can elicit any further helpful logging > when the condition occurs. > > I'll let you know when I've committed something next to test. > > Would you mind re-running the iperf tests in both directions? Let me > know what the throughput is like? > > Thanks, > > > > Adrian > Hello results of my testing : (AR5416 sta / AR9280 hostap) channel 6:ht/20 AR5416(iperf -c) ---> AR9280(iperf -s) i get TCP ~ 9MB/s UDP ~ 13MB/s AR9280(iperf -c) ---> AR5416(iperf -s) i get TCP ~ 4MB/s UDP ~ 8MB/s channel 6:ht/40 AR5416(iperf -c) ----> AR9280(iperf -s) i get TCP ~ 7MB/s UDP ~ 10MB/s AR9280(ipef -c) ----> AR5416(iperf -s) i get *TCP ~ 15MB/s UDP ~ 24MB/s* after testing it in both direction i look at log files and found these error on AR5416 side Sep 13 11:54:25 rut kernel: ath0: device timeout Sep 13 11:54:25 rut kernel: ath0: ath_tx_tid_drain: node 0xc421e000: tid 0: txq_ depth=0, txq_aggr_depth=0, sched=1, paused=1, hwq_depth=0, incomp=0, baw_head=0, baw_tail=0 txa_start=395, ni_txseqs=5266 Sep 13 11:54:30 rut kernel: ath0: device timeout Sep 13 11:54:30 rut kernel: ath0: ath_tx_tid_drain: node 0xc421e000: tid 0: txq_ depth=0, txq_aggr_depth=0, sched=1, paused=1, hwq_depth=0, incomp=0, baw_head=0, baw_tail=0 txa_start=51382, ni_txseqs=51383 and on AR9280 Sep 13 11:55:34 pila kernel: ath2: device timeout Sep 13 11:55:34 pila kernel: ath2: ath_tx_tid_drain: node 0xc3065000: tid 0: txq _depth=0, txq_aggr_depth=0, sched=1, paused=1, hwq_depth=0, incomp=0, baw_head=0 , baw_tail=0 txa_start=2826, ni_txseqs=4496 Sep 13 11:55:39 pila kernel: ath2: device timeout Sep 13 11:55:39 pila kernel: ath2: ath_tx_tid_drain: node 0xc3065000: tid 0: txq _depth=0, txq_aggr_depth=0, sched=1, paused=1, hwq_depth=0, incomp=0, baw_head=0 , baw_tail=0 txa_start=42270, ni_txseqs=42271 Beri