Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Apr 2015 07:04:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 198723] [hwpmc] pmcstat -p (process counting) gets corrupted even if pinned to a CPU
Message-ID:  <bug-198723-8-bKtq2wdvjC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-198723-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-198723-8@https.bugs.freebsd.org/bugzilla/>

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

ganbold@gmail.com changed:

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

--- Comment #1 from ganbold@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@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.



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