From alsa-devel-owner@alsa.jcu.cz  Mon Oct  5 15:26:22 1998
Received: from smtp3.xs4all.nl (smtp3.xs4all.nl [194.109.6.53])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id PAA28898
	for <alsa-devel@jcu.cz>; Mon, 5 Oct 1998 15:24:52 +0200
Received: from orbital (arloafoe@orbital.xs4all.nl [194.109.37.98])
	by smtp3.xs4all.nl (8.8.8/8.8.8) with SMTP id PAA22304
	for <alsa-devel@jcu.cz>; Mon, 5 Oct 1998 15:24:51 +0200 (CEST)
Date: Mon, 5 Oct 1998 15:26:18 +0200 (CEST)
From: Andy Lo A Foe <arloafoe@cs.vu.nl>
To: alsa-devel@jcu.cz
Subject: Re: PCM mixing draft v0.2
In-Reply-To: <3618B20E.8AD559F5@ife.ee.ethz.ch>
Message-ID: <Pine.LNX.3.96.981005152236.26573B-100000@orbital>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

On Mon, 5 Oct 1998, Thomas Sailer wrote:

> I don't quite see what problems ppl have with the Linux scheduler.
> The basic sched tick is indeed 100Hz on i386, but that doesn't mean
> it can only reschedule at 10ms boundaries. If your driver wants it,
> Linux can also reschedule at the end of a sound driver interrupt for
> example (see the need_resched stuff).

The scheduler is basically ok, but it might need to get tuned a little to
accomodate high priority processes better. Sometimes, even though I have
only one (AFAIK) thread running at the highest priority I sometimes get
problems when simply opening a new Netscape window (everything freezes a
bit). Now this could be the X server or the scheduler, but AFAIK the X
server doesn't with "real-time" priority (i.e. no SCHED_RR or
SCHED_FIFO)... This is not good, when the process/thread in question does
audio mixing with small fragment sizes :)

Andy
--
Andy Lo A Foe, arloafoe@cs.vu.nl |  Linux v2.1.124  | PII 266 
http://www.cs.vu.nl/~arloafoe    | GSM: 0622-440695 | Bebox 133
http://orbital.xs4all.nl/andy    |   ICQ: 7472949   | IRC: Adnans


