Re: [ovirt-users] CPU Threads Help!!!

2015-08-16 Thread zhangjian2011

Sorry for late reply.

# lscpu
Architecture:  x86_64
CPU op-mode(s):32-bit, 64-bit
Byte Order:Little Endian
CPU(s):4
On-line CPU(s) list:   0-3
Thread(s) per core:2
Core(s) per socket:2
Socket(s): 1
NUMA node(s):  1
Vendor ID: GenuineIntel
CPU family:6
Model: 42
Model name:Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz
Stepping:  7
CPU MHz:   2704.195
BogoMIPS:  6585.15
Virtualization:VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache:  256K
L3 cache:  3072K
NUMA node0 CPU(s): 0-3


Thanks.



On 08/12/2015 06:55 PM, Artyom Lukianov wrote:

Can you please provide output of lscpu for your host please.
Thanks

- Original Message -
From: "zhangjian2011" 
To: users@ovirt.org
Sent: Wednesday, August 12, 2015 1:06:11 PM
Subject: [ovirt-users] CPU Threads Help!!!



Hi, Guys Recently I am investigating the Optimization Policy in Cluster and try 
to use “ CPU Threads ”.

As the manual of description:



For example, a 24-core

system with 2 threads per core (48

threads total) can run virtual machines with

up to 48 cores each





My host CPU is

i3-2120 CPU (2 cores 4 threads)



So I think the expect result case is :

1. If the “ Count Threads As Cores ” disable , we can’t run virtual vm with 
above 2 vCPU

2. If the “ Count Threads As Cores ” enable , we can’t run virtual vm with 
above 4 vCPU



Now the problem is about result case 1:

1. When I set “ Count Threads As Cores ” disable , I still can run virtual vm 
with 4 vCPU

Can anyone help me to explain it ???

Regards,
Jian

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
.



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] CPU Threads Help!!!

2015-08-13 Thread Alexandr Krivulya
13.08.2015 08:54, Roy Golan пишет:
> On 08/12/2015 01:55 PM, Artyom Lukianov wrote:
>> Can you please provide output of lscpu for your host please.
>> Thanks
>
>
>> - Original Message -
>> From: "zhangjian2011" 
>> To: users@ovirt.org
>> Sent: Wednesday, August 12, 2015 1:06:11 PM
>> Subject: [ovirt-users] CPU Threads Help!!!
>>
>>
>>
>> Hi, Guys Recently I am investigating the Optimization Policy in
>> Cluster and try to use “ CPU Threads ”.
>>
>> As the manual of description:
>>
>> 
>>
>> For example, a 24-core
>>
>> system with 2 threads per core (48
>>
>> threads total) can run virtual machines with
>>
>> up to 48 cores each
>>
>> 
>>
>>
>>
>> My host CPU is
>>
>> i3-2120 CPU (2 cores 4 threads)
>>
>>
>>
>> So I think the expect result case is :
>>
>> 1. If the “ Count Threads As Cores ” disable , we can’t run virtual
>> vm with above 2 vCPU
>>
>> 2. If the “ Count Threads As Cores ” enable , we can’t run virtual vm
>> with above 4 vCPU
>>
>>
>>
>> Now the problem is about result case 1:
>>
>> 1. When I set “ Count Threads As Cores ” disable , I still can run
>> virtual vm with 4 vCPU
>>
>> Can anyone help me to explain it ???
>
> Like Artyom mentioned, it best to see your lscpu output but my guess
> is that the 4 threads is actually 2 per core.
>  And there are 2 core and 2 sockets. this means 4 cpus without hyper
> threading and 8 with.
>
> BTW the Host "General" subtab on the webadmin should output all this
> info as well. Check it out.

According to ARK Intel Core i3-2120 cannot be used in dual-socket
configurations.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] CPU Threads Help!!!

2015-08-12 Thread Roy Golan

On 08/12/2015 01:55 PM, Artyom Lukianov wrote:

Can you please provide output of lscpu for your host please.
Thanks




- Original Message -
From: "zhangjian2011" 
To: users@ovirt.org
Sent: Wednesday, August 12, 2015 1:06:11 PM
Subject: [ovirt-users] CPU Threads Help!!!



Hi, Guys Recently I am investigating the Optimization Policy in Cluster and try 
to use “ CPU Threads ”.

As the manual of description:



For example, a 24-core

system with 2 threads per core (48

threads total) can run virtual machines with

up to 48 cores each





My host CPU is

i3-2120 CPU (2 cores 4 threads)



So I think the expect result case is :

1. If the “ Count Threads As Cores ” disable , we can’t run virtual vm with 
above 2 vCPU

2. If the “ Count Threads As Cores ” enable , we can’t run virtual vm with 
above 4 vCPU



Now the problem is about result case 1:

1. When I set “ Count Threads As Cores ” disable , I still can run virtual vm 
with 4 vCPU

Can anyone help me to explain it ???


Like Artyom mentioned, it best to see your lscpu output but my guess is 
that the 4 threads is actually 2 per core.
 And there are 2 core and 2 sockets. this means 4 cpus without hyper 
threading and 8 with.


BTW the Host "General" subtab on the webadmin should output all this 
info as well. Check it out.



Regards,
Jian

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] CPU Threads Help!!!

2015-08-12 Thread Artyom Lukianov
Can you please provide output of lscpu for your host please.
Thanks

- Original Message -
From: "zhangjian2011" 
To: users@ovirt.org
Sent: Wednesday, August 12, 2015 1:06:11 PM
Subject: [ovirt-users] CPU Threads Help!!!



Hi, Guys Recently I am investigating the Optimization Policy in Cluster and try 
to use “ CPU Threads ”. 

As the manual of description: 

 

For example, a 24-core 

system with 2 threads per core (48 

threads total) can run virtual machines with 

up to 48 cores each 

 



My host CPU is 

i3-2120 CPU (2 cores 4 threads) 



So I think the expect result case is : 

1. If the “ Count Threads As Cores ” disable , we can’t run virtual vm with 
above 2 vCPU 

2. If the “ Count Threads As Cores ” enable , we can’t run virtual vm with 
above 4 vCPU 



Now the problem is about result case 1: 

1. When I set “ Count Threads As Cores ” disable , I still can run virtual vm 
with 4 vCPU 

Can anyone help me to explain it ??? 

Regards, 
Jian 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] CPU Threads Help!!!

2015-08-12 Thread zhangjian2011

Hi, Guys

Recently I am investigating the Optimization Policy in Cluster and try 
to use “CPU Threads”.


As the manual of description:



For example, a 24-core

system with 2 threads per core (48

threads total) can run virtual machines with

up to 48 cores each



My host CPU is

i3-2120 CPU  (2 cores 4 threads)

So I think the expect result case is :

1. If the “Count Threads As Cores” *disable*, we can’t run virtual vm 
with above 2 vCPU


2. If the “Count Threads As Cores” *enable*, we can’t run virtual vm 
with above 4 vCPU


Now the problem is about result case 1:

1. When I set “Count Threads As Cores” *disable*, I still can run 
virtual vm with 4 vCPU


Can anyone help me to explain it ???

Regards,
Jian
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users