Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2005 19:37:34 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Grant <freebsdlists@thingysrealm.myftp.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Sound Jitter.
Message-ID:  <20050621173734.GA40187@slackbox.xs4all.nl>
In-Reply-To: <20050620232115.5a7a5fd0.freebsdlists@thingysrealm.myftp.org>
References:  <20050620213151.169df7bf.freebsdlists@thingysrealm.myftp.org> <20050620211027.GA32106@slackbox.xs4all.nl> <20050620232115.5a7a5fd0.freebsdlists@thingysrealm.myftp.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jun 20, 2005 at 11:21:15PM +0100, Grant wrote:
> > Try enlarging the soundcards DMA buffer; Add the following line to
> > /boot/device.hints and reboot:
> >=20
> > hint.pcm.0.buffersize=3D"16384"

> I found the above line on google when i had a looke, i shoved it in but
> with another number 65536 i dont know if that made a difference, but i
> tried the exact line above with that number.
>=20
> The Jitter is still there, but instead of happening when firefox is
> scrolling its only when firefox is just about to finish loading
> something, which i suppose would cause a CPU spike or something ? also
> during playback firefox runs very very slow :/ i dontk now if this is
> related at all, but with the cpu and the ram it shouldnt run that bad,
> the window manager is fluxbox so thats keeping things to a minimum.

Some things you might try (might be totally off-base :):

- run the player at a higher priority (with nice(1)).
- have the scheduler make smaller slices; set the kern.sched.quantum
  sysctl to a smaller value.

I thought there was another sysctrl for the ratio of user process time
to system time, but I can't remember.

Roland
--=20
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt

--Qxx1br4bt0+wmkIi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCuFBeEnfvsMMhpyURAgNHAJ0SpNMgHW+pE0x7pmc4in93xEJhVgCgoA39
mOvM5bhc2HP6/XZPTMln0Us=
=oW6z
-----END PGP SIGNATURE-----

--Qxx1br4bt0+wmkIi--



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