Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Aug 2005 04:38:08 +0800
From:      Ariff Abdullah <skywizard@MyBSD.org.my>
To:        Mark Kane <mark@mkproductions.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Performance Issues with AMD64 3000+, 1.5GB RAM, FreeBSD 5.4-RELEASE
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 26 Aug 2005 14:17:05 -0500
Mark Kane <mark@mkproductions.org> 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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050827043808.03cbe4dd.skywizard>