Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1849501lql; Wed, 13 Mar 2024 09:46:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWSLz+v0UQ231B4nDPLt2Is5AjVxZAzixXgXjln6RsIpXzsihXJv2HaDBY9yASoqjn8r5r5sQof+IEGgWAx/B0wmB2flJMMzNxj33iQPg== X-Google-Smtp-Source: AGHT+IFMiBk10fb1l/NC/yjlxJBUuggT1Ey1clegS4JUuh6pT0yR5SyuuAMsYm07AuI09tS8BWNJ X-Received: by 2002:a05:6808:178f:b0:3c1:f027:aaef with SMTP id bg15-20020a056808178f00b003c1f027aaefmr416585oib.44.1710348361858; Wed, 13 Mar 2024 09:46:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710348361; cv=pass; d=google.com; s=arc-20160816; b=Grk36BtK4jlwiKBsIj4t3KcwQKjj8askVI83KrA69RLgzUsfsQTAmf0O/LO+ySim+G XrCw6CAAUkR8JMYKgbJpcgDmKJpXCgQ5BDFBOrHNpi3DosCDGGps89F2dZYfAxG1Wo6s m+Njo1FiH4t5v10HLCgHJCXC1cSi0NMM5D97h++Vcd711N5Y1R/BC0ZhEae951jZRME2 vlw75YwVuNxnAriEOE3QWNZJsODD0KEFRguRPLiqeDiSVwhAlDJnb8UxkqQEoNlpEyQ4 CXDW9tZ91v97jr/mN8iOCiKI7zNxNe3+7dASAD+1lbn+LHo+MVDr1DXCBJ0NiX5AQgP3 alBQ== 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=kMdoDIw/rd1SDxUtXAAbAQBajssMpQBqg664TTf6ZtE=; fh=s/B9plor/OGT9f1P8+LDg0ADXj5/U1neaHMTFCOo/kM=; b=DejP+KwP9pS/VgVM/+FbB0mAghSGe3DaK2axP/lbmcFISiuwq2Kr3S9BpNA5BxHASK MSTnBoSsg5GSUGQDofrfN1UijH+c6VxzVcbBjP4hJYDAdIJ869Lmyu3wo3BCY1now4lC 8yswt6yCIdFmmHm62IyYJKTFDYiJPRdWD4+dqlz+JWXZG5Com9GU8ocYwWISyMMXpuWQ /Wfm9R2WY3HrQSjR5srQLuHABoMe/uZwbEXvO6R5ddupp7h7XTaotj1evow/gNAC2PB0 Dbv1POC60cWOlzMgMsrLaxlRjcFPV2pQOcpU58psa9MzqrQ+TFUvUe7TXMuKR7a7TlXw K7+A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DlArgnXh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-101796-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101796-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x20-20020a05620a14b400b007888f4c90c8si3364078qkj.311.2024.03.13.09.46.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 09:46:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-101796-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DlArgnXh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-101796-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101796-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 88E841C21860 for ; Wed, 13 Mar 2024 16:46:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1BC3A66B4E; Wed, 13 Mar 2024 16:34:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DlArgnXh" 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 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: 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 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 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" mptcp_lib_result_print_all_tap exit $ret -- 2.43.0