On Wed, 9 Dec 2020 at 20:23, Sandeep <sandy.8925@xxxxxxxxx> wrote: > > On Wed, 9 Dec 2020 at 16:33, Chatradhi, Naveen Krishna > <NaveenKrishna.Chatradhi@xxxxxxx> wrote: > > > > [AMD Official Use Only - Approved for External Use] > > > > Hi Guenter, > > > > >> This patch will require an Ack from Naveen; support for this model was previously removed due to inconsistent results; see commit f28e360f2903 > > ("hwmon: (amd_energy) match for supported models"), > > I could not get hold of a board with the mentioned processor. > > > > Sandeep, > > > > Earlier, we noticed on some of the family 17h processors the core and socket energy counters are not well calibrated. > > > > While running avx-turbo work load https://github.com/travisdowns/avx-turbo as below, we noticed that for a given time, > > the sum of the energy consumed by all the cores in a socket is greater than the energy consumed by the socket itself. > > > > Can you run the avx-turbo test, with following options and confirm the results ? > > > > ./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. > > > > Regards, > > Naveenk > > Sure, I'll run that test. I have a 3900X though, which is 12 core, so > do I have to adjust anything for that CPU, or just run with the > parameters you've specified? > > - Sandeep Ok, I ran the test for both 8 cores and 12 cores - in both cases, I can confirm that the sum of the energy consumed by all the cores in a socket, is NOT greater than the energy consumed by the socket itself. - Sandeep