Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1873468lql; Wed, 13 Mar 2024 10:23:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXbQVJLvTvQ4l6OVZBy2q2IssACRdYA9rhd3YXGx/Vuw384lqoMfZcZRbCjGm0lnrwYoilamx5GgENURMLOFsAw4QvsNesEAEj+AkB7+g== X-Google-Smtp-Source: AGHT+IFs+5g5erLywYAIDP+x3gq1rZApV6aKKbZQtBVJO6R6YWVoZK/MUqUm4TLxAdM9dsrBJM+V X-Received: by 2002:a05:6a20:e196:b0:1a3:2fe9:ad70 with SMTP id ks22-20020a056a20e19600b001a32fe9ad70mr2900675pzb.34.1710350624271; Wed, 13 Mar 2024 10:23:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710350624; cv=pass; d=google.com; s=arc-20160816; b=MtQrXLyYPRfA1l54wcDktoBh1ssf/e2IphINCOZwbPFYb0zsOIVl7Q1/Rgqlf1ILpF jfLLC125R4tZV4e9dGsro6WX33gkr3nuJbpPdYpwSYTAqyAWTvsov6dknu57EouZAO63 KXXlOYALVW66T/dfWu2rxmJ1I4i++nkvIUaQpOCC+07NhH+lWuYHj7JtZ6N0ExSyc/HZ BX9F8e9WL1elJk5rTWNr9CClxuwvvHVRPShl74UQeoQPpjeXuvzhmBEYqIEluuqx4HC4 YsjZTVhhutxTz3ZsEFurAvdZkgQvCRGq6QFBXBOperxhacDZ1UVsKewT2pWZJkepMBhe JYIw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Ozg1f6IT+g3EsqvIXJkXoc1WgHjPBBFGO+7rJnZnQV0=; fh=s/B9plor/OGT9f1P8+LDg0ADXj5/U1neaHMTFCOo/kM=; b=Vy4tAi1v+ox9U0JVuAtfenrezHzQr5ixXthBJSLGfHE4Y1xVEr2UE2XMisycL7MK1+ 3sGkfVzeQuTnrKfSTUxTDZulvhb2iDrmxHBDQgWFdCM24oMG6ot6vDb00RdCJfczmKed 5C8upmR0LOqT9LOhNft/1onbk7K08aoS0I8yLhb9kazxpxKxLSG6y3l13wgeu4pOrFSd 3NcqvI/xhJQeJkbZ49Kd19S47I8CzBsWy0TpQJNWaa9V4sz8ecXZET2M9vrRTEMyKl8w hyzShPuEiy5Im3nz/HuR9FcwgiOVuuigiq78lFukJvXb806cg09wu3YzYMYEdfXbTWNq k0hQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iSuXHZnt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-101915-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101915-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id a3-20020a636603000000b005dc34c3db42si2967540pgc.259.2024.03.13.10.23.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 10:23:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-101915-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iSuXHZnt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-101915-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101915-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 56A8828E51D for ; Wed, 13 Mar 2024 17:14:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A50B986265; Wed, 13 Mar 2024 16:40:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iSuXHZnt" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C1BFD8624D; Wed, 13 Mar 2024 16:40:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710348055; cv=none; b=oQhU7a3xemAulo6VsOq2WjkjaEUTxyVk9cpagse6a30skAFpessGNxoKLVR7h6XZNzuqiYI+SSgyU2ZeJEg5rZXk6cJrCN6y67rsXVZk1feEfVr/e6JBXbTSjPh75F/psF3Rr7irYdJ5SfOENhHoYf7uSWI50WADeWIk6xjj4LY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710348055; c=relaxed/simple; bh=C9GUrPMH2cVL8miH76/ny0uWeulQVdoKNRFf5/jrCKg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ezrTZIvY247uYFoYi63Uy+ObowrKI1k793AYe1urRJ42ynrAuW5Zqkb3cUv1NE53V/DPdj47u6qampJqfcOF6xZfp8xr4UVpNpdyz9dBXvcLXQee6Jqgw7OX7dkXwfL7AE58fBfmBvUV/+ovBknc62QAXZSfxEMLk0QTdxc8xQs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iSuXHZnt; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6942AC43390; Wed, 13 Mar 2024 16:40:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710348055; bh=C9GUrPMH2cVL8miH76/ny0uWeulQVdoKNRFf5/jrCKg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iSuXHZnt+cxCFf9uoRXC8y5mmq4eehMBjYRriN27MFqr5FDdQYqWXy2UIff+c9UZe XQWEwKsrIjRDGmE/4xD031KbH2Fd/V78ejd6Sso1gMUnS82bvu4JvRwCZ8dQfhhXPF AROcjToQDXhllu/xLae0ctKeePoVvu1DYljetCyv4uygK1/Sm6ovfPD49Ysk04RfQK 94uqX3uxw3/lihKLqriS9IuyRRqY6KZldqyf9Y9xS1tHE20rp0WIaTW9leRDreBiRo /DAHFWWKRYGEbewfZ/wTNr/EMcHHzv6B+skzYTipWZESn8iLmsBvwxLs/c66X/IdGA CXsbuB14Xu7pw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: "Matthieu Baerts (NGI0)" , Paolo Abeni , Jakub Kicinski , Sasha Levin Subject: [PATCH 6.1 47/71] selftests: mptcp: decrease BW in simult flows Date: Wed, 13 Mar 2024 12:39:33 -0400 Message-ID: <20240313163957.615276-48-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240313163957.615276-1-sashal@kernel.org> References: <20240313163957.615276-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.82-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-6.1.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 6.1.82-rc1 X-KernelTest-Deadline: 2024-03-15T16:39+00:00 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: "Matthieu Baerts (NGI0)" [ Upstream commit 5e2f3c65af47e527ccac54060cf909e3306652ff ] When running the simult_flow selftest in slow environments -- e.g. QEmu without KVM support --, the results can be unstable. This selftest checks if the aggregated bandwidth is (almost) fully used as expected. To help improving the stability while still keeping the same validation in place, the BW and the delay are reduced to lower the pressure on the CPU. Fixes: 1a418cb8e888 ("mptcp: simult flow self-tests") Fixes: 219d04992b68 ("mptcp: push pending frames when subflow has free space") Cc: stable@vger.kernel.org Suggested-by: Paolo Abeni Signed-off-by: Matthieu Baerts (NGI0) Link: https://lore.kernel.org/r/20240131-upstream-net-20240131-mptcp-ci-issues-v1-6-4c1c11e571ff@kernel.org Signed-off-by: Jakub Kicinski Signed-off-by: Sasha Levin --- tools/testing/selftests/net/mptcp/simult_flows.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/testing/selftests/net/mptcp/simult_flows.sh b/tools/testing/selftests/net/mptcp/simult_flows.sh index 4a417f9d51d67..06ad0510469e3 100755 --- a/tools/testing/selftests/net/mptcp/simult_flows.sh +++ b/tools/testing/selftests/net/mptcp/simult_flows.sh @@ -301,10 +301,10 @@ done setup run_test 10 10 0 0 "balanced bwidth" -run_test 10 10 1 50 "balanced bwidth with unbalanced delay" +run_test 10 10 1 25 "balanced bwidth with unbalanced delay" # we still need some additional infrastructure to pass the following test-cases -run_test 30 10 0 0 "unbalanced bwidth" -run_test 30 10 1 50 "unbalanced bwidth with unbalanced delay" -run_test 30 10 50 1 "unbalanced bwidth with opposed, unbalanced delay" +run_test 10 3 0 0 "unbalanced bwidth" +run_test 10 3 1 25 "unbalanced bwidth with unbalanced delay" +run_test 10 3 25 1 "unbalanced bwidth with opposed, unbalanced delay" exit $ret -- 2.43.0