From: Peter Zijlstra <peterz@infradead.org>
To: Ganapatrao Kulkarni <gklkml16@gmail.com>
Cc: Ian Rogers <irogers@google.com>, Ingo Molnar <mingo@redhat.com>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>,
Jiri Olsa <jolsa@redhat.com>, Namhyung Kim <namhyung@kernel.org>,
LKML <linux-kernel@vger.kernel.org>,
Kan Liang <kan.liang@linux.intel.com>,
Andi Kleen <ak@linux.intel.com>,
Stephane Eranian <eranian@google.com>,
Ganapatrao Kulkarni <gkulkarni@marvell.com>,
Jayachandran Chandrasekharan Nair <jnair@marvell.com>
Subject: Re: [PATCH] perf cgroups: Don't rotate events for cgroups unnecessarily
Date: Fri, 23 Aug 2019 15:03:23 +0200 [thread overview]
Message-ID: <20190823130322.GO2349@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <CAKTKpr5N6thBR+SJ8rdRTCEjv+7GVsw3R9EY+cKTGexz-yr4sg@mail.gmail.com>
On Fri, Aug 23, 2019 at 06:26:34PM +0530, Ganapatrao Kulkarni wrote:
> On Fri, Aug 23, 2019 at 5:29 PM Peter Zijlstra <peterz@infradead.org> wrote:
> > On Fri, Aug 23, 2019 at 04:13:46PM +0530, Ganapatrao Kulkarni wrote:
> >
> > > We are seeing regression with our uncore perf driver(Marvell's
> > > ThunderX2, ARM64 server platform) on 5.3-Rc1.
> > > After bisecting, it turned out to be this patch causing the issue.
> >
> > Funnily enough; the email you replied to didn't contain a patch.
>
> Hmm sorry, not sure why the patch is clipped-off, I see it in my inbox.
Your email is in a random spot of the discussion for me. At least it was
fairly easy to find the related patch.
> > > Test case:
> > > Load module and run perf for more than 4 events( we have 4 counters,
> > > event multiplexing takes place for more than 4 events), then unload
> > > module.
> > > With this sequence of testing, the system hangs(soft lockup) after 2
> > > or 3 iterations. Same test runs for hours on 5.2.
> > >
> > > while [ 1 ]
> > > do
> > > rmmod thunderx2_pmu
> > > modprobe thunderx2_pmu
> > > perf stat -a -e \
> > > uncore_dmc_0/cnt_cycles/,\
> > > uncore_dmc_0/data_transfers/,\
> > > uncore_dmc_0/read_txns/,\
> > > uncore_dmc_0/config=0xE/,\
> > > uncore_dmc_0/write_txns/ sleep 1
> > > sleep 2
> > > done
> >
> > Can you reproduce without the module load+unload? I don't think people
> > routinely unload modules.
>
> The issue wont happen, if module is not unloaded/reloaded.
> IMHO, this could be potential bug!
Does the softlockup give a useful stacktrace? I don't have a thunderx2
so I cannot reproduce.
next prev parent reply other threads:[~2019-08-23 13:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-01 8:27 Ian Rogers
2019-06-13 16:12 ` Liang, Kan
2019-06-14 19:10 ` Stephane Eranian
2019-06-14 21:43 ` Liang, Kan
2019-06-20 23:08 ` Ian Rogers
2019-06-21 8:24 ` Peter Zijlstra
2019-06-21 18:01 ` Ian Rogers
2019-06-24 7:55 ` Peter Zijlstra
2019-06-27 21:47 ` Ian Rogers
2019-08-23 10:43 ` Ganapatrao Kulkarni
2019-08-23 11:59 ` Peter Zijlstra
2019-08-23 12:56 ` Ganapatrao Kulkarni
2019-08-23 13:03 ` Peter Zijlstra [this message]
2019-09-18 7:21 ` Ganapatrao Kulkarni
2019-10-15 4:43 ` Ganapatrao Kulkarni
2019-06-25 8:43 ` [tip:perf/core] perf/cgroups: " tip-bot for Ian Rogers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190823130322.GO2349@hirez.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=acme@kernel.org \
--cc=ak@linux.intel.com \
--cc=alexander.shishkin@linux.intel.com \
--cc=eranian@google.com \
--cc=gklkml16@gmail.com \
--cc=gkulkarni@marvell.com \
--cc=irogers@google.com \
--cc=jnair@marvell.com \
--cc=jolsa@redhat.com \
--cc=kan.liang@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome