From owner-freebsd-questions@FreeBSD.ORG Fri Mar 17 22:03:49 2006 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 01DE916A41F for ; Fri, 17 Mar 2006 22:03:49 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B476643D45; Fri, 17 Mar 2006 22:03:48 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from misaki64 (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with SMTP id k2HM3kSM085593; Fri, 17 Mar 2006 22:03:47 GMT (envelope-from ariff@FreeBSD.org) Date: Sat, 18 Mar 2006 06:03:31 +0800 From: Ariff Abdullah To: dick hoogendijk Message-Id: <20060318060331.6c7292ae.ariff@FreeBSD.org> In-Reply-To: <20060317222148.f387e46a.dick@nagual.st> References: <20060317222148.f387e46a.dick@nagual.st> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Sat__18_Mar_2006_06_03_31_+0800_3H3KKNB7LRvKmIGN" Cc: freebsd-questions@FreeBSD.org Subject: Re: soundcard optimize 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, 17 Mar 2006 22:03:49 -0000 --Signature=_Sat__18_Mar_2006_06_03_31_+0800_3H3KKNB7LRvKmIGN Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 17 Mar 2006 22:21:48 +0100 dick hoogendijk wrote: > Running FreeBSD-6.0 on an older AMD duron800 (512Mb). Sometimes the > sound stutters. It's an older soundcard (es137x / SB PCI 128) >=20 > I *know* the sound support is much better in FreeBSD-6.1 but I can't > update yet (production server). The idea of having sound and multimedia facilities on production server is quite disturbing :) >=20 > So I wonder, are there sysctl setttings that will improve the sound > support in fbsd-6.0 that I can set? > 1) Enable virtual channels # sysctl hw.snd.maxautovchans=3D10 # sysctl hw.snd.pcm0.vchans=3D1 2) Increase PCI Latency Timer, either through BIOS, or using pciconf(8). You can use this: http://people.freebsd.org/~ariff/utils/pcilattimer .. to avoid cryptic nature of pciconf(8) (it is just a wrapper to pciconf, by the way). 3) Use SCHED_ULE .. wait, that is production server ;) -- Ariff Abdullah FreeBSD --Signature=_Sat__18_Mar_2006_06_03_31_+0800_3H3KKNB7LRvKmIGN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEGzJBlr+deMUwTNoRAn+NAJwIlk8G7lWT/TmYG0u5V9tWqysb2ACgsDe3 uXzivOrJ6iOARqvPKrvywF8= =m+Fu -----END PGP SIGNATURE----- --Signature=_Sat__18_Mar_2006_06_03_31_+0800_3H3KKNB7LRvKmIGN--