From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-x230.google.com (mail-qk0-x230.google.com [IPv6:2607:f8b0:400d:c09::230]) (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 987BD3BA8E for ; Mon, 2 Jul 2018 15:45:11 -0400 (EDT) Received: by mail-qk0-x230.google.com with SMTP id c131-v6so9301345qkb.0 for ; Mon, 02 Jul 2018 12:45:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=aWmZsXg+aLDi9soF7Haam4mQTx0CdFr6PfiH8AEiYWw=; b=Xny2cTIZe7HYXZvO11G7QjWvvl5i74gfQCI5G2NkrZ80LzbNAYbEAf1YaJDrS/maTU vUtN8wh2gSPXvp9kkGVmBCKlVoOWbgnGwHBUzZDpsNS3TgmqX8f7dTYQYrzRbjUU8F1s E728t2grpfh3FibxXZVJ0iRhweVwkCCuSWiuWh7+/5QNhdAM4qZToKFmxuKWToiAxGRP bQVccINavaYzAkwxyVE2S4zTP9nNlVWWI+gs35FzS8h/pMxWYHB8vw+xOSCvtjUqMRVd 4BWGuDiIUHvQUAoK/kBe9F9kahfNecR/CnMmReHx6GufOrImt0YHYpiZZEs4UQI4JY1H QV/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=aWmZsXg+aLDi9soF7Haam4mQTx0CdFr6PfiH8AEiYWw=; b=RY3YFLMxiK4CZ1Wt5DWKOcUq1CDpnhg9jEUoS6fb+0kwPjcCfBHEAOMXftQS4kjVj4 LTDT9BgNJoR+hLgbmbkKcHN3DY93Ya3cISjdS/A2ij4Ppco0UbfHF+rZxC/mKo4cl15V UpLiKyOF2IGL9lNWCOI5Dik4yC7cJd1zXhX0OXuvyjzB4SzJn+sgH3LM2I6Q4lR0WxIx YaBVqBwLKzem4Gva+5IdNLoWFTBzv25cRohqEsYpGbcLE3wWwDRvWtql+qR1TWJdWS3D Beg5TK5Coag7jOSYX1XriI+zzaj4CclOdIHFDl7oNulAdSl9uJtN5Xre3Er209UfTyCZ k05A== X-Gm-Message-State: APt69E0wCaOcPINWt4jmDkKdgqevpW/ps1G3+BJNEPQtvEBDBn1ujILX zMIgNMiU0a0DDXh4wqqtxhoKhTUxZnOOsAp0bk4Egg== X-Google-Smtp-Source: AAOMgpc6WzdnYRGVCDYov2+OpiJkGmKkkB5SiwK553MFFdaAGwIaa3vKmlLwJ8vtiatTgPgQ/YqNaq2StPrn3DU7csc= X-Received: by 2002:a37:4d1:: with SMTP id 200-v6mr22461861qke.35.1530560710787; Mon, 02 Jul 2018 12:45:10 -0700 (PDT) MIME-Version: 1.0 From: Dave Taht Date: Mon, 2 Jul 2018 12:44:58 -0700 Message-ID: To: Make-Wifi-fast Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: [Make-wifi-fast] tcp_pacing_rate_shift and smaller txops 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: Mon, 02 Jul 2018 19:45:11 -0000 wifi APs have the ability to advertise in the beacon, the actual maximum time of a txop for clients, and 802.11n, for example, cannot queue an aggregate in the VO queue. the otherwise lovely tcp_pacing_rate shift thing sets this to a fixed 4ms, when perhaps it could leverage the actual setting for the queue in question, at least, as defined by the beacon or 802.11e standard. I've long thought that perhaps a gaming wifi router would advertise smaller txops, and for all I know, some do. this is currently controlled by cwmin and cwmax parameters in hostapd # Best effort #tx_queue_data2_aifs=3D3 #tx_queue_data2_cwmin=3D15 #tx_queue_data2_cwmax=3D63 #tx_queue_data2_burst=3D0 I did a lot of fiddling with this (lowering it to 1,1.5,2ms,3ms,4ms) at one point (that I cannot currently find). It hurt bandwidth but helped latency, a lot, and this was from before we shipped fq_codel for wifi. --=20 Dave T=C3=A4ht CEO, TekLibre, LLC http://www.teklibre.com Tel: 1-669-226-2619