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 4F339A050C for ; Tue, 26 Apr 2022 18:25:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D70D140E78; Tue, 26 Apr 2022 18:25:42 +0200 (CEST) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by mails.dpdk.org (Postfix) with ESMTP id 027A7406A2 for ; Tue, 26 Apr 2022 18:25:40 +0200 (CEST) Received: by mail-lf1-f45.google.com with SMTP id j4so8355112lfh.8 for ; Tue, 26 Apr 2022 09:25:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3ApFrgaIKNIHeLNYrs7paViVDu8nsrtgDBHaA6+sfCU=; b=EOB7nZqzY+nfW7ZNVS4pX1MIEhnxFgXcTVCaiQbMJ49Cq2CyNAhYXfEcMK8ME7iHw2 V3W5po+NeNxatlOUDFnvpoG05moYJmzkdt6oUNA8W0wwPG2fol2AiU1o0PrP+cKvj2Cw JtUATT+CWIPYkklxqQkHPiupoPr0jV/DVdXC43pjM7TKcVgQLwMThF7bP7RI0/oDvDMc e6pWWMPH/nC20hpaggQ08bLpgq08W+lsvhmvyLv+gSjWh/xcYeulj5Et8UJj9+QrTsw2 g2yMIbqXECsz60EdXoICo+FcUFJJHJ/nvfYt9iUrITlBW8drwu6jc6iS/xsZwD/qC3jD 4Sxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3ApFrgaIKNIHeLNYrs7paViVDu8nsrtgDBHaA6+sfCU=; b=6WIcHzDujjELSyuINSoApXuvm90N1rao2HUY6ZggYo9cdE6NhIltrHpm6ElCfkAb7A aryTeE9H85zL/qTViEY6EXZ7N5AGmv/2xGo7WSJXKjyLwTwM7ohgeYOqcdyFsLw8LTgn AC4NBEObgvXwJjz5VX5KWyceoqyFo8tEpzJtLgLvJyTEVYpqZlDGVmWXAEqBapYr1Ixb 6Z6IsLndyR89DBg08UnMhnJSAHONGiPqP526mSZKjKVqxPzo6qW1s/7eIuEx+EJQ6yeT aIK+ca5mskFlibjZgk5x9FBWRDjwvN0ILhoPRBppwB212L1NBn0EtTtc4EU5ffklmN4A a7Sg== X-Gm-Message-State: AOAM530zSRaZviJSEPOzXSXc2s0hxws9bHWBKGy2F7qvUTuLVkq9T9Ok 3ZX//zLzg9p2cotk3uZBgvjF0UYRUCx/e+87A7MWyApDfRq7nA== X-Google-Smtp-Source: ABdhPJz/JNGjjyK8+eOuutVtHMpPrpw9TqOZqQqAZBP00lxcPLT1QAKq/ona5lxbR7Pn7XlQeltmfE4oE1ny/VAG34c= X-Received: by 2002:a05:6512:1048:b0:472:d46:e55e with SMTP id c8-20020a056512104800b004720d46e55emr5974695lfb.132.1650990340306; Tue, 26 Apr 2022 09:25:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Antonio Di Bacco Date: Tue, 26 Apr 2022 18:25:28 +0200 Message-ID: Subject: Re: AMD EPYC 7713 64-Core: cannot enable turbo boost To: "Tummala, Sivaprasad" Cc: "users@dpdk.org" Content-Type: multipart/alternative; boundary="000000000000c2fb9405dd91242c" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --000000000000c2fb9405dd91242c Content-Type: text/plain; charset="UTF-8" That's fantastic: # sudo cpupower -c 99 frequency-info info analyzing CPU 99: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 99 CPUs which need to have their frequency coordinated by software: 99 maximum transition latency: Cannot determine or is not supported. hardware limits: 1.50 GHz - 3.72 GHz available frequency steps: 2.00 GHz, 1.70 GHz, 1.50 GHz available cpufreq governors: conservative ondemand userspace powersave performance schedutil current policy: frequency should be within 1.50 GHz and 3.72 GHz. The governor "userspace" may decide which speed to use within this range. current CPU frequency: 2.00 GHz (asserted by call to hardware) boost state support: Supported: yes Active: yes Boost States: 0 Total States: 3 Pstate-P0: 2000MHz Pstate-P1: 1700MHz Pstate-P2: 1500MHz Il giorno mar 26 apr 2022 alle ore 12:00 Tummala, Sivaprasad < Sivaprasad.Tummala@amd.com> ha scritto: > [AMD Official Use Only - General] > > > > Hi Antonio, > > > > We are looking into this. Could you please share the below info: > > # cpupower -c frequency-info info > > analyzing CPU : > > driver: acpi-cpufreq > > > > > > *From:* Antonio Di Bacco > *Sent:* Monday, April 25, 2022 10:43 PM > *To:* users@dpdk.org > *Subject:* AMD EPYC 7713 64-Core: cannot enable turbo boost > > > > [CAUTION: External Email] > > Trying to enable turbo boost on EPYC 7713 with this APIS: > > > > rte_power_init(lcore) > rte_power_freq_enable_turbo(lcore) > rte_power_freq_max(lcore) > > > > I receive this messages: > > > > DPDK:POWER: Env isn't set yet! > DPDK:POWER: Attempting to initialise ACPI cpufreq power management... > DPDK:POWER: Power management governor of lcore 99 has been set to > 'userspace' successfully > DPDK:POWER: Initialized successfully for lcore 99 power management > DPDK:POWER: Failed to enable turbo on lcore 99 > --000000000000c2fb9405dd91242c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That's fantastic:

