From: George Dunlap Subject: Re: [PATCH][RFC][0/2] x86 SMP: enables core-pair topology detection for AMD CPUs Date: Tue, 28 Jun 2011 09:51:30 +0100 Message-ID: <1309251090.30420.4388.camel@elijah> References: <4E03C386.9030009@amd.com> <4E0862520200007800049BDB@nat28.tlf.novell.com> <4E08BD2D.9020403@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4E08BD2D.9020403@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Wei Huang Cc: George Dunlap , "xen-devel@lists.xensource.com" , Keir Fraser , Jan Beulich List-Id: xen-devel@lists.xenproject.org On Mon, 2011-06-27 at 18:26 +0100, Wei Huang wrote: > Thanks, Jan and George. I attach the latest version which fixes the > indentation issues. Assuming the patch has the same effect on the scheduling, my previous ack-effects-on-the-schedulers stands: Acked-by: George Dunlap > > -Wei > > > On 06/27/2011 03:58 AM, Jan Beulich wrote: > >>>> On 24.06.11 at 00:51, Wei Huang wrote: > >> Hi, > >> > >> The following two patches enable core-pair topology detection for AMD > >> CPUs. The main idea is to record compute unit information into > >> cpuinfo_x86 and use it when building sibling map. The sibling map will > >> be used by Xen credit scheduler to coordinate VCPU scheduling in a > >> fashion similar to SMT. This code is very similar to upstream Linux kernel. > >> > >> Regarding the performance improvement, I saw ~8% improvement running > >> kernel compilation on Dom0 with this patch. Anrea Przywara ran a POVRay > >> benchmark using this patch and he saw ~5% improvement. No perf > >> degradation was seen so far. > >> > >> Please review. > > Apart from some indentation issues these look fine to me. > > > > Jan > > > >> Thanks, > >> -Wei > > > > > > >