Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2006 06:03:31 +0800
From:      Ariff Abdullah <ariff@FreeBSD.org>
To:        dick hoogendijk <dick@nagual.st>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: soundcard optimize
Message-ID:  <20060318060331.6c7292ae.ariff@FreeBSD.org>
In-Reply-To: <20060317222148.f387e46a.dick@nagual.st>
References:  <20060317222148.f387e46a.dick@nagual.st>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <dick@nagual.st> 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--



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