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 20:33:42 +0106 [thread overview]
Message-ID: <877d8hhlxt.fsf@jogness.linutronix.de> (raw)
In-Reply-To: <CA+1+E3XkM=4ZPbbOGtj7kuWtJfciAJ+=M-UrOn-9YA2_B2mjmA@mail.gmail.com>
On 2022-03-25, Gautam Thaker <ghthaker@gmail.com> wrote:
> Even after I set to "-g performance" and set "-d 3.2GHz -u 3.2GHz" I get:
>
> ..[same for all CPUS 0-30 as well]
> 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 "performance" may decide which speed to use
> within this range.
> current CPU frequency is 1.20 GHz.
>
> The current CPU freq is at 1.2 GHz. SHould "current CPU frequency"
> be at 3.2 GHz now all the time?
Yes, it should.
> And even at 1.2GHz, if that freq is steady, why should 'hwlatdetect'
> report the 800 usec latency?
Why do you think it is steady?
> It seems my issues are something other
> than "cpufreq-set" policy I am using. (SMIs?)
Perhaps your BIOS is performing some scaling via SMIs.
It might be interesting to burn your CPUs and see if they ramp up. And
then perform your cyclictest and hwlatdetect tests while they burn.
An effective way to burn your CPUs is just send them into infinite
loops:
for c in $(seq $(nproc)); do ( while true; do echo -n; done & ); done
Be sure check cpufreq-info while this is running.
John Ogness
prev parent reply other threads:[~2022-03-25 19:45 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
2022-03-25 15:50 ` Gautam Thaker
2022-03-25 19:27 ` John Ogness [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=877d8hhlxt.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