[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <201103300000153595438@foxmail.com>
Date: Wed, 30 Mar 2011 00:00:16 +0800
From: "Lina Lu" <lulina_nuaa@...mail.com>
To: "Vivek Goyal" <vgoyal@...hat.com>
Cc: "linux kernel mailing list" <linux-kernel@...r.kernel.org>
Subject: Blkio: Apply two policies on one IO process
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists