On Thu, Aug 14, 2008 at 06:31:31PM +0400, Evgeniy Sokolov wrote:
>
>> On Wed, Aug 13, 2008 at 05:04:45PM +0400, Evgeniy Sokolov wrote:
>>> +static int openvzGetMaxVCPUs(virConnectPtr conn, const char *type) {
>>> +if (STRCASEEQ(type, "openvz"))
>>> +return 4096; //OpenVZ has no limitati
On Wed, Aug 13, 2008 at 05:04:45PM +0400, Evgeniy Sokolov wrote:
+static int openvzGetMaxVCPUs(virConnectPtr conn, const char *type) {
+if (STRCASEEQ(type, "openvz"))
+return 4096; //OpenVZ has no limitation
This should be 1024 since that's the max CPUs exposed by the kernel
to us
On Wed, Aug 13, 2008 at 05:04:45PM +0400, Evgeniy Sokolov wrote:
> +static int openvzGetMaxVCPUs(virConnectPtr conn, const char *type) {
> +if (STRCASEEQ(type, "openvz"))
> +return 4096; //OpenVZ has no limitation
This should be 1024 since that's the max CPUs exposed by the kernel
to u
OpenVZ containers use all CPUs available in system by default.
Limitations may be caused only by Linux kernel limitation.
There is way to artificially limit number of CPUs.
patch add cpu management functionality to OpenVZ driver.
Index: openvz_conf.c
=