archive mirror
 help / color / mirror / Atom feed
From: "Michal Koutný" <>
To: Paolo Valente <>, Jens Axboe <>
Cc:, "Jan Kara" <>,
	"Michal Koutný" <>
Subject: BFQ cgroup weights range
Date: Tue, 24 Aug 2021 12:56:26 +0200	[thread overview]
Message-ID: <> (raw)


The default weight for proportional IO control associated with a cgroup
is 100 [1]. The minimum allowed weight is 1 [2] and the maximum weight
1000 [3].  This is a bit inconsistent with general cgroup weight
semantic where def/min == max/def (i.e. symmetric adjustments to both
sides) [4].

1) Is there a reason why the maximum allowed weight is (only) 1000?
   (E.g. it won't be possible to ensure 10^4 ratio of proportional
   control but 10^3 is achievable.)
2) Is the default value 100 special or absolute in a sense? (I suspect
   it is, the unchangeable weight of root cgroup members. Therefore two
   siblings with equal ratios 10:100 and 100:1000 would behave same only
   when there's no interfering IO from the root.)



             reply	other threads:[~2021-08-24 10:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-24 10:56 Michal Koutný [this message]
2021-08-24 12:51 ` BFQ cgroup weights range Paolo Valente
2021-08-26 13:12   ` Michal Koutný
2021-08-26 17:25     ` Tejun Heo
2021-08-27  8:33       ` Paolo Valente

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \

* 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;
as well as URLs for NNTP newsgroup(s).