[Devel] Re: [ckrm-tech] [PATCH] BC: resource beancounters (v4) (added user memory)

Kirill Korotaev dev at sw.ru
Fri Sep 15 01:49:13 PDT 2006


> <snip>
> 
>>Reserving in advance means that sometimes you won't be able to start a
>>new group without taking back some of reserved pages. This is ... strange.
> 
> 
> I do not see it strange. At the time of creation, user sees the failure
> (that there isn't enough resource to provide the required/requested
> guarantee) and can act accordingly.
> 
> BTW, VMware does it this way.
This is not true at least for ESX server.
It overcommits memory and does dirty tricks like balooning to free memory then.

[...]

> We would need at least:
>  - BC should be created/deleted explicitly by the user
>  - cleaner interface for controller writers
why do you bother for the last too much?
The number of controlers is quite limited...

Kirill




More information about the Devel mailing list