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 4A3B141CE5; Mon, 20 Feb 2023 13:07:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 29F6341133; Mon, 20 Feb 2023 13:07:35 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id C469340395 for ; Mon, 20 Feb 2023 13:07:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676894853; 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: in-reply-to:in-reply-to:references:references; bh=7sWKah60LMXjQhquNhJPT7JC0GcYfewyGSGdHCtstEQ=; b=dlf93O8hyW1VZ7DefIIselfvnZlAgb9pwOMM2LMGKsh+Mik4FQL/Go727YgEMIbE+WG+96 OR9rtakXSoIGrJNkgUqrxMxOV7/IAN/oasuUSbpjEemX3UillkfaoP+RsZYq8zduCueOYV F7c12u2L9EvRwb3EzNqPELGK9SCF9s8= Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-67-7cR7Ao2XN2uDYiAM0-prdA-1; Mon, 20 Feb 2023 07:07:31 -0500 X-MC-Unique: 7cR7Ao2XN2uDYiAM0-prdA-1 Received: by mail-pj1-f70.google.com with SMTP id i6-20020a17090a974600b0023487c793d0so562601pjw.7 for ; Mon, 20 Feb 2023 04:07:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7sWKah60LMXjQhquNhJPT7JC0GcYfewyGSGdHCtstEQ=; b=BlbFBzRcaqEM/KoiVH8DOIazbfidxP1KJdXu5GIIFKfZ7hUcWpNp+lOC21opxvFt27 0t/l+8HGyfMjLxr7EgKt2IGmPi1DztJABzfzxDOyQiALIg8s1wA9BZo+CdjOJg0kdpMP ATBlG6vXN9MS36xhAO0uirW+axLU8PtPJtYfhFiIuOfUOApQ8Uhz/VgVkNBr9wZJFs2B nOJbAzer9IhPL6bU4ZAvXxzqNxfUEyGWOsP1RWMVlvae7fDUQ5v6hs4wjX9pc/kCDQ34 Ys21Zd320ktQTuY0DwQh9r2SGxODzYWOnWl8ODi1jVqp+PC73S5IDiJ3MOpm45eD7ZOg JyAw== X-Gm-Message-State: AO0yUKUks0i6+VXt72vLcJdxjP+8SC8d1Kb095MkaDENxLwbGg5kvHot 2jBiOSxe8CAnTQ5hARd3OJOciex1z1r2IIGribyPtK33Q31id/e7VHk6vvVLx3SWwu9YxiDHXR5 FsOkdgAAqisN/TBffDWw= X-Received: by 2002:a17:90b:278d:b0:236:70c2:9819 with SMTP id pw13-20020a17090b278d00b0023670c29819mr522361pjb.116.1676894850662; Mon, 20 Feb 2023 04:07:30 -0800 (PST) X-Google-Smtp-Source: AK7set/NFtxAHVFilcAxhxN4W68yGPAY26nmIvhuLdkPfIypu4U0VGcYd4QXfbENJlrhwLAf4ifvld1ONURgiQqmjVU= X-Received: by 2002:a17:90b:278d:b0:236:70c2:9819 with SMTP id pw13-20020a17090b278d00b0023670c29819mr522351pjb.116.1676894850354; Mon, 20 Feb 2023 04:07:30 -0800 (PST) MIME-Version: 1.0 References: <20220825064251.2637274-1-feifei.wang2@arm.com> <20230220085109.3463640-1-feifei.wang2@arm.com> In-Reply-To: <20230220085109.3463640-1-feifei.wang2@arm.com> From: David Marchand Date: Mon, 20 Feb 2023 13:07:19 +0100 Message-ID: Subject: Re: [PATCH v6 0/2] Enable PMD power management on Arm To: Feifei Wang Cc: dev@dpdk.org, david.hunt@intel.com, stephen@networkplumber.org, thomas@monjalon.net, nd@arm.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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 Mon, Feb 20, 2023 at 9:51 AM Feifei Wang wrote: > > For Arm aarch, use WFE instructions to enable PMD power management. > > Test Results: > dynamic instructions over 1sec without wfe with wfe percentage > ampere-altra 6,298,483,712 9,117,624 -99.855% > thunderx2 6,990,909,373 3,247,226 -99.954% > > When power efficient PMD is enabled by using WFE on Arm, if no pkts > received, the instructions that CPU executes is reduced by 99%. > > Feifei Wang (2): > eal: add 8 bits case for wait scheme > eal: add power mgmt support on Arm > > doc/guides/rel_notes/release_23_03.rst | 4 ++ > lib/eal/arm/include/rte_pause_64.h | 32 +++++++++++++-- > lib/eal/arm/rte_cpuflags.c | 5 +++ > lib/eal/arm/rte_power_intrinsics.c | 55 ++++++++++++++++++++++++-- > 4 files changed, 89 insertions(+), 7 deletions(-) Fixed release notes, squashed patches and applied, thanks. -- David Marchand