Date: Wed, 09 Mar 2005 12:24:35 +0100 From: Michal Mertl <mime@traveller.cz> To: ISP Informatique <mlh@ispinfo.fr> Cc: freebsd-smp@freebsd.org Subject: Re: FreeBSD 5.3 et multiprocessor Message-ID: <1110367475.655.4.camel@genius2.i.cz> In-Reply-To: <422ED71A.9000908@ispinfo.fr> References: <422ECB11.4090801@ispinfo.fr> <422ED71A.9000908@ispinfo.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
ISP Informatique wrote: > Joseph Koshy wrote: > >>The nasty surprise being which I note a notable reduction in the > >>performances. > > > > > > Could you post the output of 'dmesg'? What workload are you running on the box? > > > > here it is : > > Copyright (c) 1992-2004 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 5.3-RELEASE-p5 #0: Sun Mar 6 00:57:32 CET 2005 > > root@lancelot.acces-industrie.com:/usr/obj/usr/src/sys/GENERIC > > MPTable: <HP LT 6000 > > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > CPU: Intel Pentium III Xeon (700.02-MHz 686-class CPU) > > Origin = "GenuineIntel" Id = 0x6a1 Stepping = 1 > > Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE> > > real memory = 2147418112 (2047 MB) > > avail memory = 2095939584 (1998 MB) > > ioapic0: Assuming intbase of 0 > > ioapic1: Assuming intbase of 16 > > ioapic0 <Version 1.1> irqs 0-15 on motherboard > > ioapic1 <Version 1.1> irqs 16-31 on motherboard > > npx0: [FAST] > > npx0: <math processor> on motherboard > > npx0: INT 16 interface > > pcib1: <MPTable Host-PCI bridge> pcibus 1 on motherboard > > pci1: <PCI bus> on pcib1 > > pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard > > pci0: <PCI bus> on pcib0 > > fxp0: <Intel 82559 Pro/100 Ethernet> port 0x1800-0x183f mem 0xec900000-0xec9fffff,0xec801000-0xec801fff irq 18 at device 6.0 on pci0 > > miibus0: <MII bus> on fxp0 > > inphy0: <i82555 10/100 media interface> on miibus0 > > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > fxp0: Ethernet address: 00:30:6e:02:f8:f0 > > pci0: <display, VGA> at device 7.0 (no driver attached) > > isab0: <PCI-ISA bridge> port 0x1040-0x104f at device 15.0 on pci0 > > isa0: <ISA bus> on isab0 > > atapci0: <ServerWorks ROSB4 UDMA33 controller> port 0x1840-0x184f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0 > > ata0: channel #0 on atapci0 > > ata1: channel #1 on atapci0 > > pcib4: <MPTable Host-PCI bridge> pcibus 4 on motherboard > > pci4: <PCI bus> on pcib4 > > pci4: <base peripheral> at device 2.0 (no driver attached) > > pci4: <serial bus> at device 2.1 (no driver attached) > > pcib2: <PCI-PCI bridge> at device 3.0 on pci4 > > pci5: <PCI bus> on pcib2 > > pci5: <base peripheral> at device 8.0 (no driver attached) > > amr0: <LSILogic MegaRAID> mem 0xf4000000-0xf7ffffff irq 20 at device 3.1 on pci4 > > amr0: [GIANT-LOCKED] > > amr0: <Integrated HP NetRAID (T7)> Firmware E.01.08, BIOS B.02.03, 64MB RAM > > cpu0 on motherboard > > orm0: <ISA Option ROMs> at iomem 0xc8000-0xc8fff,0xc0000-0xc7fff on isa0 > > pmtimer0 on isa0 > > atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0 > > atkbd0: <AT Keyboard> irq 1 on atkbdc0 > > kbd0 at atkbd0 > > atkbd0: [GIANT-LOCKED] > > psm0: <PS/2 Mouse> irq 12 on atkbdc0 > > psm0: [GIANT-LOCKED] > > psm0: model IntelliMouse, device ID 3 > > fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 > > fdc0: [FAST] > > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > > ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 > > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > > ppbus0: <Parallel port bus> on ppc0 > > plip0: <PLIP network interface> on ppbus0 > > lpt0: <Printer> on ppbus0 > > lpt0: Interrupt-driven port > > ppi0: <Parallel I/O> on ppbus0 > > sc0: <System console> at flags 0x100 on isa0 > > sc0: VGA <16 virtual consoles, flags=0x300> > > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > > sio0: type 16550A > > sio1 at port 0x2f8-0x2ff irq 3 on isa0 > > sio1: type 16550A > > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > > unknown: <PNP0303> can't assign resources (port) > > unknown: <PNP0c02> can't assign resources (port) > > unknown: <PNP0501> can't assign resources (port) > > unknown: <PNP0f13> can't assign resources (irq) > > unknown: <PNP0700> can't assign resources (port) > > unknown: <PNP0501> can't assign resources (port) > > unknown: <PNP0400> can't assign resources (port) > > Timecounter "TSC" frequency 700015817 Hz quality 800 > > Timecounters tick every 10.000 msec > > acd0: CDROM <CD-224E/1.5A> at ata0-master PIO4 > > amrd0: <LSILogic MegaRAID logical drive> on amr0 > > amrd0: 17365MB (35563520 sectors) RAID 1 (optimal) > > ses0 at amr0 bus 0 target 5 lun 0 > > ses0: <HP SAFTE; U160/M BP 1023> Fixed Processor SCSI-2 device > > ses0: SAF-TE Compliant Device > > Mounting root from ufs:/dev/amrd0s1a > > looking at the administrative mail, i saw that I got this in the first > dmesg after install (and so before kernel recompiling) > > MPTable: <HP LT 6000 > > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 2 > cpu3 (AP): APIC ID: 4 > > then > > cpu1 on motherboard > cpu2 on motherboard > cpu3 on motherboard > > and at the end : > > SMP: AP CPU #1 Launched! > SMP: AP CPU #2 Launched! > SMP: AP CPU #3 Launched! > > guess that something is missing in the kernel :( There are only two options in the kernel configuration file which you need to enable for SMP support. It is not enabled by default (in GENERIC kernel). These are: options SMP device apic HTH Michal Mertl
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1110367475.655.4.camel>