Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1541832yba; Tue, 2 Apr 2019 10:47:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqxCjbAvTGHN563NmvEOqHKOMtyeDP0yIT8U8hm0HXEK3aEUw/c+YzMLsnpwrrk9KNbKFl8z X-Received: by 2002:a62:4ec8:: with SMTP id c191mr32186336pfb.138.1554227247099; Tue, 02 Apr 2019 10:47:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554227247; cv=none; d=google.com; s=arc-20160816; b=FggGtq2ZPDlIon7RN+74ZG5g9l5G1bh7dvf586U9+wR9i2vNlZhdJswPDzk9QaRyAk e/FY2A7ys4yyxEMzrUYsX3zTX2jHPkP9eLn6OpBlnx8Rmbaohy7y/Ym3hpHURhH4zrGk Q/jsxLXJY+83fL1jhKAUG1ulz/hRSc+YQWpTe1yJPAU4nBexRHlZHvjnoJbQV9HQ2m/+ tJFABcCCU06Z/OrDBrtHkS35PGYmKwEzI9OGTzmQ6DkYqgQdVyhj1vOEUwuT6C3NYGAM cdpuEB47cM4biYPMKE0wKuwha/aCFKIQPFJmmINWGW6J1G3C/DyAKwGJInvt1z+kTtz2 XAYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Z0pplf97Qa0x1rfBTzORlWE9huCotnwaWGrQII1utZo=; b=VGzkW+jdUvBCTogqhCAhnc7XeU6+lIO4c8X/1bSsvA+VoDBlAJpJbUiCP/r0TT07HC X6Ix9obW9K2F5/nIPayQy4ZVfSz8rqeYNFI++N4w+3jkKKYkPDRzj2ptuKUBvB4UpKAm Msp2K8wB+TDBsAeKxya3YNq/56dNI7U5YhYdkZpvq71JVcnfQuXagJaAos+78BjUXYJD DYC55Cv/nLMqDKAH5gbwY9EJcGBOZz0NJln8TdFtXjwt4/xB4EmYhhRJzBj+5je5+A5t vs6ZvkRKRh5xtAnBzQoCLvO03JGZCwwnEntQVJE27RUerL/LCmqOqqhKdCsoWuvnKojZ OJAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="rE/O3t6k"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p10si11584665plq.152.2019.04.02.10.46.24; Tue, 02 Apr 2019 10:47:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="rE/O3t6k"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731281AbfDBPJl (ORCPT + 99 others); Tue, 2 Apr 2019 11:09:41 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:40276 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730616AbfDBPJl (ORCPT ); Tue, 2 Apr 2019 11:09:41 -0400 Received: by mail-lj1-f194.google.com with SMTP id q66so11920191ljq.7 for ; Tue, 02 Apr 2019 08:09:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Z0pplf97Qa0x1rfBTzORlWE9huCotnwaWGrQII1utZo=; b=rE/O3t6kk/QZPxvR2GzRLQD302tFR94BdOxcFNt9+9xXwn8mC/PQVR5fMtUVd+PKTV V7gfrBiOYdTFhfs97HJfwGlwIrE7reerUu3s4GZ4UPkB+IAri7fMYiCT40zkXaQPRTPj tQIf5e9r6Sx+I65f1HDO8pFsEznZjWMDu5wbRoBB4q+BjLIK5Mr9W4ld6ouveTkAh6d7 4Dfit8dyteqL/tI7Kto6GyNkoOzR+r9BMKYktmXQZyxqBeSy6vRGBw+G1RLdyZi0/0fA srarGE9Ws27HXnggdiE2ORG6FW5avTHszk98JHORXreyKbJ2cZdFF+/6Lgckp8Nf5n6d +HuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Z0pplf97Qa0x1rfBTzORlWE9huCotnwaWGrQII1utZo=; b=ON8zfNZv/FnMQKju1id9F//xjYrzaZzwoOF0XNds3v9E/9cJZUXG+/rpCO47gg1eG7 6T4dW+UFoRpiqJAWD0e18b57wEhKcPaDpwqCtu2/HXQ+U8/3FKqkCC/91hO7ajhIpDY2 pa7W0Rb52TYukFf+wuTDK/xxekrj0/5GaC0ENx6ogC9jv5sH8bTh+jZCCjAaO3QMDL7z lqJ1IgxjwhK0NiSi0c2a7ruYdam6p1dhbtfbeLH1ZxRb2GiaCzG8UwLfIXhmu1jWj3LU ae71QfXwbayC4fYWz7a/rVORKRCjqYkdJJS3YhRo8p3eXbfTxatLP0uogdABhpPtnXre ZOzg== X-Gm-Message-State: APjAAAXQozn+GUZablfKfhTxabXQZI8PUQ/qMfCUb+udrtystD8daTW9 7FK8UIE+IXh4ZI5QGs83qTQ= X-Received: by 2002:a2e:9812:: with SMTP id a18mr34388969ljj.146.1554217779060; Tue, 02 Apr 2019 08:09:39 -0700 (PDT) Received: from uranus.localdomain ([5.18.103.226]) by smtp.gmail.com with ESMTPSA id f25sm2505744lfc.46.2019.04.02.08.09.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Apr 2019 08:09:38 -0700 (PDT) Received: by uranus.localdomain (Postfix, from userid 1000) id 7C95A4601CA; Tue, 2 Apr 2019 18:09:36 +0300 (MSK) Date: Tue, 2 Apr 2019 18:09:36 +0300 From: Cyrill Gorcunov To: Vince Weaver Cc: Peter Zijlstra , "Lendacky, Thomas" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , Arnaldo Carvalho de Melo , Alexander Shishkin , Ingo Molnar , Borislav Petkov , Namhyung Kim , Thomas Gleixner , Jiri Olsa , Stephane Eranian Subject: Re: [RFC PATCH v3 0/3] x86/perf/amd: AMD PMC counters and NMI latency Message-ID: <20190402150936.GB23501@uranus> References: <155415519143.24457.2706922532995302758.stgit@tlendack-t1.amdoffice.net> <20190402130302.GL12232@hirez.programming.kicks-ass.net> <20190402132200.GA23501@uranus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 02, 2019 at 10:53:38AM -0400, Vince Weaver wrote: > On Tue, 2 Apr 2019, Cyrill Gorcunov wrote: > > On Tue, Apr 02, 2019 at 03:03:02PM +0200, Peter Zijlstra wrote: > > > I have vague memories of the P4 thing crashing with Vince's perf_fuzzer, > > > but maybe I'm wrong. > > > > No, you're correct. p4 was crashing many times before we manage to make > > it more-less stable. The main problem though that to find working p4 box > > is really a problem. > > I do have some a functioning p4 system I can test on. > I can easily run the fuzzer and report crashes, but I only have limited > time/skills to actually fix the problems it turns up. You know, running fuzzer on p4 might worth in anycase. As to potential problems to fix -- i could try find some time slot for, still quite limited too 'cause of many other duties :( > One nice thing is that as of Linux 5.0 *finally* the fuzzer can run > indefinitely on most modern Intel chips without crashing (still triggers a > few warnings). So finally we have the ability to tell when a new crash is > a regression and potentially can bisect it. Although obviously this > doesn't necessarily apply to the p4. > > I do think the number of people trying to run perf on a p4 is probably > pretty small these days. Quite agree. Moreover current p4 perf code doesn't cover all potential functionality (for example cascaded counters) and nobody ever complained about it, I think exactly because not that many p4 boxes left and putting efforts into this perf module development doesn't look like a good investment, better to stick with more modern cpus and deprecate p4 with small steps.