public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Lina Lu" <lulina_nuaa@foxmail.com>
To: "Vivek Goyal" <vgoyal@redhat.com>
Cc: "linux kernel mailing list" <linux-kernel@vger.kernel.org>
Subject: Blkio: Apply two policies on one IO process
Date: Wed, 30 Mar 2011 00:00:16 +0800	[thread overview]
Message-ID: <201103300000153595438@foxmail.com> (raw)

Hi Vivek,
      As the weight and throttle policies are on different layers, someone can apply 
these two policies on one IO pid at one time. And the IO bandwidth will be controlled
with the more stringent policy.
      If someone first set two policies on one pid, then want to remove the weight
policy, he must first echo the pid to parent dir's tasks, then echo the throttle policy
to parent dir's blkio.throttle_xx_xx_device. These steps seen to be cumbersome.
      This is because the weight policy can be applied independence, but the throttle
policy is always accompany with the weight policy(default 500). I think it will be 
better that these policies are independent of each other. What is your opinion?
      Additional, do you recommend applying two policies on one IO process?

Thanks
Lina


             reply	other threads:[~2011-03-29 16:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-29 16:00 Lina Lu [this message]
2011-03-29 16:44 ` Blkio: Apply two policies on one IO process Vivek Goyal

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=201103300000153595438@foxmail.com \
    --to=lulina_nuaa@foxmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vgoyal@redhat.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