Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1935902rdb; Wed, 31 Jan 2024 13:56:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IHAg1Mrjg6JnQPisMS9puoTUERBirpMEr6glRjClvN6ZaB7TGfKkeR6EXTPH6EhCsBJHdyN X-Received: by 2002:a05:6358:15ce:b0:178:60fa:d6e4 with SMTP id t14-20020a05635815ce00b0017860fad6e4mr2954434rwh.1.1706738183664; Wed, 31 Jan 2024 13:56:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706738183; cv=pass; d=google.com; s=arc-20160816; b=Dy/l10i2dFTEqf18zK71a2YbeZTFa2ox8v3nDCW1oheyHg7JkdOsmH0fnXdv+a67OA 5By8DxONIw4QV2JZUB9H2yPJmxhg42QIsVOrDo9jvO3/SgeA4vj1Ym7Jmx5oq3DGp0Up ynavRsbcSdWd3Y1AaBjUj2ApM6FIvJLXozT8DUxq+DGVFc/qEuSGVRxYzJD/V0XZkXfw LvPiZNkW0pw+E0oRks/qi/h/f71sFTJNTXYdxY8V7BchFEHK4sZEe6bILk2d2c1UonYH TIUDMDNXTEx5BzuzvDm7w22g0SrPh1mkXIr3Q9wHbA514V+kQWVaf7XuahD6a2RqPeVL nTrA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=xLqcZVDOcOStTn/qmv0Uw7ROvwr4QHTE+vQvUJ9XDuc=; fh=rYJUnl9CsbX3CWvCFWYH9gFLscTzfAG/KUP4H7cqCS4=; b=J8lAbnMlPqw9U7Tvy7osMHc9fPNO0UFcI1gyzjbwSKw5cBPKx2a5ZHo8pXzi/hhV/9 f6ognNVEVUAZrUi7kk1CGP2jMllVuF7KdbhI94bm9JdI/cny7LJxG29QwGYN9GuplKMj zGkfzOt34oj/aeGeoGtki8GnFH9pb6UWdybyjQ7QlxwRm1jEF0fnSpijXa/DulWCOpqL 9tqy5HDLct4aymnNxaV4xH7tYTix4YeLg1w3+tD+My3xOTPAjFz449ya6VH2DrnNntBo YK+gCzbgLtYnoJIYmClM5wX6SJ8siA/SoBcbEF10qflvH806+pEUE4mnPgt2uht4jQDM ytug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mW8dqBfH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-47202-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47202-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCUZVD/CaQ21H/YgLf6hGiVwokHUx5MPzamxzBD0tRL6z56YrLqsV1Ih6e2zSlxXOZ3v+0nmUk1/cmKJ1M8Tc3ptMRqqcprinufFw4nJcg== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id s17-20020a056a0008d100b006dfbb278dd5si3372359pfu.236.2024.01.31.13.56.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 13:56:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47202-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mW8dqBfH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-47202-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47202-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 1D3F8B2903A for ; Wed, 31 Jan 2024 21:52:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 44FDF3B7A9; Wed, 31 Jan 2024 21:50:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mW8dqBfH" 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 5C5C53B798; Wed, 31 Jan 2024 21:50:46 +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=1706737846; cv=none; b=TlHupgKqurQBG6r4T+Q9F8Wj7zUJ5gIiC9kjImT7BYjrnBjzWrqotbfPnLA2AaD1AX0nGTX9OGxD2t9EDKBMQf0Im/QsSfedgHzqab+4BmqCjrKDonslyRjt/z3IIWFzcmXQvrfryab9rvbjQPxAqp2J/WHYxsAXLD4s0vRwb8s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706737846; c=relaxed/simple; bh=BRW4EKaAi73O3JOekFDxgN9kn24cg0usCuUdEDXFcWw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hifLjXpPYuDMtZ+b8uMQ4H67rI7bDszYdrmVldNYJei5qILfjKBG7OZpkSHmUVzJTJawfAx1/V71w55jdy80RWVyNrFtWGugnEXO9DYVktrMzhMYds7ulRilqmtMA9l2fokyCEx+kYtZmmdBJUJq2eDquAZY1iB/hPY2+urR2Gc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mW8dqBfH; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56D7EC433A6; Wed, 31 Jan 2024 21:50:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706737845; bh=BRW4EKaAi73O3JOekFDxgN9kn24cg0usCuUdEDXFcWw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=mW8dqBfHJEFQp6NQHDempDFInjUfgXVnmHADImy1NgUeO7guiAzYG0UqdQbJ8a4o2 S84aDFvumDKfa7nnUV9BzNPPC7ATL23BXnbhARqxhyXYTIVsLvJNQ41qAbiQ3Yqz3t 9UPOXo1h1JhGrHa52U0RUEwd6zqjdr6uHcHqRcR9ZTxcfAt8UiEGrqi6J8iX7svLte oQwA1BuzA3nyPw+qKwRiGzWaskRe8nbgHWDOYriszH9CA1NH/GE7DawvgZcUrSA8PV Ejxca3CB7seJHYsk3BpcrkrwYJ8x/hnL3oka3G/VNeJlSkHg1kr2XcXzGc2zUNOkMn WKyaAfbmcUdLQ== From: "Matthieu Baerts (NGI0)" Date: Wed, 31 Jan 2024 22:49:51 +0100 Subject: [PATCH net 6/9] selftests: mptcp: decrease BW in simult flows Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240131-upstream-net-20240131-mptcp-ci-issues-v1-6-4c1c11e571ff@kernel.org> References: <20240131-upstream-net-20240131-mptcp-ci-issues-v1-0-4c1c11e571ff@kernel.org> In-Reply-To: <20240131-upstream-net-20240131-mptcp-ci-issues-v1-0-4c1c11e571ff@kernel.org> To: mptcp@lists.linux.dev, Mat Martineau , Geliang Tang , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Shuah Khan Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, "Matthieu Baerts (NGI0)" , stable@vger.kernel.org X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1735; i=matttbe@kernel.org; h=from:subject:message-id; bh=BRW4EKaAi73O3JOekFDxgN9kn24cg0usCuUdEDXFcWw=; b=owEBbQKS/ZANAwAIAfa3gk9CaaBzAcsmYgBlusCgfggB2kN2QOjIOQrItHH/MVAI5v2TNUzze A8pEd2ZhkGJAjMEAAEIAB0WIQToy4X3aHcFem4n93r2t4JPQmmgcwUCZbrAoAAKCRD2t4JPQmmg c9FOD/9LK5rKYnWEDzp/YruMxzGMONlK2bqHhmoBBdFVQHDNxom2Lw8WEmjTYH38FYA0K2Xiz0t jSGI8H/rMvCMfHcFmpfak56PnN6rlTHb2p6A+vOaTXbOyF/Tt2L1IMoZaVbDuLt3iafW6ZchHtg OaQwqTbW5+lJ6YR9+Z62C9pF9SUzJ+1XVACsNXjk8JzB3r1tMVBGBU9KeIhJWNIhHP8WU1d3Fmz 6QLc9h4EK5oqDe+DqlVFfCi+JQXhcdEoW9NEXNhB+L9da1mfKohe2hQpOYeacYG9HxWaJBp0p/6 frL5yhkEr3JtiAeA+zG9Pz21yMivtNdCNmvejGYwxKF7RFgFnPGgjVgYlI4DMTJVSxkx5FMCEZy 94A5YrNd+L46xvwn30yktYbLK7/mOEB5Wpw+z5C6zvB19c7OxpoZCEbrBTdCw5Qfl6LKJRBxlt4 m532leDnRFVan7/yCAImqwQYysOa80TqqC9EDVefi52S4L/cE28NY1uSEnLxmgMq8iiqHgXxl1k 8XWqaMfufMk50K4t2Pyc1rLCk5XxB77qGx3USArSeYuSBDquh+rzeKHzfLwwMVj5IScNa0qPggV pXhnd61/gg/GmNcKdSKd3CjeHohusRapXoJkLpSe23Wqyx3dCKQqcVSjmSh7CIDBZ1/xkR/l5d8 dtfVQz9e6VFu5ug== X-Developer-Key: i=matttbe@kernel.org; a=openpgp; fpr=E8CB85F76877057A6E27F77AF6B7824F4269A073 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) --- 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 ae8ad5d6fb9d..0cc964e6f2c1 100755 --- a/tools/testing/selftests/net/mptcp/simult_flows.sh +++ b/tools/testing/selftests/net/mptcp/simult_flows.sh @@ -284,12 +284,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