From owner-freebsd-multimedia Sun Feb 22 19:43:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA08368 for freebsd-multimedia-outgoing; Sun, 22 Feb 1998 19:43:17 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA08353; Sun, 22 Feb 1998 19:43:14 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id TAA09645; Sun, 22 Feb 1998 19:41:58 -0800 (PST) Message-Id: <199802230341.TAA09645@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Scott Michel cc: freebsd-multimedia@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: kernel scheduler issues In-reply-to: Your message of "Sun, 22 Feb 1998 19:29:11 PST." <199802230329.TAA00473@mordred.cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 22 Feb 1998 19:41:57 -0800 From: Mike Smith Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Has there been/Is there any discussion about changing the kernel > scheduler to support audio (generally multimedia) needs, where > you'd like to temporarily increase a process's priority close to > the end of a audio block playout to decrease the jumps/gaps? > > I know, I haven't done any coding for the kernel and I probably > should sound like I'm bitching about this, but I'm just a little > curious. You probably *should* sound like you're bitching? 8) A carefully-crafted audio system will probably try to use the features documented in rtprio(2) in order to guarantee CPU availability for time-critical activities. In the crudest case, if your issue is a simple audio player application, you can use rtprio(1) to execute the entire application at realtime priority. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message