From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ci-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 65F5F41EBE
	for <public@inbox.dpdk.org>; Fri, 17 Mar 2023 17:22:15 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 6019942FD2;
	Fri, 17 Mar 2023 17:22:15 +0100 (CET)
Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com
 [209.85.214.172])
 by mails.dpdk.org (Postfix) with ESMTP id AB29D42F98
 for <ci@dpdk.org>; Fri, 17 Mar 2023 17:22:13 +0100 (CET)
Received: by mail-pl1-f172.google.com with SMTP id p20so5795212plw.13
 for <ci@dpdk.org>; Fri, 17 Mar 2023 09:22:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20210112.gappssmtp.com; s=20210112; t=1679070133;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:subject:cc:to:from:date:from:to:cc:subject:date
 :message-id:reply-to;
 bh=HtrrIPbJUYMcnKrd8wLo2kKgrvnShVFggrs0kPBLTCw=;
 b=SqPqGb1c+w1I8EGc1ci7kqB4ZLmXD8L+rry53KuwLQE5rxTA6NrnT8jGMS6akE87MV
 NdjtDTke0SiE7WiP2sPOkorGsujhzV+vLCU0xPPhCOiPkCUKvXBJ1CwSDftu/XA75AWt
 lxOzlGh/OBSWKAxhiIKvssw8uKD4rx9170PDqO/fcK5AAYvqXz77xEtpr4w+Z526geeZ
 66ggbJ/x0wmY2eFzEAGD5dEoPc86VOt7cddcmXb3m9zpaxB46ptBayEgH4NPunWdJpy6
 cZaNYE4Q22x86Eq080JNNLPLhFwmQSB8b0FQet2zIhNSAOqQMvC3X1kloNFe2g5w61DO
 bepw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112; t=1679070133;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=HtrrIPbJUYMcnKrd8wLo2kKgrvnShVFggrs0kPBLTCw=;
 b=5ZThLoYyxoyTZRp3o+5RhoQUaxi9Iv5GL3kXvU56OV0BDR6GoC2FJv24e7H8fb7suj
 lbTbpFVBMc/2tgBGs+Qnjg99hvcRQTVCAGcR5s7JABuydeNdhR161OHjzG1lV0BLo5/i
 gkcL5iEyHDQjBVKhD90xDI4AAA6rg+m8BwhQG6BPagloQIU0Wq2//3BzaO0px7h1gan6
 mFJHPu7gfz/Io2L3HjWTShUSFfA3rX/6EWrTUJG2/1gkG2yISt8HV+GBfY2M7hhPGZ9T
 Ypzi4DVMnpC1DVejwP9LBKUL2ZRIPJKDKFNh8IjRO8nIb2kyNTB02gEvD+jQk5XNGVz/
 cXqQ==
X-Gm-Message-State: AO0yUKUXtgUJ2PV4VtAMQNmzMLA/ON37AmBLDLezWzACfDefphMv/oDk
 IZGMCOLweLSH0UfOeIgcCgf7iA==
X-Google-Smtp-Source: AK7set+ln26iTX9/ig7L2hegd2KyduhAY7Dw9UsajRCvJIz1Fjj1cHzdOXz8gkE0M8RL4NPPcrDj8g==
X-Received: by 2002:a05:6a20:8493:b0:d4:9cb2:9030 with SMTP id
 u19-20020a056a20849300b000d49cb29030mr7263148pzd.24.1679070132776; 
 Fri, 17 Mar 2023 09:22:12 -0700 (PDT)
Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218])
 by smtp.gmail.com with ESMTPSA id
 s17-20020a62e711000000b00575d1ba0ecfsm1756483pfh.133.2023.03.17.09.22.12
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 17 Mar 2023 09:22:12 -0700 (PDT)
Date: Fri, 17 Mar 2023 09:22:10 -0700
From: Stephen Hemminger <stephen@networkplumber.org>
To: "Anthony Harivel" <aharivel@redhat.com>
Cc: "Ferruh Yigit" <ferruh.yigit@amd.com>, "Aman Singh"
 <aman.deep.singh@intel.com>, "Yuying Zhang" <yuying.zhang@intel.com>,
 <dev@dpdk.org>, <rjarry@redhat.com>, <david.marchand@redhat.com>,
 <ktraynor@redhat.com>, <ci@dpdk.org>, <aconole@redhat.com>
Subject: Re: [PATCH 2/2] app/testpmd: add testpmd based sleeping
Message-ID: <20230317092210.63077b49@hermes.local>
In-Reply-To: <CR8M0YYFWTAE.2VTIDJCDTRYOA@fedora>
References: <20230316151438.186241-1-aharivel@redhat.com>
 <20230316151438.186241-2-aharivel@redhat.com>
 <98399365-a3ab-9ade-4102-22e3582e2358@amd.com>
 <CR8M0YYFWTAE.2VTIDJCDTRYOA@fedora>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-BeenThere: ci@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK CI discussions <ci.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/ci>,
 <mailto:ci-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/ci/>
List-Post: <mailto:ci@dpdk.org>
List-Help: <mailto:ci-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/ci>,
 <mailto:ci-request@dpdk.org?subject=subscribe>
Errors-To: ci-bounces@dpdk.org

On Fri, 17 Mar 2023 12:09:04 +0100
"Anthony Harivel" <aharivel@redhat.com> wrote:

> Ferruh Yigit, Mar 16, 2023 at 18:05:
> > Hi Anthony,
> >
> > What is the motivation here?  
> 
> Hi Ferruh,
> 
> AFAIK testpmd is the reference tool used for CI and tests whether it is
> for functional or performance tests and I think it would be in
> everyone's interest to consume less CPU during them. Moreover, all
> patches coming to the ML are going through validation tests and this
> could reduce the maintenance cost of the project.

But it introduces another variable, and the performance would vary based on
sleeping and HW interaction. I think testpmd should just run with 100% CPU,
and leave the heuristics stuff to some of the example applications.