From: "Yu Kuai" <yukuai@fnnas.com>
To: "Jialin Wang" <wjl.linux@gmail.com>
Cc: <tj@kernel.org>, <josef@toxicpanda.com>, <axboe@kernel.dk>,
<lianux.mm@gmail.com>, <cgroups@vger.kernel.org>,
<linux-block@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<yukuai@fnnas.com>
Subject: Re: [RFC PATCH] blk-iocost: introduce 'linear-max' cost model for cloud disk
Date: Sat, 14 Feb 2026 00:54:22 +0800 [thread overview]
Message-ID: <a18d26f4-a494-48b2-8024-4de1047afb25@fnnas.com> (raw)
In-Reply-To: <CAG18Jnyvs9Ob2WKQV0LQYGrq3F+czrRukhxW5JCza0iZQvbh-g@mail.gmail.com>
Hi,
在 2026/2/13 20:24, Jialin Wang 写道:
> Do you have any specific thoughts or suggestions on the best way to combine
> these two mechanisms? I would really value your advice on the implementation
> direction.
Implement a new model in iocost, you'll configure bps/iops_limit the same as
blk-throttle, you'll also need something like tg_dispatch_bps/iops_time() and
throtl_charge_bps/iops_bio() to calculate cost by max(bps_cost, iops_cost).
--
Thansk,
Kuai
prev parent reply other threads:[~2026-02-13 16:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-13 7:38 Jialin Wang
2026-02-13 9:42 ` Jialin Wang
2026-02-13 12:01 ` Jialin Wang
2026-02-13 12:14 ` Yu Kuai
2026-02-13 12:24 ` Jialin Wang
2026-02-13 16:54 ` Yu Kuai [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=a18d26f4-a494-48b2-8024-4de1047afb25@fnnas.com \
--to=yukuai@fnnas.com \
--cc=axboe@kernel.dk \
--cc=cgroups@vger.kernel.org \
--cc=josef@toxicpanda.com \
--cc=lianux.mm@gmail.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tj@kernel.org \
--cc=wjl.linux@gmail.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®