From: John Ogness <john.ogness@linutronix.de>
To: Gautam Thaker <ghthaker@gmail.com>
Cc: linux-rt-users@vger.kernel.org
Subject: Re: 5.15.28-rt35 #2 SMP PREEMPT_RT: Should scheduling latency be as large as 800 usec?
Date: Fri, 25 Mar 2022 09:24:53 +0106 [thread overview]
Message-ID: <87r16qzbpu.fsf@jogness.linutronix.de> (raw)
In-Reply-To: <CA+1+E3WBGf1Q9aXAMiN3gfUEEqWQDfzPH-Hg6-G8FrZEBSZUYw@mail.gmail.com>
On 2022-03-24, Gautam Thaker <ghthaker@gmail.com> wrote:
> On Thu, Mar 24, 2022 at 1:55 AM John Ogness <john.ogness@linutronix.de> wrote:
> I tried both
> cpufreq-set -g performance
> and
> cpufreq-set -g schedutil
>
> And also set the lower and upper freq to 3.2 GHz. Overall this has not
> made much of a difference, I still see ~800 usec latency reports out
> of 'hwlatdetect'. The best run was:
>
> ...
> ... [Same for CPUs 0-30 ...]
> analyzing CPU 31:
> driver: intel_cpufreq
> CPUs which run at the same hardware frequency: 31
> CPUs which need to have their frequency coordinated by software: 31
> maximum transition latency: 20.0 us.
> hardware limits: 1.20 GHz - 3.20 GHz
> available cpufreq governors: conservative, ondemand, userspace,
> powersave, performance, schedutil
> current policy: frequency should be within 3.20 GHz and 3.20 GHz.
> The governor "schedutil" may decide which speed to use
> within this range.
> current CPU frequency is 1.20 GHz.
With the performance governor you will see that "current CPU frequency"
is _always_ the max. Without that, I cannot imagine eliminating >100us
latencies.
John Ogness
next prev parent reply other threads:[~2022-03-25 8:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-23 19:35 5.15.28-rt35 #2 SMP PREEMPT_RT: Should scheduling latency be as large as 800 usec? Gautam Thaker
2022-03-23 20:03 ` John Ogness
2022-03-23 20:16 ` Gautam Thaker
[not found] ` <CAMLffL9hqXcco9NCH1eGdzw4uWPSxPpLaO5fZWgNqS9moKE2HQ@mail.gmail.com>
2022-03-24 0:56 ` Gautam Thaker
2022-03-24 8:55 ` John Ogness
2022-03-24 16:34 ` Gautam Thaker
2022-03-25 8:18 ` John Ogness [this message]
2022-03-25 15:50 ` Gautam Thaker
2022-03-25 19:27 ` John Ogness
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=87r16qzbpu.fsf@jogness.linutronix.de \
--to=john.ogness@linutronix.de \
--cc=ghthaker@gmail.com \
--cc=linux-rt-users@vger.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