public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Revell <rlrevell@joe-job.com>
To: Shawn Starr <sstarr@platform.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.6.19] Scheduler starvation of audio?
Date: Tue, 02 Jan 2007 17:07:04 -0500	[thread overview]
Message-ID: <1167775624.6670.89.camel@mindpipe> (raw)
In-Reply-To: <E2AC825D4FC7764DA86D9C8ECA27A2DE065B14@catoexm05.noam.corp.platform.com>

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


      reply	other threads:[~2007-01-02 22:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-29 16:25 [2.6.19] Scheduler starvation of audio? Shawn Starr
2007-01-02 22:07 ` Lee Revell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1167775624.6670.89.camel@mindpipe \
    --to=rlrevell@joe-job.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sstarr@platform.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox