From: Ravi Bangoria <ravi.bangoria@amd.com>
To: Huang Shijie <huangsj@hygon.cn>
Cc: <peterz@infradead.org>, <mingo@redhat.com>, <acme@kernel.org>,
<namhyung@kernel.org>, <zhongyuan@hygon.cn>,
<fangbaoshun@hygon.cn>, <yingzhiwei@hygon.cn>,
<mark.rutland@arm.com>, <alexander.shishkin@linux.intel.com>,
<jolsa@kernel.org>, <irogers@google.com>,
<adrian.hunter@intel.com>, <james.clark@linaro.org>,
<tglx@kernel.org>, <bp@alien8.de>, <dave.hansen@linux.intel.com>,
<x86@kernel.org>, <hpa@zytor.com>,
<linux-perf-users@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <liuqi@hygon.cn>,
<lijing@hygon.cn>, <wangfengyu@hygon.cn>, <wujiangyong@hygon.cn>,
<shijie8@gmail.com>, <1537577747@qq.com>,
Ravi Bangoria <ravi.bangoria@amd.com>
Subject: Re: [PATCH] perf/amd/ibs: add phy_addr_only software filter for ibs_op
Date: Thu, 29 Oct 2026 09:38:29 +0530 [thread overview]
Message-ID: <97652b0c-6b51-46d8-9787-4669af3f4eb7@amd.com> (raw)
In-Reply-To: <auGpt6wenUj5mFP8@hsj-2U-Workstation>
Huang,
>> Why not simply use the BPF filter?
>> $ perf record -e ibs_op// --phys-data --filter 'phys_addr != 0' ...
>
> I did try the BPF filter.
>
> Measurements below are system-wide ibs_op sampling for 5s on a
> 384-CPU Hygon box under a 400-thread sysbench oltp_read_only load
> at three sampling periods:
>
> -c filter valid samples
> ------ ------------ ----------
> 100000 phy_addr_only 19,345,907
> 100000 BPF filter 17,939,819
>
> 30000 phy_addr_only 54,670,617
> 30000 BPF filter 47,926,784
>
> 10000 phy_addr_only 61,606,488
> 10000 BPF filter 40,826,086
>
>
> The phy_addr_only produces more *valid* samples than the BPF filter.
Can you please confirm if those additional samples are genuinely valid.
Thanks,
Ravi
prev parent reply other threads:[~2026-10-29 4:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-02 8:52 Huang Shijie
2026-10-27 9:14 ` Ravi Bangoria
2026-10-28 7:52 ` Huang Shijie
2026-10-29 4:08 ` Ravi Bangoria [this message]
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=97652b0c-6b51-46d8-9787-4669af3f4eb7@amd.com \
--to=ravi.bangoria@amd.com \
--cc=1537577747@qq.com \
--cc=acme@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=alexander.shishkin@linux.intel.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=fangbaoshun@hygon.cn \
--cc=hpa@zytor.com \
--cc=huangsj@hygon.cn \
--cc=irogers@google.com \
--cc=james.clark@linaro.org \
--cc=jolsa@kernel.org \
--cc=lijing@hygon.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=liuqi@hygon.cn \
--cc=mark.rutland@arm.com \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=peterz@infradead.org \
--cc=shijie8@gmail.com \
--cc=tglx@kernel.org \
--cc=wangfengyu@hygon.cn \
--cc=wujiangyong@hygon.cn \
--cc=x86@kernel.org \
--cc=yingzhiwei@hygon.cn \
--cc=zhongyuan@hygon.cn \
/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
all inboxes | Powered by JetHome®