From owner-freebsd-questions@FreeBSD.ORG Fri Aug 26 19:08:10 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 6CD2E16A41F for ; Fri, 26 Aug 2005 19:08:10 +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 7185043D48 for ; Fri, 26 Aug 2005 19:08:09 +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 8F4C06CC30; Sat, 27 Aug 2005 03:14:47 +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-03; Sat, 27 Aug 2005 03:14:42 +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 BC46E6CC2F; Sat, 27 Aug 2005 03:14:36 +0800 (MYT) Date: Sat, 27 Aug 2005 03:07:50 +0800 From: Ariff Abdullah To: Mark Kane Message-Id: <20050827030750.6243acd9.skywizard@MyBSD.org.my> In-Reply-To: <430F5C0B.3@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> 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 19:08:10 -0000 On Fri, 26 Aug 2005 13:14:35 -0500 Mark Kane wrote: > Kris Kennaway wrote: > > On Thu, Aug 25, 2005 at 12:48:17PM -0500, Mark Kane wrote: > > > >>Roland Smith wrote: > >> > >>>Another thing to look at might be the scheduler. I'm using > >SCHED_4BSD. > > >>Hmm, I'm using just a GENERIC kernel with support added in for my > >sound >driver and atapicam for K3b. SCHED_4BSD looks default in > >GENERIC: > > >>options SCHED_4BSD # 4BSD scheduler > >> > >>I've been trying this morning with no real disk I/O and just XMMS > >open. >It's much better than if I did have a download/upload going > >using disk >I/O or trying to read from a file on the drive, but > >still nowhere near >perfect. Every minute I'll still hear a little > >skip or stutter in the >audio, and still notice the mouse locking > >up a bit at the exact moment >that happens. > > > > > > Did you not read my mail? I explained this and the solution. > > > > Kris > > Yes, I read your email and responded to it yesterday. I said: > > ------------------------- > I found the sound skipping thread by Jeff. Looks like a great > explanation, however my problem even occurs even with light disk I/O > > such as reading an mp3/Ogg/video file off any of the drives. I did > some more testing with actual files off the drives last night > instead of streams, and it seems worse with actual files. > > I'm not sure if the proposed patch will fix it or not, and trying > 6.0-BETA2 for my other hardware/hard drive problem just introduced > new problems (panics, network stuff not recognized, etc). I do have > a spare hard drive where I could put test anything though if you > think trying -CURRENT or another BETA would be worthwhile. > ------------------------- > > So, in other words, even when there is NOT heavy disk I/O it still > has problems, although they do get worse with more disk I/O. I > don't know if you saw my previous replies, but trying 5.4-STABLE on > my Athlon XP 2000+ instead of 5.4-RELEASE seemed to make it much > better on that machine (however still not perfect). > > I was wondering if the code that fixed it in 6 was merged to > 5-STABLE or if the patch was already committed to 5-STABLE? I > haven't tried -STABLE on my amd64 yet though. > > "freebsd-questions-unsubscribe@freebsd.org" 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: 1) What is your soundcard? 2) What type of scheduler you use? (I can see that is SCHED_4BSD) 3) Is PREEMPTION enabled? -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)