From: chenying <chenying.kernel@bytedance.com>
To: Josh Don <joshdon@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>,
Juri Lelli <juri.lelli@redhat.com>,
Vincent Guittot <vincent.guittot@linaro.org>,
Dietmar Eggemann <dietmar.eggemann@arm.com>,
Steven Rostedt <rostedt@goodmis.org>,
Mel Gorman <mgorman@suse.de>,
Daniel Bristot de Oliveira <bristot@redhat.com>,
Benjamin Segall <bsegall@google.com>,
linux-kernel <linux-kernel@vger.kernel.org>,
duanxiongchun@bytedance.com, zhouchengming@bytedance.com,
songmuchun@bytedance.com, zhengqi.arch@bytedance.com,
zhoufeng.zf@bytedance.com, ligang.bdlg@bytedance.com
Subject: Re: [External] Re: Subject: [PATCH] sched/fair: prioritize normal task over sched_idle task with vruntime offset
Date: Tue, 15 Mar 2022 10:04:55 +0800 [thread overview]
Message-ID: <5de97c7f-2c71-34d0-9443-27f71960b4dd@bytedance.com> (raw)
In-Reply-To: <CABk29NsBEZ63eQ-avDBHe1LYj+wJNSTkCxPDQ=eTNS9_i9e0NA@mail.gmail.com>
在 2022/3/15 8:30, Josh Don 写道:
> On Sun, Mar 13, 2022 at 3:07 AM chenying <chenying.kernel@bytedance.com> wrote:
>>
>> If I set the sched_idle_vruntime_offset to a relatively small value
>> (e.g. 10 minutes), can this issues be avoided?
>
> That's still long enough to cause lockups.
>
> Is the issue that you have a large number of sched_idle entities, and
> the occasional latency sensitive thing that wakes up for a short
> duration? Have you considered approaching this from the other
> direction (ie. if we have a latency sensitive thing wake onto a cpu
> running only sched idle stuff, we could change entity placement to
> position the latency sensitive thing further left on the timeline,
> akin to !GENTLE_FAIR_SLEEPERS).
I think this may not guarantee that latency sensitive tasks are always
to the left of idle tasks. And it may get complicated if a
latency-sensitive task is woken up onto a cpu which there are already
multiple latency-sensitive tasks and sched_idle tasks.
next prev parent reply other threads:[~2022-03-15 2:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-11 7:58 chenying
2022-03-12 12:03 ` Peter Zijlstra
2022-03-13 5:37 ` [External] " chenying
2022-03-13 9:02 ` Peter Zijlstra
2022-03-13 10:06 ` chenying
2022-03-15 0:30 ` Josh Don
2022-03-15 2:04 ` chenying [this message]
2022-03-15 2:21 ` Josh Don
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=5de97c7f-2c71-34d0-9443-27f71960b4dd@bytedance.com \
--to=chenying.kernel@bytedance.com \
--cc=bristot@redhat.com \
--cc=bsegall@google.com \
--cc=dietmar.eggemann@arm.com \
--cc=duanxiongchun@bytedance.com \
--cc=joshdon@google.com \
--cc=juri.lelli@redhat.com \
--cc=ligang.bdlg@bytedance.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=songmuchun@bytedance.com \
--cc=vincent.guittot@linaro.org \
--cc=zhengqi.arch@bytedance.com \
--cc=zhouchengming@bytedance.com \
--cc=zhoufeng.zf@bytedance.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
all inboxes | Powered by JetHome®