From owner-freebsd-current@FreeBSD.ORG Mon Aug 30 11:49:48 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6898C10656A9 for ; Mon, 30 Aug 2010 11:49:48 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id A13CD8FC0A for ; Mon, 30 Aug 2010 11:49:47 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA09275; Mon, 30 Aug 2010 14:49:43 +0300 (EEST) (envelope-from avg@freebsd.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Oq2rv-000Er4-LH; Mon, 30 Aug 2010 14:49:43 +0300 Message-ID: <4C7B9AD6.2010000@freebsd.org> Date: Mon, 30 Aug 2010 14:49:42 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.8) Gecko/20100822 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: pluknet References: <201007141414.o6EEEUx9014690@lurza.secnetix.de> <4C782D3B.6020407@icyb.net.ua> <201008271743.29393.jkim@FreeBSD.org> <4C7835E6.6070309@icyb.net.ua> <4C7A2782.5040009@freebsd.org> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: patch for topology detection of Intel CPUs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 11:49:48 -0000 on 30/08/2010 12:15 pluknet said the following: > On 29 August 2010 13:25, Andriy Gapon wrote: >> >> [Reposted from stable@; edited] >> >> The below patch is against sources in FreeBSD tree, it should be applied >> either to sys/amd64/amd64/mp_machdep.c or sys/i386/i386/mp_machdep.c depending >> on the desired architecture: >> http://people.freebsd.org/~avg/intel-cpu-topo.diff >> > > Hi, Andriy. > > I tried your patch and see no regression on Xeon 50xx, 55xx, 54xx. > It also improved CPU detection on Xeon 54xx (as well as original > Junk-uk's patch). > > It also improved CPU detection on Xen HVM @ Xeon 55xx @ 3 cores: > > FreeBSD/SMP: Multiprocessor System Detected: 3 CPUs > FreeBSD/SMP: 1 package(s) x 3 core(s) > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 2 > cpu2 (AP): APIC ID: 4 > Thanks a lot for testing! -- Andriy Gapon