From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 21 01:21:08 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8733AD0E for ; Tue, 21 Apr 2015 01:21:08 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 69F371AB for ; Tue, 21 Apr 2015 01:21:08 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t3L1L81I052725 for ; Tue, 21 Apr 2015 01:21:08 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 Date: Tue, 21 Apr 2015 01:21:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ganbold@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Apr 2015 01:21:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198723 --- Comment #4 from ganbold@gmail.com --- Some more outputs: root@bsd:/home/tsgan/himenobmtxpa/src # cpuset -l 1 pmcstat -w 1 -p CPU_CLK_UNHALTED_CORE -p PARTIAL_RAT_STALLS.SLOW_LEA_WINDOW -p PARTIAL_RAT_STALLS.MUL_SINGLE_UOP ./himenobmtxpa M mimax = 128 mjmax = 128 mkmax = 256 imax = 127 jmax = 127 kmax =255 # p/CPU_CLK_UNHALTED_CORE p/PARTIAL_RAT_STALLS.SLOW_LEA_WINDOW p/PARTIAL_RAT_STALLS.MUL_SINGLE_UOP 496973198 1891482 0 0 0 0 0 0 0 6211441 6475 0 67851413 228420 0 167437929 578476 0 58202990 263315 0 159091555 615841 0 199474522 914360 0 435143068 2102652 0 Start rehearsal measurement process. Measure the performance in 3 times. 1046313910 3638978 9088916 661072248 1262611 12287166 1181939944 2818232 22741743 571538306 1247954 8365446 1123442862 3240698 18681005 1356224563 3224598 22727923 1147070767 3143202 18853622 1291379900 3264098 22911348 640597242 1432676 10454925 469944137 1173440 8993387 388538712 875062 6810780 MFLOPS: 38.013623 time(s): 10.607217 1.733593e-03 Now, start the actual measurement process. The loop will be excuted in 16 times This will take about one minute. Wait for a while 165134408 621783 851017 239418647 639771 3972871 1002366660 2269801 16204933 1125772300 2705173 20909153 1073364783 2946491 16979374 1199833427 2934209 20613526 1270493498 3131262 22138008 1108155249 3002679 17521465 1314310219 3156869 22821855 1140823030 2842658 20023985 1126332577 2883871 18672363 1162000580 2832338 21202038 1109106518 3066909 16946660 1296149672 3304390 21986759 1179265638 2807189 21081432 1068573361 2922111 16053932 1198262630 2887323 21327538 # p/CPU_CLK_UNHALTED_CORE p/PARTIAL_RAT_STALLS.SLOW_LEA_WINDOW p/PARTIAL_RAT_STALLS.MUL_SINGLE_UOP 1175241231 2829240 20693991 1096268514 3018859 16739105 1185463271 2963422 21308158 1178471187 2863822 20017627 1148132142 3233218 17586444 1144689029 2976330 20739875 1094868768 2882188 17116037 1269267205 3162007 21789166 1145196524 2810384 19985030 1210390022 3289607 16888847 1201586511 2994667 21764537 1146922422 2767725 19709885 1170310109 3175550 16395202 1289971174 3180738 22527756 1057194734 2602396 19377512 1157004463 3193955 17467630 1235730044 3065464 21453972 1081579818 2756388 17322508 1196944986 3144452 20926928 1095767389 2631318 18833998 1056892461 2789426 16491839 1262274645 3215379 21593331 1193887452 3066186 21195414 1077392053 3120552 17142660 1199816969 2999705 21635489 1064253746 2552890 18452838 1103708407 2965405 16170094 1244782428 2882083 21250280 1199552244 2798772 19013893 Loop executed for 16 times Gosa : 1.604793e-03 MFLOPS measured : 45.999056 cpu : 46.750959 Score based on Pentium III 600MHz using Fortran 77: 0.560964 558500599 2034859 3314459 root@bsd:/home/tsgan/himenobmtxpa/src # -- You are receiving this mail because: You are the assignee for the bug.