From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 7ADD63B2B9 for ; Tue, 8 Mar 2016 03:25:13 -0500 (EST) Received: from u-089-csam313b.am5.uni-tuebingen.de ([134.2.89.14]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MYfre-1aPa4r299m-00VS7B; Tue, 08 Mar 2016 09:25:11 +0100 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) From: moeller0 In-Reply-To: Date: Tue, 8 Mar 2016 09:25:11 +0100 Cc: Felix Fietkau , make-wifi-fast@lists.bufferbloat.net Content-Transfer-Encoding: quoted-printable Message-Id: References: To: =?utf-8?Q?Dave_T=C3=A4ht?= X-Mailer: Apple Mail (2.2104) X-Provags-ID: V03:K0:GIQvq2BNN1vhN0uTrJ9BCsNqIvUfIp4IPepcqgShNQeE/Mj8Xk8 1r72Pp+K1vN4wxXyM8n9GCizjvseMMQLoMcpvgcLzWoOc4IoHGzIIqauCemDqwoBg87C9AB yKpW9j/Asl9UZ/0AyrjTiOpdKrmRB+8JG7GZbAs6GxwUYWU3ytID3V9EUyxaZmgXniiB52Y p3vMkzFEEpdd+EOScQiLA== X-UI-Out-Filterresults: notjunk:1;V01:K0:WuffQYHkcxM=:E6Xqonmvl52cMU27K6D9/A IMFwtEPSxpf5CIN537xkBHHT1p+EjQ6pD82QFsGmykQdn8NYv5YBgoRnBqewVKHnRNzm3ajJz kKo2IiICtS6FMsVFGTTqn9AR2wdWX2RqE0zqWyFyp7pUjIMziIw5DZjgxDGvjdjj48svAWbB7 AJYIR4+XOoodSoNlIWKKHGV+Y2w+kOnp0UifzIt4J16EYhlbUT+99BbUD9wX/Attrd9ilM6uC l5KFERpNSGXcS2q0ePbT5QjKKJpmoY9ezZNcfRgDlBCnUZCoOozH8KsQTVOXlizRI3/EWIpfa nOOJNosmSBLfOJufraRowD8HYzylID7OA8AeEiXzRKTpM+M5wxlvGJOE3CVAL1DscptsMW+1Q 6xFZns8dC71ZBMfcZOnxGpLmCm2q1SD9a3G8P5vV/dxl9eNPuG9yEE3jYYz46oXt5T+/jSZdM 68bN1n8ZaEVCHuaKSHJgmYAJJwTYWkQHfqvGYq2/ASe+sf5BvpYu6vlzziSt4qhmsU1hCJMFL ZxbGE1yiR66SP/++R7S9VFgDXCuL5iJ5L1sbAutHdBnDs0cMutGYadvazCiUI7IS1IIDOkmMw aOzfiO3UZG9HqzK/4NMsaM5uG1GhvhQz90nICoPYmfHL5yrQeKPXRXG0+iBZz31H1IXmq5zKw VpGdAfFDRQljeKdcmUF3XI+uVkytb+xjPKDRTQK1A5aYXR5cXidIZcRhym0s4vsTOiHCvSeez mB7I5zXmpq+F6ggZi9FpdtskZvHKVdjcRXFJYnLtH0iBvbV3P8PUAXpgnV4ZD0oTHI+uiO1sr KLYUbMM Subject: Re: [Make-wifi-fast] per sta queuing - the ath9k statistics X-BeenThere: make-wifi-fast@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2016 08:25:13 -0000 Hi Dave, Oh, this looks nice. > On Mar 8, 2016, at 06:01 , Dave Taht wrote: >=20 > I have put together some of the patches for fq_codel and per-station > queuing inside the mac80211 portion of the stack flying around on > linux-wireless, to no real visible effect as yet. Silly question: Is this really testing per-STA queuing? The = client only connects to one AP, so all its upload packets can be = aggregated into the same AMPDU; or rather in this case = =E2=80=9Cper-station=E2=80=9D/=E2=80=9Cper-AP=E2=80=9D queueing degrades = into a single queue, so what do you expect as visible effects here? >=20 > Mostly testing uploads at the moment, from an x86 based client. It's > not clear if I have the code path enabled, either, nor how to check, > from userspace. (?) Topology is >=20 > x86 <-wifi-> wndr3800 <-ethernet-> pi >=20 > Latency is still poor, throughput is down slightly. I will start > printk-ing tomorrow. >=20 > I do have a few puzzling things >=20 > A) re the ath9k statistics >=20 > At the client (ubuntu x86, 4.5-rc7 + patches, Atheros AR5418 Wireless > Network Adapter [AR5008E ) I see >=20 > http://pastebin.com/rvKJnc1y >=20 > AMPDUs Queued HW: 0 0 0 0 > AMPDUs Queued SW: 0 0 0 0 > AMPDUs Completed: 1098389 7050 14967 0 >=20 > At the AP (cerowrt 3.10.50) I see >=20 > http://pastebin.com/RTt7MNT6 >=20 > AMPDUs Queued SW: 3009455 364214 557331 0 > AMPDUs Completed: 2961055 363353 556982 0 > AMPDUs Retried: 115311 7833 21489 0 >=20 > In both cases the TX-Pkts-all is close to the AMPDUs completed = figure. >=20 > B) In the regular packet captures I see no tcp losses. I can see in an > aircap wifi retrying for every lost packet. I thought this is exactly what to expect from wifi=E2=80=99s = attempts at =E2=80=9CL1-retransmissions=E2=80=9D, as long as the = retransmissions ultimately are successful wifi will try to give the = impression of a =E2=80=9Cperfect loss-less medium=E2=80=9D, no? >=20 > C) I do not see any ECN marks (presumably would be generated by the > codel implementation.) >=20 > D) I do see things nicely "fq"'d on the captures but that might be by > cerowrt rather than the ieee mac >=20 > E) tc qdisc show dev wlp2s0 shows the tc layer qdisc disabled >=20 > qdisc noqueue 0: root refcnt 2 >=20 > which does imply that at least part of the new codepath is working, > but there are no stats out of that side yet... >=20 > Ah, well, at least the patchset compiled and didn't crash the box. >=20 > -- > Dave T=C3=A4ht > Let's go make home routers and wifi faster! With better software! > https://www.gofundme.com/savewifi > _______________________________________________ > Make-wifi-fast mailing list > Make-wifi-fast@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/make-wifi-fast