Hi Tejun, Sorry for the late response. I was traveling during weekend. On Fri, Oct 14, 2016 at 4:44 AM, Tejun Heo <tj@xxxxxxxxxx> wrote: > Hello, Parav. > > On Mon, Oct 10, 2016 at 07:02:11PM +0530, Parav Pandit wrote: >> Give me some more time, I will think more and take feeback from Leon >> and others on >> (a) how can we implement or want to implement weight like >> functionality for non-work-conversing resource > > I think what you want is just a way to specify absolute limits using > percentages of what's available at the time of configuration - > e.g. being able to say "allow upto 30% of what's available in the > parent". Yes. I am concerned about how to configure < 1% value to avoid floating point math in kernel as thats discouraged. Configuring in range of 1 to 100% for a given resource limits to only 100 or less cgroup instances which I think is not desired. > If so, the simplest way would be simply updating the > existing knobs to accept % inputs in addition to absolute values on > writes. I was not sure to overload rdma.max file for accepting % inputs as thats not done in other cgroups. So I was thinking more of weights interface which avoids floating point problem and also allows much wider configuration range. > > Thanks. > > -- > tejun -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html