From owner-freebsd-smp@FreeBSD.ORG Sun Nov 16 02:34:23 2003 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84B7116A4CE for ; Sun, 16 Nov 2003 02:34:23 -0800 (PST) Received: from mail.fpsn.net (mail.fpsn.net [63.224.69.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49D2A43F93 for ; Sun, 16 Nov 2003 02:34:22 -0800 (PST) (envelope-from cfaber@fpsn.net) Received: from fpsn.net (mirc-sucks@unixgr.com [63.224.69.60]) (authenticated bits=0) by mail.fpsn.net (8.12.10/8.12.10) with ESMTP id hAGAY9fH055299; Sun, 16 Nov 2003 03:34:16 -0700 (MST) Message-ID: <3FB752D8.4030305@fpsn.net> Date: Sun, 16 Nov 2003 03:35:04 -0700 From: Colin Faber Organization: fpsn.net, Inc. (http://www.fpsn.net) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030925 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Arie J. Gerszt" References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-smp@freebsd.org Subject: Re: dell 2450 smp kernel X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 10:34:23 -0000 I believe that machine has a an AMR based card. Dell 3/Si or something along those lines for the raid. Other than that standard SMP options apply. Arie J. Gerszt wrote: > hi, > > i am trying to compile a kernel for a dell 2450 smp box, > but i am not sure which options i must include for the > smp and raid. > > is anybody around here familiar with the dell 2450 and > fbsd? any help would greatly be appreciated, > > > thanks, > arie > > > _______________________________________________ > freebsd-smp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-smp > To unsubscribe, send any mail to "freebsd-smp-unsubscribe@freebsd.org" > > From owner-freebsd-smp@FreeBSD.ORG Tue Nov 18 05:58:03 2003 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBD5216A4CE for ; Tue, 18 Nov 2003 05:58:03 -0800 (PST) Received: from gnu.uclv.net (gnu.uclv.net [193.170.2.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id 455C343FDD for ; Tue, 18 Nov 2003 05:57:58 -0800 (PST) (envelope-from boesch@fh-vorarlberg.ac.at) Received: from flux.uclv.net (flux.uclv.net [193.170.2.116]) by gnu.uclv.net (8.12.9/8.12.9) with ESMTP id hAIDvvMK085318 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 18 Nov 2003 14:57:57 +0100 (CET) (envelope-from boesch@fh-vorarlberg.ac.at) Received: from [193.170.102.178] (cb-mb.dh.uclv.net [193.170.102.178]) (authenticated bits=0) by flux.uclv.net (8.12.8/8.12.8) with ESMTP id hAIDvtDY060626 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Tue, 18 Nov 2003 14:57:56 +0100 (CET) (envelope-from boesch@fh-vorarlberg.ac.at) Mime-Version: 1.0 (Apple Message framework v606) Content-Transfer-Encoding: 7bit Message-Id: <35A53F58-19CF-11D8-AC24-000393C7BD84@fh-vorarlberg.ac.at> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-smp@freebsd.org From: Christian Boesch Date: Tue, 18 Nov 2003 14:57:55 +0100 X-Mailer: Apple Mail (2.606) Subject: smp on primergy L200 X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 13:58:03 -0000 i installed freebsd 4.9RC1 stable on a fujitsu siemens L200 with 2 cpus (P3). after launching the 2nd cpu the system freezes. then i tried the patch from http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/39234 which i'm using on our p200 and rx300, but on the L200 it doesn't work. has anyone experience with the L200 and got a smp kernel running? thanks chris -- christian boesch | system administrator fachhochschule vorarlberg | university of applied sciences From owner-freebsd-smp@FreeBSD.ORG Wed Nov 19 07:04:12 2003 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B16016A4CE for ; Wed, 19 Nov 2003 07:04:12 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id B317343FB1 for ; Wed, 19 Nov 2003 07:04:10 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hAJF22Mg007496; Wed, 19 Nov 2003 10:02:02 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hAJF22H8007493; Wed, 19 Nov 2003 10:02:02 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Wed, 19 Nov 2003 10:02:01 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: matthew tillman In-Reply-To: <20031112210917.10741.qmail@web80103.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-smp@freebsd.org Subject: Re: device pcm kills SMP performance -CURRENT X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 15:04:12 -0000 On Wed, 12 Nov 2003, matthew tillman wrote: > I have an ACorp 6A815EPD motherboard, Intel i815 chipset, with a pair of > P3 733s. My sound card, is a SoundBlaster Live Value. > > Whenever sound support is compiled in the Kernel, performance takes a > huge hit, X runs about the same as on a P2 300 or so. But If I boot to a > kernel that is configured exactly the same, without device pcm, the > system is very responsive. > > Booting to a non-SMP kernel in 5.1-Release with or without sound > support, the system was very fast. I did not try no sound support with > SMP, as I thought the issue was only SMP performance in general. > > I then CVSuped to -CURRENT on Nov 8th, because at the time I didn't > realise the issue was isolated to the sound system. However, I still > have the same issue. > > I also tried swapping the card into a diffrent PCI slot, but that didn't > help. Just to confirm -- when you upgraded to -CURRENT, did you remove INVARIANTS and WITNESS from your kernel configuration? They both add substantial overhead to locking operations, and while invaluable to debugging, they can have quite a detrimental affect on performance (see also UPDATING: Why Is Current Slow?). 5.1-RELEASE has these features disabled by default, but 5.1-CURRENT has them enabled since there's active locking work going on. There's also a set of patches being floated to improve pcm locking in a variety of ways, but I'm not sure what the status of those patches is. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories From owner-freebsd-smp@FreeBSD.ORG Wed Nov 19 11:03:27 2003 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD7FF16A4CE for ; Wed, 19 Nov 2003 11:03:27 -0800 (PST) Received: from sccmmhc02.asp.att.net (sccmmhc02.asp.att.net [204.127.203.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7A4943F75 for ; Wed, 19 Nov 2003 11:03:25 -0800 (PST) (envelope-from pwillia@insightbb.com) Received: from weeone (12-222-105-121.client.insightbb.com[12.222.105.121]) by sccmmhc02.asp.att.net (sccmmhc02) with SMTP id <20031119190324mm200gkt9ue> (Authid: pwillia@insightbb.com); Wed, 19 Nov 2003 19:03:24 +0000 From: "Paul Williams" To: Date: Wed, 19 Nov 2003 14:02:30 -0500 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0008_01C3AEA5.C63031F0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-MS-TNEF-Correlator: Importance: Normal X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Crashes with sched-bind X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 19:03:27 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0008_01C3AEA5.C63031F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello,=20 =A0 I'm trying to use the sched_bind function in the ULE scheduler. It works fine when binding the thread to the processor that it is currently on, = but always crashes when sending it to a different processor. =A0 Here is info from a representative crash (thread is on cpu1, sending it = to cpu0).=A0 I'm grabbing sched_lock (mtx_lock_spin(&sched_lock)), calling sched_bind from the thread I want to bind, and giving it a CPU number = from 0-3 (quad CPU system). I'm running 5-Current from 14 Nov 03. =A0 Any other info necessary or useful to figure out what is going on? =A0 Thank you,=20 Paul =A0 Kernel trap 12 with interrupts disabled =A0 =A0 Fatal trap 12: page fault while in kernel mode Cupid =3D 1; apic id =3D 01 Fault virtual address =3D 0x4 Fault code =3D supervisor write, page not present Instruction pointer =3D 0x8:0xc0515590 Stack pointer =3D 0x10:0xebe2bc10 Frame pointer =3D 0x10:0xebe2bc1c Code segment =3D base 0x0, limit 0xfffff, type 0x1b =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D resume, IOPL =3D 0 current process =3D 576 (call) kernel: type 12 trap, code =3D 0 stopped at runq_add+0x40: orl %eax,0(%edi,%esi,4) db> trace runq_add(0,c64afea0,c06bf9ef,3a2,c06eeea0) at runq_add+0x40 sched_switch(c67e8640,9,c06bedf2,1ce,aa426f45) at sched_switch+0x132 mi_switch(c64afea0,0,c06bf9ef,5d9,ebe2bce0) at mi_switch+0x238 sched_bind(c67e8640,0,c6a6674a,39,ebe2bd40) at sched_bind+0x98 process_bind(c67e8640,ebe2bd10,c06d5f72,3ee,0) at process_bind+0xae syscall(2f,2f,2f,bfbfed48.bfbfed50) at syscall+0x2c0 Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall(210, FreeBSD ELF32, hello). Eip=3D0x28097d6d, esp =3D = 0xbfbecd0, ebp =3D 0xbfbfed20 --- =A0 ------=_NextPart_000_0008_01C3AEA5.C63031F0--