Re: [PATCH] Add support for Zen 2 CPUs to amd_energy driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 10 Dec 2020 at 04:43, Sandeep <sandy.8925@xxxxxxxxx> wrote:
>
> On Thu, 10 Dec 2020 at 01:35, Sandeep <sandy.8925@xxxxxxxxx> wrote:
> >
> > On Wed, 9 Dec 2020 at 20:58, Chatradhi, Naveen Krishna
> > <NaveenKrishna.Chatradhi@xxxxxxx> wrote:
> > >
> > > [AMD Official Use Only - Approved for External Use]
> > >
> > > Hi Sandeep,
> > >
> > > >> 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?
> > >
> > > I'm trying to get hold of a system to test it myself. In the meanwhile, you may run the following command
> > > in the back ground and read the counters (cores and socket) at 5 to 10 secs apart and
> > > sum of the diff of core counters should be not be > diff of socket counters
> > >
> > > sudo ./avx-turbo --iters 1000000000 --spec avx256_fma_t/12
> > >
> > > You may refer https://www.spinics.net/lists/linux-hwmon/msg08255.html link for more background of the testing.
> > >
> > > Regards,
> > > Naveenk
> > >
> >
> > Do you already have a script or something that I can run to
> > automatically gather this information (i.e check values every 5
> > seconds, calculate differences and check if the results line up)?
> > Doing this manually, sounds like a lot of work that I really don't
> > want to get into.
> >
> > - Sandeep
>
> Ok, I was able to write a small program to automate the test, and it
> looks like the following condition "sum of the diff of core counters
> > diff of socket counters" is indeed true. Looks like the values are
> indeed incorrect sometimes.
> - Sandeep

I've uploaded the test program I wrote here -
https://github.com/sandy-8925/amd-energy-tester - in case it's useful
for anyone else. Let me know if you spot any bugs in that code.

- Sandeep



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux