From owner-freebsd-questions@FreeBSD.ORG Tue Jun 21 17:37:42 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 16D6416A41C for ; Tue, 21 Jun 2005 17:37:42 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E79243D48 for ; Tue, 21 Jun 2005 17:37:41 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr1.xs4all.nl (8.13.3/8.13.3) with ESMTP id j5LHbY8W043304; Tue, 21 Jun 2005 19:37:39 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 8EF0763A2; Tue, 21 Jun 2005 19:37:34 +0200 (CEST) Date: Tue, 21 Jun 2005 19:37:34 +0200 From: Roland Smith To: Grant Message-ID: <20050621173734.GA40187@slackbox.xs4all.nl> Mail-Followup-To: Grant , freebsd-questions@freebsd.org References: <20050620213151.169df7bf.freebsdlists@thingysrealm.myftp.org> <20050620211027.GA32106@slackbox.xs4all.nl> <20050620232115.5a7a5fd0.freebsdlists@thingysrealm.myftp.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline In-Reply-To: <20050620232115.5a7a5fd0.freebsdlists@thingysrealm.myftp.org> User-Agent: Mutt/1.4.2.1i X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Sound Jitter. 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: Tue, 21 Jun 2005 17:37:42 -0000 --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--