From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 06CCAA0540 for ; Thu, 7 Jul 2022 09:56:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0225E4282D; Thu, 7 Jul 2022 09:56:52 +0200 (CEST) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id 8344A415D7 for ; Thu, 7 Jul 2022 09:56:50 +0200 (CEST) Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 64B3C40A90 for ; Thu, 7 Jul 2022 07:56:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1657180610; bh=VIm84XnWZd6j0H+/h9+szkA2BJ9COS0VAeKmKV4MlKM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=VmeeqMyG8Qgn/Fqe2/Yz7ZbwH2Cr4MbOhfVwQe3ghAM4VIlnuFGhqX6KNA0LPBb0x XC4YXJ9IkWR70lH4/mphz5+5J9ZXsdqCArBCycxGgQjNEyecXbU1wCIavH+6xIBGPJ Wk1Equrrgp/1kxqM46BRnTew/q8g81Eto3TgxFS7cWksKzXxsdUOXOuMHQEh5xAxZ+ BWq9hyrVN25iuocepM90YmPT/34KRSy8y3fBS++BcA2nwCEjGL39DA25NUOvuF4Wtb 76XNPxVUDkNqslROVFPqLtDS6DVTxJkVplmzaU69chEjrwAKa4YVdEULphdMogEdUd ir+MNx+e8jRNw== Received: by mail-ed1-f72.google.com with SMTP id v16-20020a056402349000b00435a1c942a9so13476888edc.15 for ; Thu, 07 Jul 2022 00:56:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VIm84XnWZd6j0H+/h9+szkA2BJ9COS0VAeKmKV4MlKM=; b=FbjZGMO6DxDoGxkwP2H2QT4G00ypZe64kUFkzmczPKpdiuglpDNPfyEim/lFYDfZr/ ugq+X05nuvPcXERwiX6bKrN6YNTz+ecoyfD1AgLd8I2/UQs7BqyX0sNfKrhDQjLMhON5 YjT5yInDVk82E//69QXrBBfEsz903DnBe5dWHr5Ag+RZmK+WkG9aboP22N16trEVmD23 7FzDBV/5Jb/L55tTovvli8CJInvp56UzqwqkI6GQn5A8G9sAm5cs1/JydTAxDaJxhMGj pP8u+/RZ6Aa8mYbm+CjRN0pba5oHcJStSMVN62LManq0RDufzFXSfkj3q4w7/RV74pwr qvTA== X-Gm-Message-State: AJIora/thWE0JpvOY0Zz6pWAcXTMVJDXU3pcPmXGOS8dyOHSoLXHaXAm leH/Lovwr4+k9+ylsrT039/bhQoqnPas/td1O1Emk3p+q82Lx6gyfXHvEmS6RDN9k25HcgU4+ot RO+wr+Z8wB2Y46Pq7gypJLYHi X-Received: by 2002:a17:907:3d92:b0:726:39f9:4a33 with SMTP id he18-20020a1709073d9200b0072639f94a33mr42366947ejc.766.1657180609907; Thu, 07 Jul 2022 00:56:49 -0700 (PDT) X-Google-Smtp-Source: AGRyM1svq8tKxlBJPZtAkkyL9zXFAJIzxhqNDvZ7fpIaaT4s1zYOpheXsoBuX00IUpDKqLpmwHzGKw== X-Received: by 2002:a17:907:3d92:b0:726:39f9:4a33 with SMTP id he18-20020a1709073d9200b0072639f94a33mr42366935ejc.766.1657180609719; Thu, 07 Jul 2022 00:56:49 -0700 (PDT) Received: from Keschdeichel.fritz.box ([2a02:6d40:3a4f:7b00:c19b:938e:7c97:afe2]) by smtp.gmail.com with ESMTPSA id eq26-20020a056402299a00b0043a26e3db72sm9957123edb.54.2022.07.07.00.56.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 00:56:49 -0700 (PDT) From: christian.ehrhardt@canonical.com To: David Marchand Cc: dpdk stable Subject: patch 'devtools: fix null test for NUMA systems' has been queued to stable release 19.11.13 Date: Thu, 7 Jul 2022 09:54:24 +0200 Message-Id: <20220707075522.194223-29-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220707075522.194223-1-christian.ehrhardt@canonical.com> References: <20220707075522.194223-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 19.11.13 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/09/22. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/f616893e2a13e7b6cbe07aa40a2205e3d21cce7d Thanks. Christian Ehrhardt --- >From f616893e2a13e7b6cbe07aa40a2205e3d21cce7d Mon Sep 17 00:00:00 2001 From: David Marchand Date: Wed, 13 Apr 2022 13:19:44 +0200 Subject: [PATCH] devtools: fix null test for NUMA systems [ upstream commit 924de7b8e64489231351c48767973a1042d8ffd3 ] On NUMA systems, default cores (0 and 1) might be on different memory nodes. Double the amount of memory. Fixes: 9e6b36c34ce9 ("app/testpmd: reduce memory consumption") Signed-off-by: David Marchand --- devtools/test-null.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devtools/test-null.sh b/devtools/test-null.sh index f39af2c064..6d763bc94f 100755 --- a/devtools/test-null.sh +++ b/devtools/test-null.sh @@ -27,6 +27,7 @@ else fi (sleep 1 && echo stop) | -$testpmd -c $coremask --no-huge -m 20 \ +# testpmd only needs 20M, make it x2 (default number of cores) for NUMA systems +$testpmd -c $coremask --no-huge -m 40 \ $libs -w 0:0.0 --vdev net_null1 --vdev net_null2 $eal_options -- \ --no-mlockall --total-num-mbufs=2048 $testpmd_options -ia -- 2.37.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-07-07 09:54:12.438487264 +0200 +++ 0029-devtools-fix-null-test-for-NUMA-systems.patch 2022-07-07 09:54:10.841823851 +0200 @@ -1 +1 @@ -From 924de7b8e64489231351c48767973a1042d8ffd3 Mon Sep 17 00:00:00 2001 +From f616893e2a13e7b6cbe07aa40a2205e3d21cce7d Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 924de7b8e64489231351c48767973a1042d8ffd3 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -18 +19 @@ -index 4ba57a6829..6cd34f64f1 100755 +index f39af2c064..6d763bc94f 100755 @@ -28 +29 @@ - $libs -a 0:0.0 --vdev net_null1 --vdev net_null2 $eal_options -- \ + $libs -w 0:0.0 --vdev net_null1 --vdev net_null2 $eal_options -- \