From owner-freebsd-questions@FreeBSD.ORG Sat Aug 27 22:47:36 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 DD69516A41F for ; Sat, 27 Aug 2005 22:47:36 +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 4B83843D45 for ; Sat, 27 Aug 2005 22:47:36 +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 053BB6CC25; Sun, 28 Aug 2005 06:54:20 +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 40398-10; Sun, 28 Aug 2005 06:54:19 +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 161BC6CC23; Sun, 28 Aug 2005 06:54:18 +0800 (MYT) Date: Sun, 28 Aug 2005 06:47:35 +0800 From: Ariff Abdullah To: Mark Kane Message-Id: <20050828064735.7c3a5388.skywizard@MyBSD.org.my> In-Reply-To: <4310B308.1050202@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> <20050827043808.03cbe4dd.skywizard@MyBSD.org.my> <43109A36.1050209@mkproductions.org> <4310B308.1050202@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: Sat, 27 Aug 2005 22:47:37 -0000 On Sat, 27 Aug 2005 13:38:00 -0500 Mark Kane wrote: > Mark Kane wrote: > > Ariff Abdullah wrote: > > > >> 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_flushb > >uf_RELENG_5.diff > > >> > >http://staff.mybsd.org.my/skywizard/FreeBSD/sound/snd_RELENG_5_200 > >50825_035.diff > > > > > > > Well I added PREEMPTION to the kernel yesterday as well as the > > first patch by Jeff Robertson. Immediately upon kernelinstall and > > reboot I tried untarring Firefox and Thunderbird, as well as > > tarring them both back up. Not a single skip, stutter, or > > freezing of the mouse/display! > > > > I did more testing last night like listening to audio with > > downloads open and encoding video, and I didn't hear one skip at > > all. The only time I heard a little static was when I was burning > > a DVD and listening to audio at the same time, but I can > > understand that. > > > > Thanks to everyone who replied, this seems to be fixed for now. :) > > > > -Mark > > I do notice that when doing some things like using unrar to extract > a file or loading a video into video encoding software I do get > some of the same little crackles and static in the audio. I didn't > notice this static/crackling ever before applying that first patch. > I am still skip/stutter free though :). > > Might the second patch help the crackling/static? > > Perhaps. You should give it a try. There is another issue as well (such as PCI latency timer), but only after you applied all those suggested patches. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)