From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 lists.bufferbloat.net (Postfix) with ESMTPS id 821AA3B29D for ; Mon, 10 Feb 2025 07:30:14 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1739190614; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gNvCRiWSKl3RxK0VQkFEheeA2fwKR8AeCUB/f+IVQHU=; b=My4d8KFZvXVzfn69C+CBo0jAaRI3kBaAbdzu38+y2fTrcNX7czC7UMSrWQvjxTkq1vzpiO dkxEGsF/ERS5xAYNNMhPRqzig6AA+r1CodM3iFpRYMw/0mERNLFTwlTMDVmDl8Jre0/ZjS 7uhovdxcqY1Jr46ryi98E0KgLvvZ5Y0= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-460-PVQb5UpoOC2AKtzoE9Uzqw-1; Mon, 10 Feb 2025 07:30:12 -0500 X-MC-Unique: PVQb5UpoOC2AKtzoE9Uzqw-1 X-Mimecast-MFC-AGG-ID: PVQb5UpoOC2AKtzoE9Uzqw Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-5d89a53fc46so5258738a12.2 for ; Mon, 10 Feb 2025 04:30:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739190611; x=1739795411; h=content-transfer-encoding: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=gNvCRiWSKl3RxK0VQkFEheeA2fwKR8AeCUB/f+IVQHU=; b=jMeBbGGb+5FzYEe8nj54ahpFza4dHBHYO1Ii1GxKW0GR/Ek+eaowAGebw+qzp06gRu z6BnFpdwIvlL2wE7qj+gd0C9Js/8LKnjqhS6T0rig48+ag18K1mXb2/AvOJhdUigAmqJ r+eKor8FpG5Y5o0/dWAEFBHBEd86qGlqCaUc+QyMHGoIE/F4x5GTPNt91X+CqqQV19IB WG6uasIIKSVU0kyZX7kdy+0BbcUsUpD8J5wwvUPdBck0kjcg80y6DihwbMA+8D0JTCBh xRVj6Pr1ZCZx88JpAFa5APIuaWRWoIHdmg827/aZz5ylTUsdm7gXexm4VEagrN1Mdkkt Sfgg== X-Gm-Message-State: AOJu0YwE2nZUXELJwplK0ay2POFl/DQocsgLBlMS/3mSxjmUv0cSgb6z vopDvFpnzc39CA3o8xyhStNVDbOrciZ6PooD0cLpeZEhFNou9h7zgM1forMW0Lxa0laAC0C3F4B FPL9YoQejs/Y8nMS2ay3wRqtQLUQjYJSlgmj307bPvxdOBwEW/8wwNok8/ws= X-Gm-Gg: ASbGncvBjJ0f1aE8L601+e842EiX6Z38mzWRVGHwtoHuby3R82vvF+kdjGL9dO0Mki+ zHSQNDmSSHskt5Ilwj9Go9l/O3MgCQeCWbDb2kOoNo1kfTaOpCwI5/9wv+swpLj2qkdtxhbjWwL +GA5ebQK2HLa/ct0MHrogZlxihDvz6N6xNmIvAlSxlS4qBD4Bxeni1MkiWaxRlBA6uDwmsDbyao yJHDrHMWISy9sRuYVHnObKh9YD+DvkOr/IFJFIWYF6FMyTlnriDUiSLkFwXjt2yJwz9qMi3xFwl 5A== X-Received: by 2002:a05:6402:13c8:b0:5dc:7374:2638 with SMTP id 4fb4d7f45d1cf-5de44feaad4mr13205977a12.7.1739190611651; Mon, 10 Feb 2025 04:30:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFO5ncdiSdm8v+brXXyQXpQZNXQSN/C+jjct56sazH/Gh3XI6XpxZEMCO02XyWlJhLHYrfB2A== X-Received: by 2002:a05:6402:13c8:b0:5dc:7374:2638 with SMTP id 4fb4d7f45d1cf-5de44feaad4mr13205960a12.7.1739190611263; Mon, 10 Feb 2025 04:30:11 -0800 (PST) Received: from alrua-x1.borgediget.toke.dk ([2a0c:4d80:42:443::2]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5de59f893ebsm5137026a12.45.2025.02.10.04.30.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Feb 2025 04:30:10 -0800 (PST) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id BD8AF184FC08; Mon, 10 Feb 2025 13:30:09 +0100 (CET) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Sebastian Moeller Cc: cake@lists.bufferbloat.net In-Reply-To: <5DFA90A5-9FDB-4B3E-8C80-A33D02632E7E@gmx.de> References: <87bjvarvtd.fsf@toke.dk> <564C0719-2569-4A8A-981D-35F9473F8AF2@gmx.de> <875xlirssb.fsf@toke.dk> <5DFA90A5-9FDB-4B3E-8C80-A33D02632E7E@gmx.de> X-Clacks-Overhead: GNU Terry Pratchett Date: Mon, 10 Feb 2025 13:30:09 +0100 Message-ID: <8734gmrnhq.fsf@toke.dk> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: rj-wDpxhrltwl0xMpam3MG7506TM4Rc0oyDBnmcrpP4_1739190612 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Cake] [NetDev-People] 0x19: Talk, mq-cake: Scaling software rate limiting across CPU cores X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2025 12:30:14 -0000 Sebastian Moeller writes: > Hi Toke, > > >> On 10. Feb 2025, at 11:35, Toke H=C3=B8iland-J=C3=B8rgensen wrote: >>=20 >> Sebastian Moeller writes: >>=20 >>> That sounds most excellent... >>>=20 >>> This also means that now we need cheap router hardware with > 2 NIC >>> queues and > 2 CPUs ;) (with ingress and egress shaping the current >>> state is that 2 CPUs can be utilised). >>=20 >> Well, even if there are only 2 CPUs, the MQ version can utilise both of >> those in one direction, which helps for asymmetrical traffic :) > > Fair point, I was thinking bi directional saturating traffic on a > symmetric link, which I guess is far from the typical use case ;) Exactly :) >>=20 >>> I wonder, does this work for IFBs as well or only for real hardware >>> NIC queues? >>=20 >> Yup, you can specify the number of TX queues on an ifb interface when >> creating it (ip link add numtxqueues 2 type ifb). > > Great, so this will then work even if the true NIC hardware is not > multi-queue capable or does numtxqueues need to be <=3D true number of > NIC queues? Hmm, no, ifb queues are independent, so yeah, I guess ingress shaping could scale regardless of the number of HWQs... -Toke