From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) (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 25FA93B2A4 for ; Tue, 3 Aug 2021 12:03:27 -0400 (EDT) Received: by mail-ed1-x530.google.com with SMTP id x90so29598186ede.8 for ; Tue, 03 Aug 2021 09:03:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heistp.net; s=google; h=message-id:subject:from:to:date:user-agent:mime-version :content-transfer-encoding; bh=rAX09lRWxY+EJKRcyfoTPRzhwoa0nhSElR3AEuwygKA=; b=GYVP50vJHyJOS2HONv0eP6hp/B1cBl3s4sB+/1I9hZ8D8ihNbWZOCasLCYqAq9Qu2C dMWZh2+lEU906IyyYHeN+WHwPidhvhLonJkvpgrLeJp3bvLcBhXlUo42/1aAoKuvY1J6 AV53XBxzsw5CgWUHbmfXvyG6rykRtRuUrADVZdWEwZNM4irNa0vf3x31OsrxDr85hT7Z Wy4pD7KVn+UmRETj8/oZp3CNxp4MV9My241I2IWCsE/ri51bm2+m8H6jyLNWJ1Thto6+ Bb+IMMbxYvSrcDtaEhu+8yIt9s7N/lxQqRAjyzs07ABV0qYM9Vrx/nJRo63rEicqxSxl N/tQ== 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:user-agent :mime-version:content-transfer-encoding; bh=rAX09lRWxY+EJKRcyfoTPRzhwoa0nhSElR3AEuwygKA=; b=UCe8ZPn1WdGeNw168RQFnq0k6utpJmkXFB14U7aaBNd3H90MsDNzvbZRrJunYQu29O w3S0LUHqcNbXE5FRzJnmidByqvcKiFQyfp0vf1xz50TiB4DghLWVxZETAJHugzo2fhwy wzoePU3J2wYWKJT6m1ynyBugvUaxSxR31jc66YsJoQfep8T1YV3LM5v3Ybd2MxcyxNS/ JQo1AURyiyBCh5/Um9hD852QTAUV8tbPpgbilG8NFeN1tUGtqz7m68fI12iBdfK36u92 2vl1JU4cG5lOl9nsF+ySYFZllluzhUZkGHBOC/meWAE3WxVLoYkoQFyuzxyFbgK2cwq8 EJcw== X-Gm-Message-State: AOAM531e1BbxRPgFUP3UJx7GPq9lPqOJUhgAakiSWtE1BpnoN+DjZ1Ak 6JORx67DnWnN1V3dhx1qMoARSDjdCO9GmA== X-Google-Smtp-Source: ABdhPJwd1baJEoeZ2+ktiDX1DeS69HN6RkHhq7o/mSKZJFNYiO+A+bmhbVa/MFW16buRxkTiAZQBIA== X-Received: by 2002:aa7:c489:: with SMTP id m9mr26617294edq.256.1628006605681; Tue, 03 Aug 2021 09:03:25 -0700 (PDT) Received: from [10.72.0.88] (h-1169.lbcfree.net. [185.193.85.130]) by smtp.gmail.com with ESMTPSA id c13sm8234269edv.93.2021.08.03.09.03.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Aug 2021 09:03:25 -0700 (PDT) Message-ID: From: Pete Heist To: Cake List Date: Tue, 03 Aug 2021 18:03:24 +0200 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.3 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [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 16:03:27 -0000 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