From owner-freebsd-stable@FreeBSD.ORG Thu Aug 19 19:16:00 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43F3A1065674; Thu, 19 Aug 2010 19:16:00 +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 CEE808FC1A; Thu, 19 Aug 2010 19:15:59 +0000 (UTC) Received: by qyk8 with SMTP id 8so1778237qyk.13 for ; Thu, 19 Aug 2010 12:15:59 -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 :content-transfer-encoding; bh=YH77jJglMVEzXos/RoPo/yPHu90se93AD51Qice/zaE=; b=ZMfUXSt8XGyGXMtB6iaw9pxCqMPSMMaDvXLFoN5b8Fom2BH0AGz5tgQHLgO1hNMXBH ALXV4VtgY7+v5qsKxQKK5py86F2n9vUwTNcixumjEbjmt4j9hZSyBFHHeaVRXj6kPoV0 kTAHAvLVdDWjLo4HAtccK4n/BqO328whT+7zs= 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:content-transfer-encoding; b=Wa7MYQ6GWcBFnRA4n2/boADDWuWnoVM1l7LFWg2d32r88S7q0VJLyHvFLCNd8Ymtki HA99mWitGfmGt0pSKC6aWOk2QrHF+uqu/CukWv0w9sGVaeIewbrmLzgMn/sC/lnDjPD+ kmuZSn2zaTC1fEyM/R7kwywMkMsZ94La4KPKs= MIME-Version: 1.0 Received: by 10.229.190.69 with SMTP id dh5mr251358qcb.95.1282245359010; Thu, 19 Aug 2010 12:15:59 -0700 (PDT) Received: by 10.229.31.12 with HTTP; Thu, 19 Aug 2010 12:15:58 -0700 (PDT) In-Reply-To: <4C6D697A.5050302@icyb.net.ua> References: <201007141414.o6EEEUx9014690@lurza.secnetix.de> <201007141755.04690.jkim@FreeBSD.org> <4C3FB73F.7070502@freebsd.org> <201007161147.56242.jkim@FreeBSD.org> <4C6D5E31.9000701@icyb.net.ua> <4C6D697A.5050302@icyb.net.ua> Date: Thu, 19 Aug 2010 23:15:58 +0400 Message-ID: From: pluknet To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org, Jung-uk Kim Subject: Re: 8.1-PRERELEASE: CPU packages not detected correctly X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2010 19:16:00 -0000 On 19 August 2010 21:27, Andriy Gapon wrote: > on 19/08/2010 19:56 pluknet said the following: >> CPU: Intel(R) Xeon(R) CPU =A0 =A0 =A0 =A0 =A0 E5520 =A0@ 2.27GHz (2763.1= 2-MHz 686-class CPU) >> =A0 Origin =3D "GenuineIntel" =A0Id =3D 0x106a5 =A0Family =3D 6 =A0Model= =3D 1a =A0Stepping =3D 5 >> =A0 Features=3D0x1781fbbf >> =A0 Features2=3D0x80982201> >> =A0 TSC: P-state invariant >> real memory =A0=3D 4194304000 (4000 MB) >> avail memory =3D 3932786688 (3750 MB) >> ACPI APIC Table: >> FreeBSD/SMP: Multiprocessor System Detected: 3 CPUs >> FreeBSD/SMP: 0 package(s) x 1 core(s) x 32 HTT threads >> =A0cpu0 (BSP): APIC ID: =A00 >> =A0cpu1 (AP/HT): APIC ID: =A02 >> =A0cpu2 (AP/HT): APIC ID: =A04 > > Thanks! > BTW, what does Intel's code report? > Jung-uk's convenience script: > http://people.freebsd.org/~jkim/cpu_topology-12212009.sh > Software visible enumeration in the system: Number of logical processors visible to the OS: 3 Number of logical processors visible to this process: 3 Number of processor cores visible to this process: 3 Number of physical packages visible to this process: 1 Hierarchical counts by levels of processor topology: # of cores in package 0 visible to this process: 3 . Affinity masks per SMT thread, per core, per package: Individual: P:0, C:0, T:0 --> 1 Core-aggregated: P:0, C:0 --> 1 Individual: P:0, C:1, T:0 --> 2 Core-aggregated: P:0, C:1 --> 2 Individual: P:0, C:2, T:0 --> 4 Core-aggregated: P:0, C:2 --> 4 Pkg-aggregated: P:0 --> 7 APIC ID listings from affinity masks OS cpu 0, Affinity mask 01 - apic id 0 OS cpu 1, Affinity mask 02 - apic id 2 OS cpu 2, Affinity mask 04 - apic id 4 Package 0 Cache and Thread details L1D is Level 1 Data cache, size(KBytes)=3D 32, Cores/cache=3D 1, Caches/pa= ckage=3D 3 L1I is Level 1 Instruction cache, size(KBytes)=3D 32, Cores/cache=3D 1, Caches/package=3D 3 L2 is Level 2 Unified cache, size(KBytes)=3D 256, Cores/cache=3D 1, Caches/package=3D 3 L3 is Level 3 Unified cache, size(KBytes)=3D 8192, Cores/cache=3D 1, Caches/package=3D 3 +----+----+----+ Cache | L1D| L1D| L1D| Size | 32K| 32K| 32K| OScpu#| 0| 1| 2| Core | c0| c1| c2| AffMsk| 1| 2| 4| +----+----+----+ Cache | L1I| L1I| L1I| Size | 32K| 32K| 32K| +----+----+----+ Cache | L2| L2| L2| Size |256K|256K|256K| +----+----+----+ Cache | L3| L3| L3| Size | 8M| 8M| 8M| +----+----+----+ Combined socket AffinityMask=3D 0x7 --=20 wbr, pluknet