From: Juri Lelli <juri.lelli@redhat.com>
To: Daniel Bristot de Oliveira <bristot@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org,
Steven Rostedt <rostedt@goodmis.org>,
linux-doc@vger.kernel.org, William White <chwhite@redhat.com>,
Masami Hiramatsu <mhiramat@kernel.org>,
Jonathan Corbet <corbet@lwn.net>
Subject: Re: [PATCH V3 00/11] rtla improvements
Date: Mon, 12 Jun 2023 11:41:55 +0200 [thread overview]
Message-ID: <ZIboY08U6SMS1tiO@localhost.localdomain> (raw)
In-Reply-To: <cover.1686066600.git.bristot@kernel.org>
Hi,
On 06/06/23 18:12, Daniel Bristot de Oliveira wrote:
> This is a series of improvements for rtla, mainly as a result of our
> daily usage of the tool debugging problems at red hat.
>
> The cgroup support and house keeping options are from our usage
> of the tool debugging containers.
>
> The auto-analysis overhead reduction is needed when we go to
> large boxes - but it is really hand in practice, as it gives an idea
> of the problem without having to look at the trace.
>
> Running hwnoise 100 % of CPU time might cause some systems
> to slow down too much. Reduce its utilization to 75% by default to
> avoid problems for people using it for the first time.
>
> Finally, it adds support for running timerlat user-space threads,
> and to collect the additional field via rtla timerlat top/hist.
>
> Changes from V2:
> - Add timerlat hist -u option
> - Link: https://lore.kernel.org/lkml/cover.1684863094.git.bristot@kernel.org/
> Changes from V1:
> - Add the user-space thread support to rtla timerlat top
> - Link: https://lore.kernel.org/lkml/cover.1683827510.git.bristot@kernel.org/
>
> Daniel Bristot de Oliveira (11):
> rtla: Add -C cgroup support
> rtla: Add --house-keeping option
> rtla: Change monitored_cpus from char * to cpu_set_t
> rtla: Automatically move rtla to a house-keeping cpu
> rtla/timerlat: Give timerlat auto analysis its own instance
> rtla/timerlat_hist: Add auto-analysis support
> rtla: Start the tracers after creating all instances
> rtla/hwnoise: Reduce runtime to 75%
> rtla: Add timerlat user-space support for timerlat top
> rtla: Add timerlat user-space support for
> Documentation: Add tools/rtla timerlat -u option documentation
>
> Documentation/tools/rtla/common_options.rst | 8 +
> .../tools/rtla/common_timerlat_aa.rst | 7 -
> .../tools/rtla/common_timerlat_options.rst | 7 +
> .../tools/rtla/rtla-timerlat-hist.rst | 7 +-
> .../tools/rtla/rtla-timerlat-top.rst | 7 +
> tools/tracing/rtla/src/osnoise.c | 65 ++++
> tools/tracing/rtla/src/osnoise.h | 5 +
> tools/tracing/rtla/src/osnoise_hist.c | 90 ++++-
> tools/tracing/rtla/src/osnoise_top.c | 83 ++++-
> tools/tracing/rtla/src/timerlat_aa.c | 35 +-
> tools/tracing/rtla/src/timerlat_aa.h | 5 +-
> tools/tracing/rtla/src/timerlat_hist.c | 262 ++++++++++++--
> tools/tracing/rtla/src/timerlat_top.c | 229 +++++++++++--
> tools/tracing/rtla/src/timerlat_u.c | 224 ++++++++++++
> tools/tracing/rtla/src/timerlat_u.h | 18 +
> tools/tracing/rtla/src/utils.c | 324 +++++++++++++++++-
> tools/tracing/rtla/src/utils.h | 7 +
> 17 files changed, 1277 insertions(+), 106 deletions(-)
> create mode 100644 tools/tracing/rtla/src/timerlat_u.c
> create mode 100644 tools/tracing/rtla/src/timerlat_u.h
>
> --
I've been heavily relying on these for debugging various issues with
latency sensitive workloads and they work like a charm.
Tested-by: Juri Lelli <juri.lelli@redhat.com>
Best,
Juri
prev parent reply other threads:[~2023-06-12 10:00 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-06 16:12 [PATCH V3 00/11] rtla improvements Daniel Bristot de Oliveira
2023-06-06 16:12 ` [PATCH V3 01/11] rtla: Add -C cgroup support Daniel Bristot de Oliveira
2023-06-06 16:12 ` [PATCH V3 02/11] rtla: Add --house-keeping option Daniel Bristot de Oliveira
2023-06-12 14:06 ` Masami Hiramatsu
2023-06-12 14:21 ` Daniel Bristot de Oliveira
2023-06-13 20:27 ` Steven Rostedt
2023-06-06 16:12 ` [PATCH V3 03/11] rtla: Change monitored_cpus from char * to cpu_set_t Daniel Bristot de Oliveira
2023-06-06 16:12 ` [PATCH V3 04/11] rtla: Automatically move rtla to a house-keeping cpu Daniel Bristot de Oliveira
2023-06-06 16:12 ` [PATCH V3 05/11] rtla/timerlat: Give timerlat auto analysis its own instance Daniel Bristot de Oliveira
2023-06-06 16:12 ` [PATCH V3 06/11] rtla/timerlat_hist: Add auto-analysis support Daniel Bristot de Oliveira
2023-06-06 16:12 ` [PATCH V3 07/11] rtla: Start the tracers after creating all instances Daniel Bristot de Oliveira
2023-06-06 16:12 ` [PATCH V3 08/11] rtla/hwnoise: Reduce runtime to 75% Daniel Bristot de Oliveira
2023-06-06 16:12 ` [PATCH V3 09/11] rtla/timerlat_top: Add timerlat user-space support Daniel Bristot de Oliveira
2023-06-06 16:12 ` [PATCH V3 10/11] rtla/timerlat_hist: " Daniel Bristot de Oliveira
2023-06-06 16:12 ` [PATCH V3 11/11] Documentation: Add tools/rtla timerlat -u option documentation Daniel Bristot de Oliveira
2023-06-12 9:41 ` Juri Lelli [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=ZIboY08U6SMS1tiO@localhost.localdomain \
--to=juri.lelli@redhat.com \
--cc=bristot@kernel.org \
--cc=chwhite@redhat.com \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=mhiramat@kernel.org \
--cc=rostedt@goodmis.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.