From nobody Mon Feb 9 12:01:17 2026 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 41B57664D7; Wed, 13 Mar 2024 16:34:10 +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=1710347651; cv=none; b=CuhiM17C1R6Q+/XPwKx/cckwywOhUHzwjH9jTX3sz7qW2eKSwf1GIm1J4WerecvGTZw8dpLzZBUAv19pbLZkwpWz8uZdBuvFr6ocSwMnSo/Js1wbeZWKp3rYiX3V9UCbSDb+IH3BjHdzbLOys/7BVWwXKj2VjOlSNM6AZ3kmWWY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710347651; c=relaxed/simple; bh=6tRD9x34ZxPa5AewGiOh/lkWk4oU/IxiNHssuheXCb8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=g+VuS5iBxxqXwFJ1JvyClxOic+FOzea7cG9C98Zj9eqWOKPTms5TE+ta7dKN8FsvFvhguJ9Vs6VqKp4j8X2o/NIEjCGOH0VdLh6af+kD2oNdWb22YFW5O7M7SllWts0nke/WVPGokztSg1jOICyXTuR76Gzj/qISOPCZY96qc0g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DlArgnXh; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DlArgnXh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3332C433F1; Wed, 13 Mar 2024 16:34:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710347650; bh=6tRD9x34ZxPa5AewGiOh/lkWk4oU/IxiNHssuheXCb8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DlArgnXhcU+vkn+tvt54aZIjjyQwdsIq2UJ0LBk1mCuuaY6LdF/6CaWK8jpU/ARqt P4OoW3dRr19NlGx2rqGlSzr66OxbVAHtddvZq3kzn60aB0TyqNMM6m/HHc05L/MrCH 5ti2c8XO5fgjOIW3tzbyJYzRhWUASpXxUoWjnVnBAecRtbtDfc0LhY3xa7jBw39G3l BQEn/RyhEnddB9WZ7Ns5GLdakak2fNcJZOp4qr10cvHGMiTEZzER3prAHL3FLQkB0y NPd4ZGeHblJ/Aq8Lg8XqKVOriBjJ2li6yfmwZsBBep3GNtQKHehstGN2NSWr+dtapD mqlqQK7Toj+xw== 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.7 57/61] selftests: mptcp: decrease BW in simult flows Date: Wed, 13 Mar 2024 12:32:32 -0400 Message-ID: <20240313163236.613880-58-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240313163236.613880-1-sashal@kernel.org> References: <20240313163236.613880-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.7.10-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-6.7.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 6.7.10-rc1 X-KernelTest-Deadline: 2024-03-15T16:32+00:00 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 spac= e") 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-iss= ues-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/test= ing/selftests/net/mptcp/simult_flows.sh index 9096bf5794888..25693b37f820d 100755 --- a/tools/testing/selftests/net/mptcp/simult_flows.sh +++ b/tools/testing/selftests/net/mptcp/simult_flows.sh @@ -302,12 +302,12 @@ done =20 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" =20 # 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" =20 mptcp_lib_result_print_all_tap exit $ret --=20 2.43.0