From owner-freebsd-net@freebsd.org Wed Apr 14 00:37:43 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 050585F347A for ; Wed, 14 Apr 2021 00:37:43 +0000 (UTC) (envelope-from winterny@gmail.com) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FKk8Q0Nxvz3qKw; Wed, 14 Apr 2021 00:37:41 +0000 (UTC) (envelope-from winterny@gmail.com) Received: by mail-qk1-x735.google.com with SMTP id x11so19821221qkp.11; Tue, 13 Apr 2021 17:37:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:disposition-notification-to:from:in-reply-to :date:cc:content-transfer-encoding:message-id:references:to; bh=4o83y8uu3w1Bz0ldk9PskiWg2YCuLaqv2UtffZB7Enc=; b=UDJmTHE9QOFVSkLHDf8A2Ci8bgb2AH/ddLUy1j7EKs1XB66fAFSiLhjeqBQZMgGXuk UsyhaPbceyqXQpHDWInRkWSujZG4p4cMFxCcgzaTXkcZx3NbKY3YgGY7hn01nTFHlpSP 1bCugjn2kxL2SO5IEKOSNqTHjKdMDjSd7nIqJUz9qoIIfevnyJyAgNLQ7kN6H6tWReZy rrgCkwd5kMIBFisn3RF+CgREgRHzfTfVIzy/+DA5MUlapwrCjPCx9iQZUoYwpsTIGBQK VOVl5Z4KakZ5othDhEiR8ydQZuF8NXFZhgvf3TMMv4WdDMkkf719kxn1MhBf+rWMHLPC G5Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:disposition-notification-to :from:in-reply-to:date:cc:content-transfer-encoding:message-id :references:to; bh=4o83y8uu3w1Bz0ldk9PskiWg2YCuLaqv2UtffZB7Enc=; b=Zkyv+elaAgVA/EO2FIA8XoKuxwzjdRk7j0Zbg/abBjhf0T2eTBeO9yq1vkZRtO/Tdd o8hgFJlIhIs2BY7rQsUL4CrH+RyfeDelqiGZUD5RrK3AH+YTDCvbrFy28sTTk72unDUT 9P16KnesXDafhf6CjS+flkn5cVDVvZexEl7DguAya1HsDiP+mamEteLlEOqfJFhS3whU E7+44l1xxb0uvakxNVZ16tC/3zZVqff4Ffh9yQ9MizyQbWVRE2U8rCCGCIV+FhbmvwGp wHfSRjNkT/hNKsNjnSbnQ4pnV93Zo2G4y89hSTVk3Iz5wJ7YSwIyGziL5sAmk6VMbgiQ tBBQ== X-Gm-Message-State: AOAM5329OHzG4N38ArvNkG7YphE6P77SfLAipDwoSFsPLl4nDsp15B52 bquj6AMbIDwX+dKNHK+u/MOyMJ5PvZOxyw== X-Google-Smtp-Source: ABdhPJxlvmIXwsT/IxeBtETqLU88jT0YnTtVy10IrODdNRTWRw/1KVBRpiQgq5q769ARHCr4EOSNMQ== X-Received: by 2002:a37:b987:: with SMTP id j129mr34274852qkf.174.1618360660563; Tue, 13 Apr 2021 17:37:40 -0700 (PDT) Received: from smtpclient.apple ([2601:881:8181:4930:682c:e244:8b83:24bc]) by smtp.gmail.com with ESMTPSA id f23sm11385968qkm.60.2021.04.13.17.37.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Apr 2021 17:37:40 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) Subject: Re: All transmits on txq0 on an ix interface - why no balancing? From: Phil Rosenthal In-Reply-To: Date: Tue, 13 Apr 2021 20:37:39 -0400 Cc: =?utf-8?Q?Olivier_Cochard-Labb=C3=A9?= , FreeBSD Net Content-Transfer-Encoding: quoted-printable Message-Id: References: <8923AD0B-1E58-4F7C-AEF5-E9A30D3F9F2C@gmail.com> To: Kevin Bowling X-Mailer: Apple Mail (2.3654.80.0.2.43) X-Rspamd-Queue-Id: 4FKk8Q0Nxvz3qKw X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=UDJmTHE9; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of winterny@gmail.com designates 2607:f8b0:4864:20::735 as permitted sender) smtp.mailfrom=winterny@gmail.com X-Spamd-Result: default: False [-0.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::735:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; HEADER_FORGED_MDN(2.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::735:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::735:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2021 00:37:43 -0000 > On Apr 13, 2021, at 8:22 PM, Kevin Bowling = wrote: >=20 > On Tue, Apr 13, 2021 at 5:11 PM Phil Rosenthal = wrote: >>=20 >>> On Apr 13, 2021, at 8:07 PM, Olivier Cochard-Labb=C3=A9 = wrote: >>>=20 >>> Are you exiting through a tunnel interface (GRE, GIF, PPPoE, IPsec, = OpenVPN, etc.) ? >> No. >>=20 >> I am running PF/Altq for NAT and Traffic shaping. >=20 > ALTQ is the problem in this situation. Try without it and see if you > get proper distribution. Yep, proper distribution with altq disabled. That's pretty unfortunate, though ... It means that I'm forced to deal = with the Comcast's buffer management which allows for more buffer bloat = and is less deterministic about what packets get dropped. I'm assuming that this won't get fixed due to PF generally not being = maintained these days -- is there any other solution for shaping with = active queue management (preferably RED) on FreeBSD to use instead of = altq? Dummynet obviously has problems of it's own. In any event - thanks for your help. -Phil=