From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-x22c.google.com (mail-ob0-x22c.google.com [IPv6:2607:f8b0:4003:c01::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 6E40F3B2C7 for ; Tue, 8 Mar 2016 00:01:45 -0500 (EST) Received: by mail-ob0-x22c.google.com with SMTP id fp4so4084653obb.2 for ; Mon, 07 Mar 2016 21:01:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc :content-transfer-encoding; bh=vk3lYuVUkZrBoLroph7RK5qyjC8N87nq5Rbl8JHZNkM=; b=kOWIyVgUdtoagMUH2RJo0Z8NUnIbj89d0ob5YOSSYjsfTaJFARslp8vkHl6Hk9+xAP 2OrHAgKSfaNVsMVH2Y+J14ZRC23oeswajU+mS4WsAKpTaLsNXieaNS48w+db8XVf7a4E sFW5kPPQ04cPwWLAW++dV2Uq7IhxpOJYnR5iTI/ECq9us66opwFEt6ZQ3K5t/Qa8PBGr cKkvsU8VQfL+B8Of2iiHBo/FRr7vO6TrSBajh5/2+Yb+7Yu2exW0X+n+y2J0UDsjOYl3 u9VZFnuOKOXi+fAhlAA1zM3g84v5iBSrL3mfGzDo5zdlY5N4DnitfqfdVGoB7qav6mD4 9m1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc :content-transfer-encoding; bh=vk3lYuVUkZrBoLroph7RK5qyjC8N87nq5Rbl8JHZNkM=; b=ct/g1HX9MHocuV+duDGsID7C5gDxXf8wTJad1ReIKQLWq46ZszDpXEfj/PnWKXzsb2 0jqcd0XCiCUCYN9AB29zY5kRscuRneQ5gj9lI5AePhq7wlEJzGFDtW+z2ZaUYZrpHGkb n0Ma07Uo/nCRzA3dql5PkgN74n+l8hJxKnaFB9Ajquq0qDNPPPI8SrKnhHBIpIkDFvHs lxW0efpHu/b+96AemiBIsehzplMSKooZCB7EmtDTo1e9IpfScuodXx47UksqkxKftOfg UOsx/ahpa/rRIt/kknIVYIcH1OHHZZJEk1FYN3igNCt4W6rV9caietPbzkQNoj0Ia+BF WK+g== X-Gm-Message-State: AD7BkJJVqWic5KRFReA5Daf6OFV7Yb6Df/bwYPxWOZ9fIe3C3akBJ+3HqFVxQBPEaoDsxsqETSbKg+CRU+HXeQ== MIME-Version: 1.0 X-Received: by 10.182.247.67 with SMTP id yc3mr15756517obc.57.1457413304916; Mon, 07 Mar 2016 21:01:44 -0800 (PST) Received: by 10.202.79.12 with HTTP; Mon, 7 Mar 2016 21:01:44 -0800 (PST) Date: Mon, 7 Mar 2016 21:01:44 -0800 Message-ID: From: Dave Taht To: Felix Fietkau , make-wifi-fast@lists.bufferbloat.net Cc: linux-wireless Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [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 05:01:45 -0000 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. 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 x86 <-wifi-> wndr3800 <-ethernet-> pi Latency is still poor, throughput is down slightly. I will start printk-ing tomorrow. I do have a few puzzling things A) re the ath9k statistics At the client (ubuntu x86, 4.5-rc7 + patches, Atheros AR5418 Wireless Network Adapter [AR5008E ) I see http://pastebin.com/rvKJnc1y AMPDUs Queued HW: 0 0 0 0 AMPDUs Queued SW: 0 0 0 0 AMPDUs Completed: 1098389 7050 14967 0 At the AP (cerowrt 3.10.50) I see http://pastebin.com/RTt7MNT6 AMPDUs Queued SW: 3009455 364214 557331 0 AMPDUs Completed: 2961055 363353 556982 0 AMPDUs Retried: 115311 7833 21489 0 In both cases the TX-Pkts-all is close to the AMPDUs completed figure. B) In the regular packet captures I see no tcp losses. I can see in an aircap wifi retrying for every lost packet. C) I do not see any ECN marks (presumably would be generated by the codel implementation.) D) I do see things nicely "fq"'d on the captures but that might be by cerowrt rather than the ieee mac E) tc qdisc show dev wlp2s0 shows the tc layer qdisc disabled qdisc noqueue 0: root refcnt 2 which does imply that at least part of the new codepath is working, but there are no stats out of that side yet... Ah, well, at least the patchset compiled and didn't crash the box. -- Dave T=C3=A4ht Let's go make home routers and wifi faster! With better software! https://www.gofundme.com/savewifi