From owner-freebsd-stable@FreeBSD.ORG Wed Apr 25 10:55:07 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D5ECB16A404 for ; Wed, 25 Apr 2007 10:55:07 +0000 (UTC) (envelope-from tarkhil@webmail.sub.ru) Received: from mail.sub.ru (mail.sub.ru [88.212.205.2]) by mx1.freebsd.org (Postfix) with SMTP id 90C3813C46E for ; Wed, 25 Apr 2007 10:55:06 +0000 (UTC) (envelope-from tarkhil@webmail.sub.ru) Received: (qmail 33250 invoked from network); 25 Apr 2007 15:00:40 +0400 Received: from unknown (HELO localhost) (88.212.205.2) by mail.sub.ru with SMTP; 25 Apr 2007 15:00:40 +0400 X-Virus-Scanned: by amavisd-new at mail.sub.ru Received: from unknown ([88.212.205.2]) by localhost (mail-new.sub.ru [88.212.205.2]) (amavisd-new, port 10024) with SMTP id cFHJaclLgl5b; Wed, 25 Apr 2007 15:00:35 +0400 (MSD) Received: from unknown (HELO ?89.222.147.9?) (tarkhil%sub.ru@89.222.147.9) by techno.sub.ru with SMTP; 25 Apr 2007 11:00:35 -0000 Message-ID: <462F3383.6000605@webmail.sub.ru> Date: Wed, 25 Apr 2007 14:54:59 +0400 From: Alex Povolotsky User-Agent: Thunderbird 1.5.0.9 (X11/20070104) MIME-Version: 1.0 To: Alexey Karagodov References: <20070420190857.9A34445058@ptavv.es.net> <20070420191105.GA38067@xor.obsecurity.org> <462F26A8.5090500@webmail.sub.ru> In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Kris Kennaway Subject: Re: 6.2-RELEASE does not use second CPU? 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: Wed, 25 Apr 2007 10:55:07 -0000 Alexey Karagodov wrote: > please, dmesg, mptable -verbose, mptable -grope > > 2007/4/25, Alex Povolotsky >: > > Kris Kennaway wrote: > > On Fri, Apr 20, 2007 at 12:08:57PM -0700, Kevin Oberman wrote: > > > >>> Date: Fri, 20 Apr 2007 22:54:52 +0400 > >>> From: "Alexey Karagodov" > > >>> Sender: owner-freebsd-stable@freebsd.org > > >>> > >>> and what is this, i mean why: > >>> WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant > >>> WARNING: MPSAFE network stack disabled, expect reduced > performance. > >>> > >> I thought it was pretty clear. > >> > >> ipsec is not multi-processor safe and requires the use of > GIANT. If you > >> have IPSEC in your kernel the network stack will also be giant > locked > >> which will cut performance. > >> > > > > Yep, google for extensive discussion (hint: FAST_IPSEC) > > > > No visible changes in behaviour with FAST_IPSEC > > Fast IPsec: Initialized Security Association Processing. > > mptable still shows ONE CPU > > Alex. > > > Full dmesg: Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE-p3 #5: Wed Apr 25 13:37:13 MSD 2007 tarkhil@cluster-one.zinester.com:/usr/obj/usr/src/sys/P4D Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2808.41-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf64 Stepping = 4 Features=0xbfebfbff Features2=0xe49d,> AMD Features=0x20100000 AMD Features2=0x1 Logical CPUs per core: 2 real memory = 1046757376 (998 MB) avail memory = 1015087104 (968 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard ichwd module loaded kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 acpi_perf0: on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 acpi_perf0: on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 acpi_throttle0: on cpu0 cpu1: on acpi0 acpi_perf1: on cpu1 acpi_perf1: failed in PERF_STATUS attach device_attach: acpi_perf1 attach returned 6 acpi_perf1: on cpu1 acpi_perf1: failed in PERF_STATUS attach device_attach: acpi_perf1 attach returned 6 acpi_throttle1: on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 2.0 (no driver attached) pci0: at device 3.0 (no driver attached) em0: port 0x30e0-0x30ff mem 0x50300000-0x5031ffff,0x50324000-0x50324fff irq 20 at device 25.0 on pci0 em0: Ethernet address: 00:19:d1:03:10:d9 pci0: at device 26.0 (no driver attached) pci0: at device 26.1 (no driver attached) pci0: at device 26.7 (no driver attached) pci0: at device 27.0 (no driver attached) pcib1: at device 28.0 on pci0 pci1: on pcib1 pcib2: at device 28.1 on pci0 pci2: on pcib2 atapci0: port 0x2018-0x201f,0x2024-0x2027,0x2010-0x2017,0x2020-0x2023,0x2000-0x200f mem 0x50100000-0x501001ff irq 17 at device 0.0 on pci2 ata2: on atapci0 ata3: on atapci0 pcib3: at device 28.2 on pci0 pci3: on pcib3 pcib4: at device 28.3 on pci0 pci4: on pcib4 pcib5: at device 28.4 on pci0 pci5: on pcib5 pci0: at device 29.0 (no driver attached) pci0: at device 29.1 (no driver attached) pci0: at device 29.2 (no driver attached) pci0: at device 29.7 (no driver attached) pcib6: at device 30.0 on pci0 pci6: on pcib6 atapci1: port 0x1018-0x101f,0x1024-0x1027,0x1010-0x1017,0x1020-0x1023,0x1000-0x100f mem 0x50004800-0x50004bff irq 22 at device 1.0 on pci6 ata4: on atapci1 ata5: on atapci1 ata6: on atapci1 ata7: on atapci1 pci6: at device 3.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci2: port 0x3108-0x310f,0x311c-0x311f,0x3100-0x3107,0x3118-0x311b,0x3020-0x303f mem 0x50325000-0x503257ff irq 19 at device 31.2 on pci0 atapci2: AHCI Version 01.10 controller with 4 ports detected ata8: on atapci2 ata9: on atapci2 ata10: on atapci2 ata11: on atapci2 pci0: at device 31.3 (no driver attached) ppc0: port 0x378-0x37f,0x778-0x77f irq 7 on acpi0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcafff,0xcd000-0xcdfff,0xce000-0xd27ff,0xd2800-0xd37ff on isa0 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata1 at port 0x170-0x177,0x376 irq 15 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec Fast IPsec: Initialized Security Association Processing. ad8: 70911MB at ata4-master SATA150 ad16: 70911MB at ata8-master SATA150 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad16s1a cluster-one# mptable -verbose =============================================================================== MPTable looking for EBDA pointer @ 0x040e, found, searching EBDA @ 0x0009e800 searching CMOS 'top of mem' @ 0x0009e400 (633K) searching default 'top of mem' @ 0x0009fc00 (639K) searching BIOS @ 0x000f0000 MP FPS found in BIOS @ physical addr: 0x000fe200 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000fe200 signature: '_MP_' length: 16 bytes version: 1.4 checksum: 0x9f mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000fe210 signature: 'PCMP' base table length: 64 version: 1.4 checksum: 0x7f OEM ID: '' Product ID: '' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 1 local APIC address: 0xfee00000 extended table length: 0 extended table checksum: 0 ------------------------------------------------------------------------------- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model Step Flags 0 0x14 BSP, usable 15 6 4 0xbfebfbff =============================================================================== cluster-one# mptable -grope =============================================================================== MPTable ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000fe200 signature: '_MP_' length: 16 bytes version: 1.4 checksum: 0x9f mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000fe210 signature: 'PCMP' base table length: 64 version: 1.4 checksum: 0x7f OEM ID: '' Product ID: '' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 1 local APIC address: 0xfee00000 extended table length: 0 extended table checksum: 0 ------------------------------------------------------------------------------- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model Step Flags 0 0x14 BSP, usable 15 6 4 0xbfebfbff =============================================================================== Thanks. Alex.