Re: [RFC, PATCH 0/5] Going forward with Resource Management - A cpu controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



ug, I didn't know this.  Had I been there (sorry) I'd have disagreed with
this whole strategy.
I wish you were here :/

I thought the most recently posted CKRM core was a fine piece of code.  It
provides the machinery for grouping tasks together and the machinery for
establishing and viewing those groupings via configfs, and other such
common functionality.  My 20-minute impression was that this code was an
easy merge and it was just awaiting some useful controllers to come along.
the same thing does User BeanCounter patch.
The infrastructure is totally a separate question.
Moreover, as CKRM/UBC experience shows it is the most easiest code to agree on.
And as people agreed we need to speak about serious problems first,
not the interface one (at least, not at the moment when we have no working
resource controllers).

And now we've dumped the good infrastructure and instead we've contentrated
on the controller, wired up via some imaginative ab^H^Hreuse of the cpuset
exactly. We have no workable controller.
So if there is no code we agreed on, whom is this infrastructure for?

I wonder how many of the consensus-makers were familiar with the
contemporary CKRM core?
I was familiar. And I can arise many arguable points in the CKRM infrastructure.

For example:
1. Should task-group be changeable after set/inherited once?
 Are you planning to recalculate resources on group change?
 e.g. shared memory or used kernel memory is hard to recalculate.
2. should task-group resource container manage all the resources as a whole?
 e.g. in OpenVZ tasks can belong to different CPU and UBC containers.
 It is more flexible and e.g. we used to put some vital kernel threads
 to a separate CPU group to decrease delays in service.
3. I also don't understand why normal binary interface like system call is not used.
  We have set_uid, sys_setrlimit and it works pretty good, does it?
4. do we want hierarchical grouping?

	- Design of individual resource controllers like memory and cpu

Right.  We won't be controlling memory, numtasks, disk, network etc
controllers via cpusets, will we?
I hope so :)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at
Please read the FAQ at

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux