Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

On-demand accounting

13 bytes added, 12:34, 5 July 2007
m
Added <code> around function
The <code>charge_beancounter()</code> call is responsible for checking whether the user is allowed to get the requested amount of the resource, i.e. if the resource consumption level is lower than the limit set.
Obviously, this change slows down the original code, as <code>charge_beancounter() </code> takes some slow operations like taking locks. We have an idea of how to optimize this behavior.
== On-demand accounting basics ==