
--------------020500020201060207010309 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit 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 --------------020500020201060207010309 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#FFFFFF"> <p class="MsoNormal"><span lang="EN-US">Hi, Guys<o:p></o:p></span></p> <span lang="EN-US">Recently I am investigating the Optimization Policy in Cluster and try to use “</span><span style="font-family:"Arial","sans-serif";color:black;background:white" lang="EN-US">CPU Threads</span><span lang="EN-US">”.<o:p></o:p></span> <p class="MsoNormal"><span lang="EN-US">As the manual of description:<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">========<o:p></o:p></span></p> <p class="MsoNormal" style="text-align:left;text-autospace:none" align="left"><span style="font-family:DejaVuSans" lang="EN-US">For example, a 24-core<o:p></o:p></span></p> <p class="MsoNormal" style="text-align:left;text-autospace:none" align="left"><span style="font-family:DejaVuSans" lang="EN-US">system with 2 threads per core (48<o:p></o:p></span></p> <p class="MsoNormal" style="text-align:left;text-autospace:none" align="left"><span style="font-family:DejaVuSans" lang="EN-US">threads total) can run virtual machines with<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:DejaVuSans" lang="EN-US">up to 48 cores each</span><span lang="EN-US"><o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">========<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span lang="EN-US">My host CPU is<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">i3-2120 CPU (2 cores 4 threads)<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span lang="EN-US">So I think the expect result case is :<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">1. If the “</span><span style="font-family:"Arial Unicode MS","sans-serif";color:black;background:white" lang="EN-US">Count Threads As Cores</span><span lang="EN-US">” </span><b><span style="font-size:14.0pt" lang="EN-US">disable</span></b><span lang="EN-US">, we can’t run virtual vm with above 2 vCPU<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">2. If the “</span><span style="font-family:"Arial Unicode MS","sans-serif";color:black;background:white" lang="EN-US">Count Threads As Cores</span><span lang="EN-US">” </span><b><span style="font-size:14.0pt" lang="EN-US">enable</span></b><span lang="EN-US">, we can’t run virtual vm with above 4 vCPU<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span lang="EN-US">Now the problem is about result case 1:<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">1. When I set “</span><span style="font-family:"Arial Unicode MS","sans-serif";color:black;background:white" lang="EN-US">Count Threads As Cores</span><span lang="EN-US">” </span><b><span style="font-size:14.0pt" lang="EN-US">disable</span></b><span lang="EN-US">, I still can run virtual vm with 4 vCPU<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <span lang="EN-US">Can anyone help me to explain it ???<br> <br> Regards,<br> Jian<br> </span> </body> </html> --------------020500020201060207010309--

Can you please provide output of lscpu for your host please. Thanks ----- Original Message ----- From: "zhangjian2011" <zhangjian2011@cn.fujitsu.com> 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

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" <zhangjian2011@cn.fujitsu.com> 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

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" <zhangjian2011@cn.fujitsu.com> 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.

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" <zhangjian2011@cn.fujitsu.com> 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 .
participants (4)
-
Alexandr Krivulya
-
Artyom Lukianov
-
Roy Golan
-
zhangjian2011