[Bug 198723] [hwpmc] pmcstat -p (process counting) gets corrupted even if pinned to a CPU

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 18 07:04:22 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198723

ganbold at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ganbold at gmail.com

--- Comment #1 from ganbold at gmail.com ---
It seems like PARTIAL_RAT_STALLS.SLOW_LEA_WINDOW and
PARTIAL_RAT_STALLS.MUL_SINGLE_UOP related to Sandybridge CPUs. Since I don't
have real hardware I tried it in VM:

root at bsd:/home/tsgan/himenobmtxpa/src # cpuset -l 0 pmcstat -w 1 -p
CPU_CLK_UNHALTED_CORE -p PARTIAL_RAT_STALLS.SLOW_LEA_WINDOW -p
PARTIAL_RAT_STALLS.MUL_SINGLE_UOP ./himenobmtxpa M 384
For example:
 Grid-size= XS (32x32x64)
        S  (64x64x128)
        M  (128x128x256)
        L  (256x256x512)
        XL (512x512x1024)

Grid-size = # p/CPU_CLK_UNHALTED_CORE p/PARTIAL_RAT_STALLS.SLOW_LEA_WINDOW
p/PARTIAL_RAT_STALLS.MUL_SINGLE_UOP
                  3026657                                17021                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
                        0                                    0                 
                 0
...

Not sure whether my setup is correct or not, but I don't see such big numbers.

How many and what type of CPUs do you have? What else is running on your
system? How can I test it in Xeon system?

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


More information about the freebsd-bugs mailing list