Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp958957pxk; Mon, 31 Aug 2020 06:15:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzT3pDflVulM9G//UL93KcvbWrSsazv8WC/wvARVstBs91iXLyKLvK/zZMPetZphjA5sBa3 X-Received: by 2002:a17:906:fa81:: with SMTP id lt1mr1090354ejb.459.1598879713910; Mon, 31 Aug 2020 06:15:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598879713; cv=none; d=google.com; s=arc-20160816; b=neDvd0Xrx5ThpYz8ufmyErS2PVUJTt0oCeZrGhDP0ZYQOZh0Wzl+tKa03ItgfjyRsw iQuZQTkhMd7TGCJgMSyw8qfWESt71UX5kSBKT+Cxadj/jhQUdTHlpFgsrjv+J6heKPo+ i8VgZZ9ZOgT3NMTHOagbcTjvVzSkUHkTHZMfAExQxDcU9qLcGoRmv7R3r0AGwR77BgxB ba2Lo1QWkfCzGk6XyJGej4nh7hBzKfVrGpW06gVYhJPx5CszMwnIareBp+rdNTe3zyjY o9/iqXWlSzPDkCp6AIWshlUJ+PPILH7DNB9p9xTXYSRUdzzI13vTLguy/sVLR4IeROEj lXYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:to:from:dkim-signature; bh=7nF5sKzdQpqrhvwSpdopxfb0fKEw2qVbNLvuVMDTjdc=; b=RS8ohqNf6ok6olpFAxq9TbzzGzuX7mfEcFS51JAbJi/RtEBAOM5raTkT2huZniVtNN 9D03vKrmgfkIPbxBbChng89ReDBnZRXn0zvb+Ci8BBmTTghBKWEN4uIQSZ9YBF1gOvH1 mWdGwc9iTYy3GrAU42TOjVyZZtqOmkVo7HystkkqKQyfk9hkIdpesj0i3ZAXr1nAqXby YFDSZAFVysN7OLQ8yAXRcUkrfDIMn27W6p8RB0fL/IHUnjDLF834yBEp2ftAnYHfyARj ZpWYqaaxqwTmSasZ5iJuLWlhOdapOvJP3+KRJ7SZf1Q/xSJKNWwj2MyR84isg1gNLeq1 udgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="QG/9SKmV"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y22si5630223ejc.453.2020.08.31.06.14.38; Mon, 31 Aug 2020 06:15:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="QG/9SKmV"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726312AbgHaNLy (ORCPT + 99 others); Mon, 31 Aug 2020 09:11:54 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:32302 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726144AbgHaNLp (ORCPT ); Mon, 31 Aug 2020 09:11:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1598879503; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7nF5sKzdQpqrhvwSpdopxfb0fKEw2qVbNLvuVMDTjdc=; b=QG/9SKmVXFV+bPsyLVM0Z835WbAMATm5zFuTX76bMKq+ng9Vj7JR/dGvRMC5rLsonUZ3ub UWrNqjkJVtyNZ/fUrfe5o1tiVgzHQJ0nr6G9MHZme75apwWxKiG6NejEFC9eS1M0lkHK+Y tK0a6mLS0MZbUv5ZnbVmUpqAxk8AuaE= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-399-Fw4RHxYXOwaY36MRJBW4Hg-1; Mon, 31 Aug 2020 09:11:42 -0400 X-MC-Unique: Fw4RHxYXOwaY36MRJBW4Hg-1 Received: by mail-ej1-f72.google.com with SMTP id f13so479745ejt.16 for ; Mon, 31 Aug 2020 06:11:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=7nF5sKzdQpqrhvwSpdopxfb0fKEw2qVbNLvuVMDTjdc=; b=jvXsABfoVRnrE5i61k0YXMM/7xYzBsu/M67v/EVEk0exNE5QlIUcmASPC1IaVv1ixR HgUDbQzzJcKBpfsDeQ2XASlSSdjjJ8l+XO8PP6q+bsEfSregMSlToUNXnax8ll84l7qz ZPsOgEwF8Op82Ygo+aVVN4e/KKBxGWvevq33OJd7Tw2wLM0B9RzmmDWg1+VcrBHo0JiQ Aw4zKR/vg0TWtduwyQfRS91DJBioak9Lg/B+6WKqkGAdoYjaU/2w9bGdaggla7SGUexY DWN0W8ydfOytpXLXMsrUBrdA7BvvLozVGDnu8vxN03txxw4bo8PO99bsnNsQF42oRIuq HqOQ== X-Gm-Message-State: AOAM5303/Yw0/8k38fHLpGD33osgTsI/w/fNIGecqTAMFek2Otc2Cjui o5SIfIoIcjK1w2EQ8/9+m2m+jlZxdemeHUFqWSm6zMym2+wYh18ckYB+I9yu3C1K6idNRnJx1Ve 2nqIhdzn0h5J6zbRgE3+feYCGNOA= X-Received: by 2002:a17:906:6801:: with SMTP id k1mr1096263ejr.492.1598879501003; Mon, 31 Aug 2020 06:11:41 -0700 (PDT) X-Received: by 2002:a17:906:6801:: with SMTP id k1mr1096249ejr.492.1598879500731; Mon, 31 Aug 2020 06:11:40 -0700 (PDT) Received: from alrua-x1.borgediget.toke.dk ([45.145.92.2]) by smtp.gmail.com with ESMTPSA id sb9sm8135015ejb.90.2020.08.31.06.11.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2020 06:11:40 -0700 (PDT) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id B0CC518200B; Mon, 31 Aug 2020 15:11:39 +0200 (CEST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Felix Fietkau , linux-wireless@vger.kernel.org Subject: Re: [PATCH 6/9] mt76: rely on AQL for burst size limits on tx queueing In-Reply-To: <20200831122558.1388-6-nbd@nbd.name> References: <20200831122558.1388-1-nbd@nbd.name> <20200831122558.1388-6-nbd@nbd.name> X-Clacks-Overhead: GNU Terry Pratchett Date: Mon, 31 Aug 2020 15:11:39 +0200 Message-ID: <87h7sjj6yc.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Felix Fietkau writes: > Now that AQL works well on all mt76 drivers, Yay, great to hear! :) > completely replace the arbitrary > burst sizing and number of bursts logic for tx scheduling. > For the short period of time in which AQL does not work well yet, limit each > stations to 16 in-flight packets that have no estimated tx time. > This should avoid filling the queue if a station connects and queues up a > large number of packets before rate control information is available, especially > with hardware rate control I guess we could do accounting like this in the AQL mechanism itself? Presumably this issue is not unique to mt76? -Toke