From owner-freebsd-questions@FreeBSD.ORG Fri Aug 26 20:38:11 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D279016A41F for ; Fri, 26 Aug 2005 20:38:11 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D0FE43D48 for ; Fri, 26 Aug 2005 20:38:11 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 9C8E76CC30; Sat, 27 Aug 2005 04:44:52 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (tomoyo.MyBSD.org.my [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28166-08; Sat, 27 Aug 2005 04:44:51 +0800 (MYT) Received: from kasumi.MyBSD.org.my (unknown [219.95.39.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id BEA846CC2A; Sat, 27 Aug 2005 04:44:50 +0800 (MYT) Date: Sat, 27 Aug 2005 04:38:08 +0800 From: Ariff Abdullah To: Mark Kane Message-Id: <20050827043808.03cbe4dd.skywizard@MyBSD.org.my> In-Reply-To: <430F6AB1.2040306@mkproductions.org> References: <430D3823.9070301@mkproductions.org> <20050825160909.GB10134@slackbox.xs4all.nl> <430DF015.5000203@mkproductions.org> <20050825173758.GA10790@slackbox.xs4all.nl> <430E0461.3030101@mkproductions.org> <20050826174002.GA16044@xor.obsecurity.org> <430F5C0B.3@mkproductions.org> <20050827030750.6243acd9.skywizard@MyBSD.org.my> <430F6AB1.2040306@mkproductions.org> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-questions@freebsd.org Subject: Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2005 20:38:11 -0000 On Fri, 26 Aug 2005 14:17:05 -0500 Mark Kane wrote: > Ariff Abdullah wrote: > > I've been following this thread, yet I still don't know what is > > your soundcard. To tell you the truth, much of these issues relies > > heavily on your spesific sound driver, whether it has been freed > > from Giant or not. At least: > > Well the thing that makes me think it's not entirely related to > sound is because when the sound problem happens, other things > happen as well. As I have said, the mouse locks up and freezes at > the precise time that the audio starts stuttering. If I was playing > video, it would freeze/stutter at the same time too. > > > 1) What is your soundcard? > > Sound Blaster Augidy 2 Platinum with the emu10k1 driver compiled > into the kernel. > > > 2) What type of scheduler you use? (I can see that is SCHED_4BSD) > > Right, SCHED_4BSD in the GENERIC kernel. > > > 3) Is PREEMPTION enabled? > > No, not that I know of. I don't see it in GENERIC, and I haven't > added it. > These are my suggestions: 1) enable 'options PREEMPTION'. This is a MUST. 2) use SCHED_ULE instead of SCHED_4BSD. ULE is pretty stable on me, but I can't guarantee (especially combining with PREEMPTION). It doesn't hurt to give it a try. 3) Apply these patches: http://staff.mybsd.org.my/skywizard/FreeBSD/sound/jroberson_flushbuf_RELENG_5.diff http://staff.mybsd.org.my/skywizard/FreeBSD/sound/snd_RELENG_5_20050825_035.diff -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)