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 AC20FA050A for ; Wed, 13 Apr 2022 13:20:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 997A4427FE; Wed, 13 Apr 2022 13:20:00 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id C37B4427FE for ; Wed, 13 Apr 2022 13:19:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649848798; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hW63hSjkdPPYL8ITKyyEVNB+TrIYcNAiz1b6rZyHyzE=; b=gx8FWd+5OdccOgJzTbQTSL93GSBMQ8gzRtZfKOvO7FEyXEMnbmx+cjsT9v177EvU50urUK gidyOn0L0EO6f6EZCXxLKXsogpvEmZDmSARPe9lbSJ3enQ+i0i1zYVZdywAYA+Qvci6ntL 7QcFm6W8LIDmLWDb4nm+KomT9nXviHk= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-296-vjO5hJZ2OlWC5m0AkbEUZg-1; Wed, 13 Apr 2022 07:19:54 -0400 X-MC-Unique: vjO5hJZ2OlWC5m0AkbEUZg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id BDCD985A5BC; Wed, 13 Apr 2022 11:19:53 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.192.83]) by smtp.corp.redhat.com (Postfix) with ESMTP id DD6F7C27EA7; Wed, 13 Apr 2022 11:19:52 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, stable@dpdk.org Subject: [PATCH] devtools: fix null test for NUMA systems Date: Wed, 13 Apr 2022 13:19:44 +0200 Message-Id: <20220413111944.11606-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true 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 On NUMA systems, default cores (0 and 1) might be on different memory nodes. Double the amount of memory. Cc: stable@dpdk.org 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 4ba57a6829..6cd34f64f1 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 -a 0:0.0 --vdev net_null1 --vdev net_null2 $eal_options -- \ --no-mlockall --total-num-mbufs=2048 $testpmd_options -ia -- 2.23.0