Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2018 07:41:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 234325] pmcstat seems to be broken in sampling mode (at least on amd hardware)
Message-ID:  <bug-234325-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234325

            Bug ID: 234325
           Summary: pmcstat seems to be broken in sampling mode (at least
                    on amd hardware)
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: shamaz.mazum@gmail.com

Hello. I use FreeBSD 12.0-RELEASE on two machines (one with Ryzen 5 1600X
processor and the other with FX-6300).

Recently (presumable after upgrading to 12.0-RELEASE) pmcstat stopped worki=
ng
in sample mode.

I run it as:
`pmcstat -P instructions -O test.out -n 65536 ./noisecpu` on FX-6300
or
`pmcstat -P ex_ret_instr -O test.out -n 65536 ./noisecpu` on Ryzen

and then I run `pmcstat -R test.out -g`

In both cases it creates directories (e.g. ex_ret_instr) which are either e=
mpty
or containing only kernel.gmon

`noisecpu` is computation heavy program, calculating value noise on a large
grid and works for ~8 seconds.

Conversion statistics usually looks like following:
#exec/elf 1
#samples/total 169
#samples/unclaimed 165
#callchain/dubious-frames 165

In counting mode (with -p argument) everything seems to be working. Can any=
body
confirm this?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234325-227>