From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 632A8C433E0 for ; Wed, 10 Jun 2020 20:21:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 44EE02078D for ; Wed, 10 Jun 2020 20:21:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726828AbgFJUVo (ORCPT ); Wed, 10 Jun 2020 16:21:44 -0400 Received: from winnie.ispras.ru ([83.149.199.91]:18733 "EHLO smtp.ispras.ru" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726219AbgFJUVn (ORCPT ); Wed, 10 Jun 2020 16:21:43 -0400 Received: from monopod.intra.ispras.ru (monopod.intra.ispras.ru [10.10.3.121]) by smtp.ispras.ru (Postfix) with ESMTP id DBC09203C1; Wed, 10 Jun 2020 23:21:40 +0300 (MSK) Date: Wed, 10 Jun 2020 23:21:40 +0300 (MSK) From: Alexander Monakov To: Naveen Krishna Ch cc: Guenter Roeck , Naveen Krishna Chatradhi , linux-hwmon@vger.kernel.org Subject: Re: [PATCH 1/3 v7] hwmon: Add amd_energy driver to report energy counters In-Reply-To: Message-ID: References: <20200519155011.56184-1-nchatrad@amd.com> User-Agent: Alpine 2.20.13 (LNX 116 2015-12-14) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org On Thu, 28 May 2020, Naveen Krishna Ch wrote: > > No, this isn't right. The workload is not stressing all cores, you're > > reporting 235 J for core 0 and only 35 J for core 7. > > > > If you are running the avx-turbo test, please run it like this: > > > > ./avx-turbo --iters 10000000 --spec avx256_fma_t/8 > > > > This will run AVX code on all 8 cores for about 1 second. To run it for longer, > > increase the --iters argument. > I ran with all cores loaded now and i see that > sum of diff of energy consumed by all cores is greater than the diff of > socket energy consumed in 100secs. > > Kindly, give me time. I will come back with some explanation or solution. Hello. Is there any update on this issue? Thanks. Alexander