Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1878977lql; Wed, 13 Mar 2024 10:34:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVZ0M5ObLj3tEehz/L2qDOWKuH48ILyn9kSG5oK/qPKEYRJrONbj6BUSL29yhS66fmrMVYN1gZA+OmBkf9ImoFqZYkqzSixmTr6PmTRJg== X-Google-Smtp-Source: AGHT+IHA9F4RXXBVaIhEpAGs0rAN5q7eErCprGCbpsPyYjMNdzZIyEQBFLa/ySqZnS1yp3TfMKY5 X-Received: by 2002:a05:6808:3187:b0:3c3:4ca7:744b with SMTP id cd7-20020a056808318700b003c34ca7744bmr762719oib.37.1710351253989; Wed, 13 Mar 2024 10:34:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710351253; cv=pass; d=google.com; s=arc-20160816; b=H94iaV/xGE5vAXeIFEiRsKaUNMxaU+LBWcvO4tVgWh7G8hYSulB4gA7fybhk1tjIOB U8TnDgTQYzV1mfc4svOaUDl/7g4jEZ263Ud1A3Tc6sm8EyR2mjDWtqYAwsXUHlCJrFhu 7BPvf0XyC1LK2tJ7kh/pn+rl+dYxdSjcKF4Km/ioY3dOllpU0utM7WZp04aWfW0AiYKf 4CPDEfLTumpLGvLWoB+w5c2hOJLXH4i7b5LEzktMFu0settn9SPAq98G2+049gkEPYdm 0g0/2Wv8vfv4CO40wBZl2yJ+79u/vhOQfXGZLr4H/+XMd80SgFqHrP9kE0MGLynXE/cu SkeQ== 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=trECM+lHN1ggd6VdFy/bePjk79Soo5/m980SKr4dk8I=; fh=s/B9plor/OGT9f1P8+LDg0ADXj5/U1neaHMTFCOo/kM=; b=OhU5yWvenrNOp9KJfwzcPkKhkuuEgKVdCssRDJPw0KjAQYZow1VgYNnd/OUJsA0T3k wOBZPDwEvHzq/x345drJTuDkFrHHomhWRDgFPaKvotVCunun8bwIEnvAxPc/5Eq/yuFO Kcsx0m8ULI1kK2HO1rQ7TMT+wqCqHwK/rjglbjr0UPSZbqblo7t2GsJdBL2nKwTSB/wb lli4dvDzzkFy32jZMyl96xDWAXpP13Yj3nzuYOFgO9euMXudaYqrJUMnWHeds+W5Y/UQ zBxJjYQ5VqI2Hz83pn1t5wmkatssdaTy8oJYX6t0bfw/2t+JoOgXh2AuO3ViIFRIJdQd kp5A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OCAUmSCu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-101993-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101993-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. [147.75.199.223]) by mx.google.com with ESMTPS id o13-20020ac85a4d000000b0042ef835ac27si3138498qta.16.2024.03.13.10.34.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 10:34:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-101993-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OCAUmSCu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-101993-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101993-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 B09401C222A3 for ; Wed, 13 Mar 2024 17:34:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9C34764A9B; Wed, 13 Mar 2024 16:43:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OCAUmSCu" 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 B4FB6149DFD; Wed, 13 Mar 2024 16:43:25 +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=1710348205; cv=none; b=nGMoli7aC98ddX2s+2wXeiP8/ZZSkeDABbYpUmjidPnrdwCop925GNAk3b2NmPblXDCWbPo4ppG7rQOuj8MBggyczh5QD9cQakdtTaia/ngGYRCvuT+wNatuKwsQqlPxE6cNpBY75BroAToA/mWFOf5+yPEpzaLrMOjykAIUpCA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710348205; c=relaxed/simple; bh=otcY7mfhal37SsnDZ5/grTWidMrFmetWGelHWtWZv1o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZxA8Wc8YU8mkX7TxAf9e3EbUlZnvwYIgLgqGTP2jeymGMcW76JextRRT6PsOa/5simQ0sPxNcVQpuFIB+dG8iWUhjvPcTEMiUszoV4vEamssDppEYbnd45QrYfJI2/nPeZzKKoj0cbksp6Q9wViAVm157WsJbmR/5ku2H/rPA30= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OCAUmSCu; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6403EC433A6; Wed, 13 Mar 2024 16:43:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710348205; bh=otcY7mfhal37SsnDZ5/grTWidMrFmetWGelHWtWZv1o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OCAUmSCu6qD7oYa1PiUFpJfekgwj/DF2RD40CeaDU+NkHG7smayN/BxYAEFZ7YN2a 4fNdsl+qlt/CLZ7ApMVfqjyzs/CXtMFjCW3uf4TNs1yg9uaCYRKlnmLjht02CJX3cH /xs43wne5GdZAwMSiQsT2NVZpGcJapCpL5NysWZpnnDQmRN8MAdo2NXuP2ZzfxPSis Z3RL+V8cwWJOnrKcUI47FMefLOx39+vRMnGPbJVY40dCyKJDzwa9XCGQ66GG1YPLH6 2MzzCNUCgqh0HZJ/c8Ts2ap/8Brrqm0vxOSOLkg1UVZgeRD+JCuG1fWoZcy13HwLaB Dflqx1RANLqbQ== 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 5.15 53/76] selftests: mptcp: decrease BW in simult flows Date: Wed, 13 Mar 2024 12:42:00 -0400 Message-ID: <20240313164223.615640-54-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240313164223.615640-1-sashal@kernel.org> References: <20240313164223.615640-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/v5.x/stable-review/patch-5.15.152-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-5.15.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 5.15.152-rc1 X-KernelTest-Deadline: 2024-03-15T16:42+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 752cef1688040..99deb3abb169f 100755 --- a/tools/testing/selftests/net/mptcp/simult_flows.sh +++ b/tools/testing/selftests/net/mptcp/simult_flows.sh @@ -289,10 +289,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