From: Christoph Hellwig <hch@infradead.org>
To: "zhaoyang.huang" <zhaoyang.huang@unisoc.com>
Cc: Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>,
Juri Lelli <juri.lelli@redhat.com>,
Vincent Guittot <vincent.guittot@linaro.org>,
Jens Axboe <axboe@kernel.dk>,
linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
Zhaoyang Huang <huangzhaoyang@gmail.com>,
steve.kang@unisoc.com
Subject: Re: [PATCH 2/2] block: adjust CFS request expire time
Date: Tue, 20 Feb 2024 01:42:38 -0800 [thread overview]
Message-ID: <ZdR0DtDCWWFkSiUn@infradead.org> (raw)
In-Reply-To: <20240220061542.489922-2-zhaoyang.huang@unisoc.com>
On Tue, Feb 20, 2024 at 02:15:42PM +0800, zhaoyang.huang wrote:
> From: Zhaoyang Huang <zhaoyang.huang@unisoc.com>
>
> According to current policy, CFS's may suffer involuntary IO-latency by
> being preempted by RT/DL tasks or IRQ since they possess the privilege for
> both of CPU and IO scheduler.
What is 'current policy', what is CFS, what is RT/DL? What privilege
is possessed?
> 1. All types of sched class's load(util) are tracked and calculated in the
> same way(using a geometric series which known as PELT)
> 2. Keep the legacy policy by NOT adjusting rq's position in fifo_list
> but only make changes over expire_time.
> 3. The fixed expire time(hundreds of ms) is in the same range of cpu
> avg_load's account series(the utilization will be decayed to 0.5 in 32ms)
What problem does this fix, i.e. what performance number are improved
or what other effects does it have?
> + * The expire time is adjusted via calculating the proportion of
> + * CFS's activation among whole cpu time during last several
> + * dazen's ms.Whearas, this would NOT affect the rq's position in
> + * fifo_list but only take effect when this rq is checked for its
> + * expire time when at head.
> */
Please speel check the comment and fix the formatting to have white
spaces after sentences and never exceed 80 characters in block comments.
next prev parent reply other threads:[~2024-02-20 9:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-20 6:15 [PATCH 1/2] sched: introduce helper function to calculate distribution over sched class zhaoyang.huang
2024-02-20 6:15 ` [PATCH 2/2] block: adjust CFS request expire time zhaoyang.huang
2024-02-20 9:42 ` Christoph Hellwig [this message]
2024-02-20 10:37 ` Zhaoyang Huang
2024-02-21 17:51 ` [PATCH 1/2] sched: introduce helper function to calculate distribution over sched class Vincent Guittot
2024-02-22 2:58 ` Zhaoyang Huang
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=ZdR0DtDCWWFkSiUn@infradead.org \
--to=hch@infradead.org \
--cc=axboe@kernel.dk \
--cc=huangzhaoyang@gmail.com \
--cc=juri.lelli@redhat.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=steve.kang@unisoc.com \
--cc=vincent.guittot@linaro.org \
--cc=zhaoyang.huang@unisoc.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