Re: [libvirt] [RFC] Data in the topology element in the capabilities XML

2013-01-17 Thread Daniel P. Berrange
On Thu, Jan 17, 2013 at 12:12:35AM +0100, Peter Krempa wrote: On 01/16/13 21:24, Daniel P. Berrange wrote: On Wed, Jan 16, 2013 at 05:06:21PM -0300, Amador Pahim wrote: On 01/16/2013 04:30 PM, Daniel P. Berrange wrote: On Wed, Jan 16, 2013 at 02:15:37PM -0500, Peter Krempa wrote: -

Re: [libvirt] [RFC] Data in the topology element in the capabilities XML

2013-01-17 Thread Peter Krempa
On 01/17/13 10:36, Daniel P. Berrange wrote: Well not for all machines in the wild out there. This is a very similar approach that libvirt uses now to detect the topology and it is not enough to detect threads on AMD Bulldozer as the cpus corresponding to the threads have different core_id's

Re: [libvirt] [RFC] Data in the topology element in the capabilities XML

2013-01-17 Thread Daniel P. Berrange
On Thu, Jan 17, 2013 at 03:41:44PM +0100, Peter Krempa wrote: On 01/17/13 10:36, Daniel P. Berrange wrote: Well not for all machines in the wild out there. This is a very similar approach that libvirt uses now to detect the topology and it is not enough to detect threads on AMD Bulldozer as

Re: [libvirt] [RFC] Data in the topology element in the capabilities XML

2013-01-17 Thread Peter Krempa
On 01/17/13 15:48, Daniel P. Berrange wrote: On Thu, Jan 17, 2013 at 03:41:44PM +0100, Peter Krempa wrote: On 01/17/13 10:36, Daniel P. Berrange wrote: Well not for all machines in the wild out there. This is a very similar approach that libvirt uses now to detect the topology and it is not

Re: [libvirt] [RFC] Data in the topology element in the capabilities XML

2013-01-17 Thread Peter Krempa
On 01/17/13 16:43, Daniel P. Berrange wrote: I beg to differ: This technology is informally called CMT (Clustered Multi-Thread) and formally called module by the AMD's marketing service, but whose real name is Clustered Integer Core Technology. In terms of hardware complexity and functionality,

Re: [libvirt] [RFC] Data in the topology element in the capabilities XML

2013-01-17 Thread Daniel P. Berrange
On Thu, Jan 17, 2013 at 05:14:30PM +0100, Peter Krempa wrote: On 01/17/13 16:43, Daniel P. Berrange wrote: VDSM uses the topology element (subelement of cpu) in the capabilities and multiplies the numbers by the number of numa nodes. As the data there is taken from nodeinfo, this breaks on

Re: [libvirt] [RFC] Data in the topology element in the capabilities XML

2013-01-17 Thread Peter Krempa
On 01/17/13 17:56, Daniel P. Berrange wrote: On Thu, Jan 17, 2013 at 05:14:30PM +0100, Peter Krempa wrote: On 01/17/13 16:43, Daniel P. Berrange wrote: VDSM uses the topology element (subelement of cpu) in the capabilities and multiplies the numbers by the number of numa nodes. As the data

[libvirt] [RFC] Data in the topology element in the capabilities XML

2013-01-16 Thread Peter Krempa
Hi everybody, a while ago there was a discussion about changing the data that is returned in the topology sub-element: capabilities host cpu archx86_64/arch modelSandyBridge/model vendorIntel/vendor topology sockets='1' cores='2' threads='2'/ The data provided

Re: [libvirt] [RFC] Data in the topology element in the capabilities XML

2013-01-16 Thread Daniel P. Berrange
On Wed, Jan 16, 2013 at 05:28:57PM +0100, Peter Krempa wrote: Hi everybody, a while ago there was a discussion about changing the data that is returned in the topology sub-element: capabilities host cpu archx86_64/arch modelSandyBridge/model vendorIntel/vendor

Re: [libvirt] [RFC] Data in the topology element in the capabilities XML

2013-01-16 Thread Peter Krempa
On 01/16/13 19:11, Daniel P. Berrange wrote: On Wed, Jan 16, 2013 at 05:28:57PM +0100, Peter Krempa wrote: Hi everybody, a while ago there was a discussion about changing the data that is returned in the topology sub-element: capabilities host cpu archx86_64/arch

Re: [libvirt] [RFC] Data in the topology element in the capabilities XML

2013-01-16 Thread Daniel P. Berrange
On Wed, Jan 16, 2013 at 07:31:02PM +0100, Peter Krempa wrote: On 01/16/13 19:11, Daniel P. Berrange wrote: On Wed, Jan 16, 2013 at 05:28:57PM +0100, Peter Krempa wrote: Hi everybody, a while ago there was a discussion about changing the data that is returned in the topology sub-element:

Re: [libvirt] [RFC] Data in the topology element in the capabilities XML

2013-01-16 Thread Peter Krempa
- Original Message - From: Daniel P. Berrange berra...@redhat.com To: Peter Krempa pkre...@redhat.com Cc: Jiri Denemark jdene...@redhat.com, Amador Pahim apa...@redhat.com, libvirt-l...@redhat.com, dougsl...@redhat.com Sent: Wed, 16 Jan 2013 13:39:28 -0500 (EST) Subject: Re: [libvirt]

Re: [libvirt] [RFC] Data in the topology element in the capabilities XML

2013-01-16 Thread Daniel P. Berrange
On Wed, Jan 16, 2013 at 02:15:37PM -0500, Peter Krempa wrote: - Original Message - From: Daniel P. Berrange berra...@redhat.com To: Peter Krempa pkre...@redhat.com Cc: Jiri Denemark jdene...@redhat.com, Amador Pahim apa...@redhat.com, libvirt-l...@redhat.com, dougsl...@redhat.com

Re: [libvirt] [RFC] Data in the topology element in the capabilities XML

2013-01-16 Thread Amador Pahim
On 01/16/2013 04:30 PM, Daniel P. Berrange wrote: On Wed, Jan 16, 2013 at 02:15:37PM -0500, Peter Krempa wrote: - Original Message - From: Daniel P. Berrange berra...@redhat.com To: Peter Krempa pkre...@redhat.com Cc: Jiri Denemark jdene...@redhat.com, Amador Pahim apa...@redhat.com,

Re: [libvirt] [RFC] Data in the topology element in the capabilities XML

2013-01-16 Thread Daniel P. Berrange
On Wed, Jan 16, 2013 at 05:06:21PM -0300, Amador Pahim wrote: On 01/16/2013 04:30 PM, Daniel P. Berrange wrote: On Wed, Jan 16, 2013 at 02:15:37PM -0500, Peter Krempa wrote: - Original Message - From: Daniel P. Berrange berra...@redhat.com To: Peter Krempa pkre...@redhat.com Cc: Jiri

Re: [libvirt] [RFC] Data in the topology element in the capabilities XML

2013-01-16 Thread Peter Krempa
On 01/16/13 21:24, Daniel P. Berrange wrote: On Wed, Jan 16, 2013 at 05:06:21PM -0300, Amador Pahim wrote: On 01/16/2013 04:30 PM, Daniel P. Berrange wrote: On Wed, Jan 16, 2013 at 02:15:37PM -0500, Peter Krempa wrote: - Original Message - From: Daniel P. Berrange berra...@redhat.com