# sudo cpupower -= c 99 frequency-info info
analyzing CPU 99:
=C2=A0 driver: acpi-cpufre= q
=C2=A0 CPUs which run at the same hardware frequency: 99
=C2=A0 CPU= s which need to have their frequency coordinated by software: 99
=C2=A0 = maximum transition latency: =C2=A0Cannot determine or is not supported.
= =C2=A0 hardware limits: 1.50 GHz - 3.72 GHz
=C2=A0 available frequency s= teps: =C2=A02.00 GHz, 1.70 GHz, 1.50 GHz
=C2=A0 available cpufreq govern= ors: conservative ondemand userspace powersave performance schedutil
=C2= =A0 current policy: frequency should be within 1.50 GHz and 3.72 GHz.
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 The governor= "userspace" may decide which speed to use
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 within this range.
=C2=A0 = current CPU frequency: 2.00 GHz (asserted by call to hardware)
=C2=A0 bo= ost state support:
=C2=A0 =C2=A0 Supported: yes
=C2=A0 =C2=A0 Active:= yes
=C2=A0 =C2=A0 Boost States: 0
=C2=A0 =C2=A0 Total States: 3
= =C2=A0 =C2=A0 Pstate-P0: =C2=A02000MHz
=C2=A0 =C2=A0 Pstate-P1: =C2=A017= 00MHz
=C2=A0 =C2=A0 Pstate-P2: =C2=A01500MHz

Il giorno mar 26 a= pr 2022 alle ore 12:00 Tummala, Sivaprasad <Sivaprasad.Tummala@amd.com> ha scritto:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex">

[AMD Official Use Only - General]

=C2=A0

Hi Antonio,

=C2=A0

We are looking into this. Could you please share the below info:

# cpupower -c <lcore> frequency-info info

analyzing CPU <lcore>:

=C2=A0 driver: acpi-cpufreq

=C2=A0

=C2=A0

From: Antonio Di Bacco <a.dibacco.ks@gmail.com> Sent: Monday, April 25, 2022 10:43 PM
To: users@dpdk.o= rg
Subject: AMD EPYC 7713 64-Core: cannot enable turbo boost<= /u>

=C2=A0

[CAUTION: External Email]

Trying to enable turbo boost on EPYC 7713 with this = APIS:

=C2=A0

=C2=A0 rte_power_init(lcore)
=C2=A0 rte_power_freq_enable_turbo(lcore)
=C2=A0rte_power_freq_max(lcore)

=C2=A0

=C2=A0I receive this messages:

=C2=A0

DPDK:POWER: Env isn't set yet!
DPDK:POWER: Attempting to initialise ACPI cpufreq power management...
DPDK:POWER: Power management governor of lcore 99 has been set to 'user= space' successfully
DPDK:POWER: Initialized successfully for lcore 99 power management
DPDK:POWER: Failed to enable turbo on lcore 99

--000000000000c2fb9405dd91242c--