From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) (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 023673B2A4 for ; Tue, 3 Aug 2021 15:46:37 -0400 (EDT) Received: by mail-wm1-x330.google.com with SMTP id l11-20020a7bcf0b0000b0290253545c2997so92547wmg.4 for ; Tue, 03 Aug 2021 12:46:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heistp.net; s=google; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=kNsIM04/KN4afo4p+qtTjR2OZLI+KLAM0XoK2/Ur85U=; b=C6q2oEdZV3cjUFwtjs8VdQp3qdCXjxHsZnaVRX04PvHogmwFHyq5w7aJOeC0wYwWyW LVLWLTQJwMP5T+gLhfSp3DYrXZSh9QFD//Jh7bPG0POCKpFtvrZjrJPGVXcF481qcl3v LTwvJYCanxL8++6Db72rwzsRF5pq4xbQlDjFdYE9viwkbVvYFUBjci04a8EIr/6sfDsK 2ZXlsU2rebPRhvHpfLNrZirlJLIxxuRn3Ec8vQsxEYNPg6tREMQPOxOg7XM4HJtxKVu+ PgNTvLNeCGl8CHyTnLpuarxGo1DssNGl92OTWDu19TAPeD5G0ydSCIJa5ucqUPpVQ1Ey K2MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=kNsIM04/KN4afo4p+qtTjR2OZLI+KLAM0XoK2/Ur85U=; b=drDU1mpjtqwi4DgK/uXMCjQ/T3xdITkKWikXCOqHg/jeev67dwqsdtqosSYqMZ3Ez+ a12jGdEcThWxS3lzbJ0ZDlKbEyRN06l8QgiCWTX8V2jBCpV+9cshGq/6+xE5RbxgXhau XlwBrVssc8CYcBUSU2hYeX1kxY6uJHFoIDlAt7m1aHx11zw6WWBA25Dt6WmnqUVRFg3K IS21uHs4pRERKwcoZPDB+YyImJKgMv5v7qXaKXWM1njwrrE6xOZU8fDtpIckmJ59ZQMh wdL6RAOkmbk6qdLt1LqoYcK1sObJndj7FVc4IDMoZSUnnbV+qZE7Xs1gclP6E4vmflKk TqYg== X-Gm-Message-State: AOAM533SLo4iAtk/+TkRuB/cekH0QsJYvmDoHAbJqmTQBZR3ds2cXIf1 kuPhFAuIOmdV3T4APaV4QUiDt1krJwAnJg== X-Google-Smtp-Source: ABdhPJzixIPP6NTQ1KYTOzDA1TFRGsEmQsapvkKwNh/t5RXoiZ58l1vwGYFjkLMG9Sc36vt8InNzLA== X-Received: by 2002:a7b:c255:: with SMTP id b21mr24126490wmj.100.1628019996657; Tue, 03 Aug 2021 12:46:36 -0700 (PDT) Received: from sova.luk.heistp.net (h-1169.lbcfree.net. [185.193.85.130]) by smtp.gmail.com with ESMTPSA id j19sm4493242wmi.3.2021.08.03.12.46.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Aug 2021 12:46:36 -0700 (PDT) Message-ID: <3ebc0a3ccdcfa67a48c5ad764ce3389782633fef.camel@heistp.net> From: Pete Heist To: Cake List Date: Tue, 03 Aug 2021 21:46:35 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.3 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Cake] cake srchost/dsthost stopped working? 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: Tue, 03 Aug 2021 19:46:38 -0000 One more tip, reverting this commit seems to fix it: https://github.com/torvalds/linux/commit/b0c19ed6088ab41dd2a727b60594b7297c15d6ce Pete On Tue, 2021-08-03 at 18:03 +0200, Pete Heist wrote: > It seems like Cake's srchost and dsthost keywords may have stopped > working some time between kernel 5.4 and 5.10. > > When the bug occurs, there seems to not be fairness between hosts, but > rather fairness between flows. It reproduces on any 5.10 series kernel > I've tried, and does not reproduce on any 5.4 series or lower. Here's a > standalone script to reproduce it with netns, and some sample output: > > https://www.heistp.net/downloads/cake-hostfair/ > > It creates competition from one IP to two IPs, and from two IPs to one > IP, using the src/dsthost keywords as appropriate. It also tests > fq_codel with a tc-flow filter, and cake *dual*-(src|dst)host, which > are both unaffected by this. > > Any ideas? > > Pete > >