Date: Mon, 22 May 2000 16:57:11 -0400 From: "Matt White" <mwhite@dnaco.net> To: <smp@freebsd.org> Subject: Tips for Optimization? Message-ID: <002101bfc430$5037c610$0402030a@yiff>
next in thread | raw e-mail | index | archive | help
SMP Mailing List; I've just recently gotten into the world of SMP FreeBSD. I have a P2B-D that I've been playing with, and have been very impressed so far... (This is the first time I've played with an SMP UNIX system.) I love the way it stays snappy even when I'm doing something intense. Are there any tips or tricks to optimizing performance? To compile an SMP kernel I simply uncommented the first two lines in the Generic kernel in the SMP section, but now I'm wondering if there are things I can be doing to get the greatest performance possible. First, the necessary bits of the system: [mwhite@gooey ~]$ uname -a FreeBSD gooey.bunnynet.org 3.4-STABLE FreeBSD 3.4-STABLE #50: Sun Apr 30 18:14:33 EDT 2000 mwhite@gooey.bunnynet.org:/src /sys/compile/GOOEY i386 I plan to bring this box to 4.0 eventually, but I'd like to install a SCSI drive (or two) to replace the IDE drives currently installed. Since this box started out as a 2.2.5 system that's been upgraded along the way, I just want to wipe it out and start over. =) Some of my config files are scary... The output of mptable is below. It looks like there's only one I/O APIC on this board, so I think I have that much setup correctly. Thanks. - Matt ============================================================================ === MPTable, version 2.0.15 ---------------------------------------------------------------------------- --- MP Floating Pointer Structure: location: BIOS physical address: 0x000f6e80 signature: '_MP_' length: 16 bytes version: 1.1 checksum: 0xba mode: Virtual Wire ---------------------------------------------------------------------------- --- MP Config Table Header: physical address: 0x000f6a70 signature: 'PCMP' base table length: 244 version: 1.1 checksum: 0xa3 OEM ID: 'OEM00000' Product ID: 'PROD00000000' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 22 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 1 0x11 BSP, usable 6 6 5 0x183fbff 0 0x11 AP, usable 6 6 5 0x183fbff -- Bus: Bus ID Type 0 PCI 1 ISA -- I/O APICs: APIC ID Version State Address 2 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT conforms conforms 1 0 2 0 INT conforms conforms 1 1 2 1 INT conforms conforms 1 0 2 2 INT conforms conforms 1 3 2 3 INT conforms conforms 1 4 2 4 INT conforms conforms 1 5 2 5 INT conforms conforms 1 6 2 6 INT conforms conforms 1 7 2 7 INT conforms conforms 1 8 2 8 INT conforms conforms 1 9 2 9 INT conforms conforms 1 12 2 12 INT conforms conforms 1 14 2 14 INT conforms conforms 1 15 2 15 INT active-lo level 1 11 2 17 INT active-lo level 1 10 2 19 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT active-hi edge 1 0 255 0 NMI active-hi edge 1 0 255 1 ---------------------------------------------------------------------------- --- # SMP kernel config file options: # Required: options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O # Optional (built-in defaults will work in most cases): #options NCPU=2 # number of CPUs #options NBUS=2 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs ============================================================================ === To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002101bfc430$5037c610$0402030a>