From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 22 Feb 2019 23:11:25 -0000 Received: from mga07.intel.com ([134.134.136.100]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gxJyW-0006g8-40 for speck@linutronix.de; Sat, 23 Feb 2019 00:11:24 +0100 Subject: [MODERATED] Fwd: [PATCH 4/4] walnut 4 References: <47f2b71e-96b5-da80-d87e-882b36a34133@linux.intel.com> From: Nelson D'Souza Message-ID: <8d61c52d-b55c-aec5-ab47-4f9c6dc4cb6f@linux.intel.com> Date: Fri, 22 Feb 2019 15:19:57 -0800 MIME-Version: 1.0 In-Reply-To: <47f2b71e-96b5-da80-d87e-882b36a34133@linux.intel.com> Content-Type: multipart/mixed; boundary="2xFGirQfrgGctOMhAWXBsczGwlT1eBy3F"; protected-headers="v1" To: speck@linutronix.de List-ID: This is an OpenPGP/MIME encrypted message (RFC 4880 and 3156) --2xFGirQfrgGctOMhAWXBsczGwlT1eBy3F Content-Type: multipart/mixed; boundary="------------32BADCA9B0029AD5EEC6B9C7" Content-Language: en-US This is a multi-part message in MIME format. --------------32BADCA9B0029AD5EEC6B9C7 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Peter, I have attached the initial test logs from your latest patchset.=20 The perf command does not crash when /sys/devices/cpu/allow_tsx_force_abo= rt is set to 0. =20 Thanks, Nelson On 2/19/19 8:10 AM, speck for Peter Zijlstra wrote: > On Tue, Feb 19, 2019 at 04:58:11PM +0100, speck for Peter Zijlstra wrot= e: >> + if (!allow_tsx_force_abort && test_bit(3, c->idxmsk)) { >> + c =3D dyn_constraint(cpuc, c, idx); >> + c->idxmsk64 &=3D ~(1ULL << 3); >> + c->weight =3D c->idxmsk64 - 1; >=20 > Damn; that should be: >=20 > c->weight--; >=20 --------------32BADCA9B0029AD5EEC6B9C7 Content-Type: text/plain; charset=UTF-8; name="tsx_force_abort_0.3counters" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="tsx_force_abort_0.3counters" # started on Thu Feb 21 15:23:52 2019 Performance counter stats for 'system wide': 89,033 cache-misses # 21.591 % of all cac= he refs =20 412,353 cache-references = =20 4,630,472,209 branches = =20 1.005154418 seconds time elapsed --------------32BADCA9B0029AD5EEC6B9C7 Content-Type: text/plain; charset=UTF-8; name="tsx_force_abort_0.4counters" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="tsx_force_abort_0.4counters" # started on Thu Feb 21 15:24:10 2019 Performance counter stats for 'system wide': cache-misses = =20 cache-references = =20 branches = =20 branch-misses = =20 1.005054423 seconds time elapsed --------------32BADCA9B0029AD5EEC6B9C7 Content-Type: text/plain; charset=UTF-8; name="tsx_force_abort_1.3counters" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="tsx_force_abort_1.3counters" # started on Thu Feb 21 15:21:37 2019 Performance counter stats for 'system wide': 58,484 cache-misses # 14.165 % of all cac= he refs =20 412,875 cache-references = =20 4,627,163,916 branches = =20 1.005123883 seconds time elapsed --------------32BADCA9B0029AD5EEC6B9C7 Content-Type: text/plain; charset=UTF-8; name="tsx_force_abort_1.4counters" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="tsx_force_abort_1.4counters" # started on Thu Feb 21 15:21:04 2019 Performance counter stats for 'system wide': 71,146 cache-misses # 11.203 % of all cac= he refs =20 635,039 cache-references = =20 4,616,150,556 branches = =20 84,552 branch-misses # 0.00% of all branc= hes =20 1.005141562 seconds time elapsed --------------32BADCA9B0029AD5EEC6B9C7-- --2xFGirQfrgGctOMhAWXBsczGwlT1eBy3F--