Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

On-demand accounting

2 bytes added, 12:25, 5 July 2007
m
Current accounting model: wording
}
</pre>
The <code>charge_beancounter()</code> call is responsible for checking whether the user is allowed to consume desired 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 charge_beancounter() takes some slow operations like taking locks. We have an idea of how to optimize this behavior.