From owner-freebsd-stable@FreeBSD.ORG Mon Sep 6 17:12:31 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 473DC10656AE; Mon, 6 Sep 2010 17:12:31 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id EEBFD8FC12; Mon, 6 Sep 2010 17:12:30 +0000 (UTC) Received: by iwn34 with SMTP id 34so5038316iwn.13 for ; Mon, 06 Sep 2010 10:12:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.149.3 with SMTP id r3mr6355954ibv.109.1283793150285; Mon, 06 Sep 2010 10:12:30 -0700 (PDT) Received: by 10.231.149.8 with HTTP; Mon, 6 Sep 2010 10:12:30 -0700 (PDT) In-Reply-To: <4C8517D1.3050603@freebsd.org> References: <4C782D3B.6020407@icyb.net.ua> <201008271743.29393.jkim@FreeBSD.org> <4C7835E6.6070309@icyb.net.ua> <4C7A2782.5040009@freebsd.org> <4C84DBE6.5010809@freebsd.org> <20100906122325.GA78727@icarus.home.lan> <4C84E4E1.8010709@freebsd.org> <20100906131203.GA80251@icarus.home.lan> <4C84EC62.6020205@freebsd.org> <20100906162230.GA1444@icarus.home.lan> <4C8517D1.3050603@freebsd.org> Date: Mon, 6 Sep 2010 19:12:30 +0200 Message-ID: From: Olivier Smedts To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org, Jeremy Chadwick Subject: Re: patch for topology detection of Intel CPUs 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: Mon, 06 Sep 2010 17:12:31 -0000 2010/9/6 Andriy Gapon : > on 06/09/2010 19:22 Jeremy Chadwick said the following: >> On Mon, Sep 06, 2010 at 04:28:02PM +0300, Andriy Gapon wrote: >>> on 06/09/2010 16:12 Jeremy Chadwick said the following: >>>> Great, thanks! =A0I'll be testing this out on two separate systems, bo= th >>>> RELENG_8: >>>> >>>> - Supermicro X7SBA =A0 =A0 + Intel C2D E8400 (stepping 10) >>>> - Supermicro X7SBL-LN2 + Intel C2D E6600 (stepping 6) >>>> >>>> I'll make sure to provide what the topology looks like before and afte= r. >>>> Is CPU-relevant dmesg output sufficient? >>> >>> If you mean something like the below, then yes. =A0Thanks! >>> [...] >> >> All done. =A0Good news (I think): there's no difference in the CPU-relat= ed >> topology on either system with your patch, aside from kernel build date. >> The topologies are still detected correctly. =A0In case you want them: >> > > Thanks a lot for the test! Here is mine : no difference before and after the patch : FreeBSD 8.1-STABLE #0 r212258M: Mon Sep 6 18:36:00 CEST 2010 root@q.gid0.org:/usr/obj/usr/src/sys/QUAD amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz (2999.87-MHz K8-class = CPU) Origin =3D "GenuineIntel" Id =3D 0x10677 Family =3D 6 Model =3D 17 St= epping =3D 7 Features=3D0xbfebfbff Features2=3D0x8e3fd AMD Features=3D0x20100800 AMD Features2=3D0x1 TSC: P-state invariant real memory =3D 2147483648 (2048 MB) avail memory =3D 2029350912 (1935 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 The only thing I noticed is this, after the patch : ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: ATA-7 SATA 2.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C) SMP: AP CPU #1 Launched!cd0 at ahcich2 bus 0 scbus2 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! Trying to mount root from zfs:tank/freebsd Before the patch, all the "SMP: AP CPU #X Launched!" were correctly displayed, with carriage returns. Yes, I use "options PRINTF_BUFR_SIZE=3D128". And I don't know if that's related to the patch. Cheers, Olivier > > [test results snipped] > >> All other systems I have are C2D and C2Q-based, but I can't easily test >> on those given their production roles. =A0If there's a particular Intel >> processor family/model you're interested in, let me know and I can dig >> around to see if I have access to one. > > No particular models in mind. > If you have systems with more complex topologies, like multiple physical = packages > or HTT enabled, I will be interested in seeing test results for those. > Thanks again. > -- > Andriy Gapon > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas."