Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1866288lql; Wed, 13 Mar 2024 10:11:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVmRt2cXJJ/NFbMcObmyrL2r6ZYe1fQDDgRP/EUkjMlK8dc/4D4ElNaFHf4kRzqUkwk+fzPxS/yhR7OWV2pa91mOPXam4/oMXZBNqEAeA== X-Google-Smtp-Source: AGHT+IG300ZSfy8qdXIfxPmFvmKHnK2qzwSl1Wc+ZEVthL5/KK6CR14B8eCGG450LXJ1NY0xq+h5 X-Received: by 2002:a17:90a:9c0f:b0:29b:bba6:5254 with SMTP id h15-20020a17090a9c0f00b0029bbba65254mr9077775pjp.45.1710349882356; Wed, 13 Mar 2024 10:11:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710349882; cv=pass; d=google.com; s=arc-20160816; b=OfW1sgD9k3JsAsphtbCkwKH31avgz60HKf+LwpvX8GUf9C+0lBmhwrfB5Bed5py63G XTVmQN9BHJJriHbv7lltdqEbnBCCz9a7t796Me6+3Ro/MFQSufXLkbHmjJUrAcIo02nO hf9sW86Q4ZLjM9Ui9+5PfrlK9KsMdM2+tcykDKRck7RR3Z3jggliLX0I/YZ+AY22fYSb O376+NkiWaE+iB+i2DRrD8yE7iUm1uDwmFj9Zz8mo2rTmBOnm2QMLF9T3lVByOSOPgOY xNJk7gnS2vxKhlB4IGj/DfnsARQR3KFf/2gLdEqgV/pM6lkxX9dodxpeR6N3DsV1ZPtV UEfg== 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=Ytaale5OuOBVYEHTthLMRRp1vsubaNziI3AxaSFcOMIAthjMlpPFzLhS4BhkigsNcw /vWZE/7vTmXHgLLGay59AjaBklo5xaYWT8uuXTDSySc/ecOebLkRMGdrGkHIWJXNpCwh L99ynLmtRtLrpU/q/goHfilI2ahAeIhufWMIb/YJDVQ8LFHGHCfdhPbDychCIZCGjjXe Fm/0Myj69rOVelQRAJNmIrz29dJ0qWWxJVYbcl9QyHw07hCHlotJiciGGQNB7147oZSa KOpy0+sfWP9aKjH9sqDy3fKizEWLq1rmkpoouXemkbkb797Bd3Qr8l3G79GPKsqnYNJy LYsA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GN4wlVke; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-101857-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101857-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 71-20020a17090a09cd00b0029b09d0be08si1764021pjo.103.2024.03.13.10.11.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 10:11:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-101857-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GN4wlVke; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-101857-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101857-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 AFB18B239F0 for ; Wed, 13 Mar 2024 17:01:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E6F2B74E26; Wed, 13 Mar 2024 16:38:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GN4wlVke" 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 092AC74E27; Wed, 13 Mar 2024 16:38:14 +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=1710347895; cv=none; b=OSmZH1NaG3d6Knb71dnj8OLk+3e2q0uS3t9/9KLAdVoq5q/bQ7rtaKmGVrK/F7fTY8iE2sBITGU7GGPD6ZuwZwGkYh6GAdDqc1H0R2TaC9hq/lWs4ctbIcahYXhvCWsVF9Q+GcjcOPEJXYsHgJW1TG2LwC6gP9FDTT8chwjpxvg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710347895; c=relaxed/simple; bh=6tRD9x34ZxPa5AewGiOh/lkWk4oU/IxiNHssuheXCb8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=jde6uDnfADvJHi7rWtXKeg/TTMQlYZY7vaGN/NfMBhA94EwvLwWuh7sfHXLRSeG9whug8ENK/UHqdrf/pIOKVfj9GQbqIra5NWEhwKX0IcjfozLzbLihQRMf01T7w8XX+Ou8AyEJBr1V1ApUpixJG0OgPN/F+e0WtFay0muSRXQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GN4wlVke; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B91B2C433F1; Wed, 13 Mar 2024 16:38:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710347894; bh=6tRD9x34ZxPa5AewGiOh/lkWk4oU/IxiNHssuheXCb8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GN4wlVkeJeUomMGxJEdmpD7wzL1K1C6c5mkMfDz7iUB3UH9nVsAypAuRCWLsB/UtI DyIySslwXtmuoFZ3SWKPDfN4nQ84uWDa+pIiXUVQsLWh74Y6X5dzQCGaVuHy5qp3GJ K/cXMksGCwbDqagbdI/G2cmh5Z3pvUtiCAMfCMbJs8QVIJ2G3unxGeL3D0xup76xH8 73Li786migOwRkVZN+XOaeX3GsNpW6Pdaum55gr9CGNwjiCjpYI2/OwrnEp/OMPCte +3UrEZxRQ5uKVdAEL1FOlqyC4c3ED4sUqPiE9jJg8Ur7fmMmohbf9AqdYCwwIx7DhZ 2uvxdX0WxyhXA== 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.6 54/60] selftests: mptcp: decrease BW in simult flows Date: Wed, 13 Mar 2024 12:37:01 -0400 Message-ID: <20240313163707.615000-55-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240313163707.615000-1-sashal@kernel.org> References: <20240313163707.615000-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.6.22-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-6.6.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 6.6.22-rc1 X-KernelTest-Deadline: 2024-03-15T16:36+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