[one-users] Xen and number of cores in VM

Tino Vazquez tinova at fdi.ucm.es
Mon Jun 28 03:48:58 PDT 2010


Hi Ruben,

Thanks for the feedback, this will be fixed for the next release.

Regards,

-Tino

--
Constantino Vázquez, Grid & Virtualization Technology
Engineer/Researcher: http://www.dsa-research.org/tinova
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



On Mon, Jun 28, 2010 at 12:30 PM, Ruben Diez <rdiez at cesga.es> wrote:
> The problem is now solved
>
> It seems to be caused by a bug on the file: "src/vmm/XenDriver.cc", line
> 134.
>
> This line contents:
> file << "vcpu = '" << vcpu << "'" << endl;
>
> And it should be:
> file << "vcpus = '" << vcpu << "'" << endl;
>
> In this way, the launched VM has the specified numbers of cores...
>
>
> Reference to Xen VM description parameters:
> http://tx.downloads.xensource.com/downloads/docs/user/#SECTION03200000000000000000
>
>
>
> Ruben Diez escribió:
>>
>> Hi:
>>
>> we are attempt to up a VM with 4 cores in a physical host with 8 cores (2
>> processors of 4 cores each).
>>
>> We are using OpenNebula 1.4 with xen (CENTOS 5.5 as OS)
>>
>> The OpenNebula template machine include the variables:
>>
>>
>> CPU = 4
>> VCPU = 4
>> MEMORY = 8192
>>
>> But the file "deployment.0" generated only have these line relevant to the
>> CPU stuff:
>>
>> #O CPU_CREDITS = 1024
>> memory = '8192'
>> vcpu = '4'
>>
>> And the problem is that the generated VM have only a core....
>>
>> Where is the missing "cpu=4" parameter in the "deployment.0" file???
>>
>> How can we do in order to select the numbers of cores that a VM can see???
>>
>> Regards.
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



More information about the Users mailing list