Messages in this thread | | | Date | Thu, 02 Nov 2006 11:34:42 +0300 | From | Kir Kolyshkin <> | Subject | Re: [Devel] Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices |
| |
Matt Helsley wrote: > On Thu, 2006-11-02 at 02:01 +0300, Kir Kolyshkin wrote: > >> cpuunits 10, 20, and 30 assigned to containers X, Y, and Z, and run some >> CPU-intensive tasks in all the containers, X will be given >> 10/(10+20+30), or 20% of CPU time, Y -- 20/50, i.e. 40%, while Z gets >> > > nit: I don't think this math is correct. > > Shouldn't they all have the same denominator (60), or am I > misunderstanding something? > > If so then it should be: > X = 10/60 16.666...% > Y = 20/60 33.333...% > Z = 30/60 50.0% > Total: 100.0% > Ughm. You are totally correct of course, I must've been very tired yesterday night :-\
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |