From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4AF261D3590 for ; Tue, 5 Nov 2024 11:47:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730807254; cv=none; b=SPCUr40HyAK3hlIrauLEXO3HsX/1M1aUlAQXyNgMJt8VOHKU4cu7AwTE26AmT53UPqMtmSLeN2tOWUmJVllna5uRxoYzDwGNO5yuoZ3KQiPD7MyIJSbVa3i2Hzz0lPo/p+A/iKCQcd18KCWi5am8N1JIuqS9ITcUjKmgVzgjS5k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730807254; c=relaxed/simple; bh=+6/H/XDafrltzhOFfb+5FmSnOevGqRPMwlJKVVM64SI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=QJGasbnIBUjLf7TjP/Rr00yuz2gu4FJ4WAefIqppIAR0EW0xdElyZpK6006C6wd5fCPnJg8O3d6l/fg91em7mekZ5o+sEpW1B+DijL2l6U0SUPXhGJwkwOTsLZC2N2OWC7sIPN0EIXXNQMaByXt6idJ25VcOmh1sb+YfMOd9RDo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=hpPxMjfC; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="hpPxMjfC" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1730807252; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=AvEt+630bp2zTwkv8fB0BYAPpHvXTyBk/V9RY8sAZMo=; b=hpPxMjfCU6k/05bR20OvwPFk8OfjksUn1oVllqyqRd8OLujg6PPZ4dzQlYCrA2KRXfKwEY 9pHDOD+i9jvA900JjXehgmZ9NRanGsMtkYj12+jTwUerUqfNdxJ1xpv0wHBjFEP04+oAye o9czIwcu7j1YHHShKGdFx0hAd/yotUw= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-208-k02HyR-KO5KFVVEydfW5Qg-1; Tue, 05 Nov 2024 06:47:30 -0500 X-MC-Unique: k02HyR-KO5KFVVEydfW5Qg-1 Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-a9a0c259715so427907366b.0 for ; Tue, 05 Nov 2024 03:47:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730807249; x=1731412049; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AvEt+630bp2zTwkv8fB0BYAPpHvXTyBk/V9RY8sAZMo=; b=Tq9LLkwkUsojNbTSbdQTCzDj9SlD8Qt7EoHu52ctd3RcpXMPjLErTeAs+7CbiXBX6T kFqDGBquKblCxiUpL7c47IKA4Prb0audOD+qbdBvCqASn2b970N3KNXEun9cSkt8wXnP cd+KmKHyOy2yXNIpXj4MAUaaaMxQZDCt1kb6oD/19SwfUcCJO5n9VzUXCdaWVIILdBpJ rGXd4dc96zUHe1vTwr+v5zMvFovCOas/hCy9T/ABA06g6WUtE6rrYNahHTvRnmIJUPC7 mNJNkOeufhF9lVzIptFXQfihjcy0pjy5A05op8Od8uo0odDJAGamk04lT3FVS2Eau5sP igvA== X-Forwarded-Encrypted: i=1; AJvYcCXW1EObOP9K9qcgNFJ5R+iYrNhxTfM+4qghb+iAKWV/7Vpa/Cwvvc3XZs5cPui8teRYEbduVew=@vger.kernel.org X-Gm-Message-State: AOJu0YyS8JPuNhErItDcGEewL81utWxBMhHu9rp7K4yFU7FzLo/MF1Hz fpEZ24nxCwDkypCxfNEBX4XRZgX/TjatkyKhw1P0zdszfAz/KA1SAqHnKhtUBDYUgV7D9tZYmct zIW3KTspLqSEqrUqeZlRfxAt4zQM9gHI4GAY7NZGKTIoRTyBphUMpvg== X-Received: by 2002:a17:906:c113:b0:a9a:5e3a:641d with SMTP id a640c23a62f3a-a9e50cb0401mr1967594966b.59.1730807249481; Tue, 05 Nov 2024 03:47:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IFXnL+6T8mGipW8cAyu0azUR7FlsedzWWDQr98e0c9nhVPjkKd8TbpT2mFnkD3c0nE8mjR0kQ== X-Received: by 2002:a17:906:c113:b0:a9a:5e3a:641d with SMTP id a640c23a62f3a-a9e50cb0401mr1967592966b.59.1730807249104; Tue, 05 Nov 2024 03:47:29 -0800 (PST) Received: from alrua-x1.borgediget.toke.dk ([45.145.92.2]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9eb17f964csm122895066b.159.2024.11.05.03.47.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Nov 2024 03:47:28 -0800 (PST) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 57ABF164C228; Tue, 05 Nov 2024 12:47:27 +0100 (CET) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Simon Horman Cc: Qingfang Deng , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-ppp@vger.kernel.org Subject: Re: [RFC PATCH net-next] net: ppp: convert to IFF_NO_QUEUE In-Reply-To: <20241104115004.GC2118587@kernel.org> References: <20241029103656.2151-1-dqfext@gmail.com> <20241104115004.GC2118587@kernel.org> X-Clacks-Overhead: GNU Terry Pratchett Date: Tue, 05 Nov 2024 12:47:27 +0100 Message-ID: <87pln99a28.fsf@toke.dk> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Simon Horman writes: > + Toke > > On Tue, Oct 29, 2024 at 06:36:56PM +0800, Qingfang Deng wrote: >> When testing the parallel TX performance of a single PPPoE interface >> over a 2.5GbE link with multiple hardware queues, the throughput could >> not exceed 1.9Gbps, even with low CPU usage. >> >> This issue arises because the PPP interface is registered with a single >> queue and a tx_queue_len of 3. This default behavior dates back to Linux >> 2.3.13, which was suitable for slower serial ports. However, in modern >> devices with multiple processors and hardware queues, this configuration >> can lead to congestion. >> >> For PPPoE/PPTP, the lower interface should handle qdisc, so we need to >> set IFF_NO_QUEUE. For PPP over a serial port, we don't benefit from a >> qdisc with such a short TX queue, so handling TX queueing in the driver >> and setting IFF_NO_QUEUE is more effective. >> >> With this change, PPPoE interfaces can now fully saturate a 2.5GbE link. >> >> Signed-off-by: Qingfang Deng > > Hi Toke, > > I'm wondering if you could offer an opinion on this. Hi Simon Thanks for bringing this to my attention; I'll reply to the parent directly :) -Toke