Messages in this thread | | | Date | Thu, 14 Sep 2006 13:36:54 +0530 | From | Balbir Singh <> | Subject | Re: [ckrm-tech] [PATCH] BC: resource beancounters (v4) (added user memory) |
| |
Pavel Emelianov wrote:
> I don't understand your idea. Limit does _not_ imply anything - it's > just a limit. > You may limit anything to anyone w/o bothering the consequences. > Guarantee implies that the resource you guarantee will be available and > this "will be" is something not that easy. > > So I repeat my question - how can you be sure that these X megabytes you > guarantee to some group won't be used by others so that you won't be able > to reclaim them? > >
May be we can treat a guarantee as a soft guarantee. A soft guarantee would imply that when a group needs its guaranteed resources, the system makes its best effort to make it available.
In soft guarantees, resources not actively used by a group can be shared with other groups.
Hard guarantees would probably require reserving the resource in advance and sharing of the resources not used, with other groups, might not be possible.
Comments?
--
Balbir Singh, Linux Technology Center, IBM Software Labs - 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/
| |