Re: [libvirt] [RFC] Data in the 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 element (subelement of cpu) in the capabilities and multiplies the numbers by the number of numa nodes. As the data there is take

Re: [libvirt] [RFC] Data in the 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 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 some > s

Re: [libvirt] [RFC] Data in the 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 functional

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

2013-01-17 Thread Daniel P. Berrange
On Thu, Jan 17, 2013 at 04:20:15PM +0100, Peter Krempa wrote: > 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

Re: [libvirt] [RFC] Data in the 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 en

Re: [libvirt] [RFC] Data in the 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 B

Re: [libvirt] [RFC] Data in the 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 (th

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

2013-01-17 Thread Daniel P. Berrange
37PM -0500, Peter Krempa wrote: > >>>>- Original Message - > >>>>From: Daniel P. Berrange > >>>>To: Peter Krempa > >>>>Cc: Jiri Denemark , Amador Pahim > >>>>, libvirt-l...@redhat.com, dougsl...@redhat.com > &g

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

2013-01-16 Thread Peter Krempa
Cc: Jiri Denemark , Amador Pahim , libvirt-l...@redhat.com, dougsl...@redhat.com Sent: Wed, 16 Jan 2013 13:39:28 -0500 (EST) Subject: Re: [libvirt] [RFC] Data in the element in the capabilities XML On Wed, Jan 16, 2013 at 07:31:02PM +0100, Peter Krempa wrote: On 01/16/13 19:11, Daniel P

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

2013-01-16 Thread Daniel P. Berrange
empa > >>Cc: Jiri Denemark , Amador Pahim , > >>libvirt-l...@redhat.com, dougsl...@redhat.com > >>Sent: Wed, 16 Jan 2013 13:39:28 -0500 (EST) > >>Subject: Re: [libvirt] [RFC] Data in the element in the > >>capabilities XML > >> > >

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

2013-01-16 Thread Amador Pahim
:28 -0500 (EST) Subject: Re: [libvirt] [RFC] Data in the element in the capabilities XML 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

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

2013-01-16 Thread Daniel P. Berrange
0 (EST) > Subject: Re: [libvirt] [RFC] Data in the element in the > capabilities XML > > 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: > >

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

2013-01-16 Thread Peter Krempa
- Original Message - From: Daniel P. Berrange To: Peter Krempa Cc: Jiri Denemark , Amador Pahim , libvirt-l...@redhat.com, dougsl...@redhat.com Sent: Wed, 16 Jan 2013 13:39:28 -0500 (EST) Subject: Re: [libvirt] [RFC] Data in the element in the capabilities XML On Wed, Jan 16

Re: [libvirt] [RFC] Data in the 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 sub-elemen

Re: [libvirt] [RFC] Data in the 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 sub-element: x86_64 SandyBridge Intel The data

Re: [libvirt] [RFC] Data in the 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 sub-element: > > > > > x86_64 > SandyBridge > Intel > > > > The data provided here is as of t

[libvirt] [RFC] Data in the 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 sub-element: x86_64 SandyBridge Intel The data provided here is as of today taken from the nodeinfo detection code and thus is really wrong when the fallback m