From: Daniel Bristot de Oliveira <bristot@kernel.org>
To: Prasad Pandit <ppandit@redhat.com>
Cc: linux-trace-users@vger.kernel.org
Subject: Re: About rtla osnoise and timerlat usage
Date: Thu, 23 Feb 2023 11:38:11 -0300 [thread overview]
Message-ID: <05d03252-8190-4612-090c-b2a65c2523e3@kernel.org> (raw)
In-Reply-To: <CAE8KmOzfd+BSRKrS1pogf05XcjF1x_Z+sjJC5HDU5byKgG1X0g@mail.gmail.com>
On 2/23/23 09:12, Prasad Pandit wrote:
> Hello Daniel,
>
> On Thu, 23 Feb 2023 at 00:41, Prasad Pandit <ppandit@redhat.com> wrote:
>> # trace-cmd record -p nop -e all -M 0x7FE -m 32000 --poll ~test/rt-tests/oslat --cpu-list 1-10 --duration 1h -w memmove -m 4K -T20
>> ....
>> Maximum: 14 11 13 12 12 13 12 11 12 10 (us)
>> Max-Min: 13 10 12 11 11 12 11 10 11 9 (us)
>> Duration: 3599.986 3599.986 3599.987 3599.987 3599.986 3599.987 3599.986 3599.987 3599.986 3599.986 (sec)
>>
>> * Running oslat(1) with SCHED_OTHER priority via 'trace-cmd --poll' option, did not show the spike. Nonetheless, trace-cmd(1) logs show <idle>, ktimers/ and kworker/ threads running on isolated CPUs.
>> * Now running rtla-osnoise(1) test with SCHED_OTHER:
>> # rtla osnoise top -c 1-10 -d 6h -s 20 -T 20 -Po:0 -q -t
>
> Please see:
> -> https://0bin.net/paste/ShXHmdvu#D0XY-WxTKCzWTxgQ+lTFbx1nB2TP2w+T0Mp8PBXt9gu
>
> * rtla-osnoise(1) running for 6 hours with SCHED_OTHER and SCHED_FIFO,
> both did not report any spike above 20us.
Good!
> It's reporting occurrence of IRQs only, all other noise columns are
> zero(0). That's a little surprising!?
Regarding the IRQs only: That is a good sign! your isolation is good!
Regarding the numbers: -T 20 is saying to the tracer to account as noise only
noise >= 20 us. As you did not hit a single case as your -s20 did not stop the trace,
that is expected.
But I think that what you want is -T 1. That is, consider a noise anything that is > than 1 us.
This will show you the noise added by those IRQs.
Anyways, the isolation is good enough to have good numbers with SCHED_OTHER... without
risks of starvation.
> Thank you.
> ---
> - Prasad
>
next prev parent reply other threads:[~2023-02-23 14:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAE8KmOxedTiM8GJVp+-HuBW=jkuE=aSKFYrmaj8zHLmQP-1RCg@mail.gmail.com>
2023-02-22 11:59 ` About rtla osnoise and timerlat usage Daniel Bristot de Oliveira
[not found] ` <CAE8KmOzuCqp5w4FBVd6GjPg_znQhumcsA=PKozZbQWxXPdZYXg@mail.gmail.com>
2023-02-22 13:15 ` Daniel Bristot de Oliveira
[not found] ` <CAE8KmOxV8u3v4ALVvqOUO+zvnd99d6iSXw0RiSLondvdX_JJSA@mail.gmail.com>
2023-02-23 12:12 ` Prasad Pandit
2023-02-23 14:38 ` Daniel Bristot de Oliveira [this message]
2023-02-23 14:17 ` Daniel Bristot de Oliveira
2023-02-23 14:39 ` Steven Rostedt
2023-02-23 14:54 ` Daniel Bristot de Oliveira
2023-02-27 7:10 ` Prasad Pandit
2023-02-22 18:06 ` Daniel Bristot de Oliveira
2023-02-22 19:13 ` Prasad Pandit
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=05d03252-8190-4612-090c-b2a65c2523e3@kernel.org \
--to=bristot@kernel.org \
--cc=linux-trace-users@vger.kernel.org \
--cc=ppandit@redhat.com \
/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