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 zhangjian2...@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


___
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 zhangjian2...@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
___
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


[ovirt-users] ovirt 3.5.2 issues with nodes becoming Non Operational

2015-08-12 Thread Chris Liebman
Hi,
   I'm new to oVirt and recently built a 10 node ovirt 3.5 DC with shared
storage using gluster configured as distributed-replicated (replication =
2).  Shortly after 7 of the 10 nodes dropped, one at a time over a few
hours, into Non Operational state.  Attempting to activate one of these
nodes gives the error:  Failed to connect Host ovirt-node260 to Storage
Pool LADC-TBX. Attempting to put the node into Maintenance eaves the node
stuck in Preparing For maintenance.

When I rebooted one of the nodes I see this in the nodes event list:

Host ovirt-node269 reports about one of the Active Storage Domains as
Problematic.

I see many of these errors in the vdsm log from the failed nodes:

Thread-1::ERROR::2015-08-12
 10:01:17,748::__init__::506::jsonrpc.JsonRpcServer::(_serveRequest)
 Internal server error

 Traceback (most recent call last):

   File /usr/lib/python2.6/site-packages/yajsonrpc/__init__.py, line 501,
 in _serveRequest

 res = method(**params)

   File /usr/share/vdsm/rpc/Bridge.py, line 267, in _dynamicMethod

 result = fn(*methodArgs)

   File /usr/share/vdsm/API.py, line 1330, in getStats

 stats.update(self._cif.mom.getKsmStats())

   File /usr/share/vdsm/momIF.py, line 60, in getKsmStats

 stats = self._mom.getStatistics()['host']

   File /usr/lib/python2.6/site-packages/mom/MOMFuncs.py, line 75, in
 getStatistics

 host_stats = self.threads['host_monitor'].interrogate().statistics[-1]

 AttributeError: 'NoneType' object has no attribute 'statistics'

Any help here is appreciated.

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


Re: [ovirt-users] ovirt 3.5.2 issues with nodes becoming Non Operational

2015-08-12 Thread Chris Liebman
I may have figured this out.  The systems that failed are running the
Oracle unbreakable kernel:

3.8.13-98.el6uek.x86_64

The working systems are running the default CentOS 6 2.6 kernel.

and the error from the vdsm.log only show up on the UEK kernel.

-- Chris




On Wed, Aug 12, 2015 at 9:34 AM, Chris Liebman chri...@taboola.com wrote:

 Hi,
I'm new to oVirt and recently built a 10 node ovirt 3.5 DC with shared
 storage using gluster configured as distributed-replicated (replication =
 2).  Shortly after 7 of the 10 nodes dropped, one at a time over a few
 hours, into Non Operational state.  Attempting to activate one of these
 nodes gives the error:  Failed to connect Host ovirt-node260 to Storage
 Pool LADC-TBX. Attempting to put the node into Maintenance eaves the node
 stuck in Preparing For maintenance.

 When I rebooted one of the nodes I see this in the nodes event list:

 Host ovirt-node269 reports about one of the Active Storage Domains as
 Problematic.

 I see many of these errors in the vdsm log from the failed nodes:

 Thread-1::ERROR::2015-08-12
 10:01:17,748::__init__::506::jsonrpc.JsonRpcServer::(_serveRequest)
 Internal server error

 Traceback (most recent call last):

   File /usr/lib/python2.6/site-packages/yajsonrpc/__init__.py, line
 501, in _serveRequest

 res = method(**params)

   File /usr/share/vdsm/rpc/Bridge.py, line 267, in _dynamicMethod

 result = fn(*methodArgs)

   File /usr/share/vdsm/API.py, line 1330, in getStats

 stats.update(self._cif.mom.getKsmStats())

   File /usr/share/vdsm/momIF.py, line 60, in getKsmStats

 stats = self._mom.getStatistics()['host']

   File /usr/lib/python2.6/site-packages/mom/MOMFuncs.py, line 75, in
 getStatistics

 host_stats = self.threads['host_monitor'].interrogate().statistics[-1]

 AttributeError: 'NoneType' object has no attribute 'statistics'

 Any help here is appreciated.

 -- Chris


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