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 4FB9141EBE; Fri, 17 Mar 2023 17:22:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3CDC642F98; Fri, 17 Mar 2023 17:22:14 +0100 (CET) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mails.dpdk.org (Postfix) with ESMTP id AB1A740395 for ; Fri, 17 Mar 2023 17:22:13 +0100 (CET) Received: by mail-pl1-f178.google.com with SMTP id k2so5810910pll.8 for ; 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=YefjGZJyXmN/CNtKXXPacYf0p1yQzwlqB7ywkb+MXZcO/mngGD1QOwTplcNub/dujT JK1P/8woan2c2c9ys+tXpWu7FRDbt8/CouzrALKKa3OPOofsYKBZO9oUuVYquroGrznd Qyld6eH3MCNz9QzOZOn77PTHm0GBAS3w8Qxw99PPkP2AV7RFXbATiOmbRZMMLL1Yt1JV uDbtxVMsRJaqCKbh8Y0fq03CUHdWn/ar356doRbjHMycrPZnh5gw5IVIZHpSGDx0eJKA PVWak2nVAIHSwu5EGxu5C2X2qzhb61iAtljwXJUvrj7dDQg1AUrnEOLA79U4m5KrLbpz 2jIQ== X-Gm-Message-State: AO0yUKWmKUyc5XlpvgDePNsr6OQ9xhdP/rOCHNu100SOG75febOuTGLE fYOO267LoAX/oUH695+HOHwqFQ== 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 To: "Anthony Harivel" Cc: "Ferruh Yigit" , "Aman Singh" , "Yuying Zhang" , , , , , , Subject: Re: [PATCH 2/2] app/testpmd: add testpmd based sleeping Message-ID: <20230317092210.63077b49@hermes.local> In-Reply-To: References: <20230316151438.186241-1-aharivel@redhat.com> <20230316151438.186241-2-aharivel@redhat.com> <98399365-a3ab-9ade-4102-22e3582e2358@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Fri, 17 Mar 2023 12:09:04 +0100 "Anthony Harivel" 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.