[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1167775624.6670.89.camel@mindpipe>
Date: Tue, 02 Jan 2007 17:07:04 -0500
From: Lee Revell <rlrevell@...-job.com>
To: Shawn Starr <sstarr@...tform.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [2.6.19] Scheduler starvation of audio?
On Fri, 2006-12-29 at 11:25 -0500, Shawn Starr wrote:
> Hello,
>
> If any of you have used a Commodore 64 emulator in Linux (such as vice) noticed when using audio there is severe starvation while other activities of the system are going on. i.e. moving a window in X or starting another application causing audio to chop (this goes away if you speed up the emulation to 200% then drop it back down to 100% The audio will resume chopping once you perform more activity on the desktop). Note, even increasing the audio buffer of the emulation app to its maximum does not help. Of note, the machine I ran this emulator on had a low load.
>
> There are times when I hit starvation and I wonder if there's any interesting scheduler patches in -mm that might address this?
>
Must be an application bug, otherwise more apps would be affected.
The best solution is to use a separate high priority thread for anything
with a real time constraint, like audio playback or capture.
Lee
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists