From owner-freebsd-current@FreeBSD.ORG Mon Aug 30 09:15:13 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 D50261065695 for ; Mon, 30 Aug 2010 09:15:13 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 6E6DD8FC12 for ; Mon, 30 Aug 2010 09:15:13 +0000 (UTC) Received: by qyk8 with SMTP id 8so2844713qyk.13 for ; Mon, 30 Aug 2010 02:15:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=N/zozG2kaBITiIXzIq2PI3r25rfh7peRBNhYRIFVTBc=; b=Bi9PPsiLHbIf/ftcyrTpSBR8K3Ut8T+JbQQvjDnFdEjH9SKazflQ/JGo5ps8cDTshc WD1hzoj1uJcsukRb0CA+9FFvCNO1Nwt6s4LMCWr5GvpbZycos9iF+dOI5Gc4ZMvluZGH k9ZuYZ/funNEhbXhkikMb14/+SYs8y9ehvYyg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=PWdceXy3syo1OJncur1sQPPtsfLP5EIeC+FCDmlwsWaTt7whc3Sf70AlwD22vZx0s7 7FqZgBBpfxWSn1vp3qg4/42kSYFVu8NlV1Ik/2RP5CkC9/2JIJ28cb8r2JjyYp13ZXR0 Fl20Mv2tij0UtqMMzZiM9UHnGEqYpgp34S/PE= MIME-Version: 1.0 Received: by 10.224.28.211 with SMTP id n19mr2652466qac.318.1283159712614; Mon, 30 Aug 2010 02:15:12 -0700 (PDT) Received: by 10.229.26.81 with HTTP; Mon, 30 Aug 2010 02:15:12 -0700 (PDT) In-Reply-To: <4C7A2782.5040009@freebsd.org> 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> Date: Mon, 30 Aug 2010 13:15:12 +0400 Message-ID: From: pluknet To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 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 09:15:13 -0000 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 -- wbr, pluknet