From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 29 14:07:46 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7EF316A4CE for ; Sat, 29 Jan 2005 14:07:45 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DF1843D1D for ; Sat, 29 Jan 2005 14:07:45 +0000 (GMT) (envelope-from jcapote@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so514894wra for ; Sat, 29 Jan 2005 06:07:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=uZc/h2HVCnKxTnIMJuWxnCbXd8rm+f5aWXJ2ORMIdL1COj6GQj/3TgIbhWdD4bITJOiWwOMDW6YQO664EVxQFNLstf7vwmJPuN7VuCuoeutME7ucjayI6k8s4cSoDET/ISGuZAlHgEF8LePsC0+rgF6/+pfVDUcBERDMNv9ShRI= Received: by 10.54.22.74 with SMTP id 74mr303695wrv; Sat, 29 Jan 2005 06:07:42 -0800 (PST) Received: from ?10.0.0.110? ([68.223.153.139]) by smtp.gmail.com with ESMTP id d7sm122226wra.2005.01.29.06.07.41; Sat, 29 Jan 2005 06:07:42 -0800 (PST) Message-ID: <41FAF08E.1040508@gmail.com> Date: Fri, 28 Jan 2005 21:10:22 -0500 From: Julio Capote User-Agent: Mozilla Thunderbird 1.0 (X11/20050120) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Wilko Bulte References: <41FB4AA5.7090602@no-wackos.com> <20050129125608.GA32169@freebie.xs4all.nl> In-Reply-To: <20050129125608.GA32169@freebie.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org cc: Bram Van Steenlandt Subject: Re: iTunes like features ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jan 2005 14:07:46 -0000 If you have a reasonably fast machine, this shouldnt be a problem; the 5.x branch can preempt that much thus far. Hence, youll never hear my music stop (1.6ghz athlon-xp, 512ram), even under the most extreme conditions (compiling, multiple programs opened on several workspaces), only time I hear it skip, is when im extracting a large bz2 archive, but I believe thats mostly due to the synchronous nature of the file system...just my 2 cents. - Julio Capote Wilko Bulte wrote: >On Sat, Jan 29, 2005 at 09:34:45AM +0100, Bram Van Steenlandt wrote.. > > >>Hi >> >>I am working on something that requires the pc to play mp3 continiously >>The pc does however has other tasks than this an once in a while the mp3 >>stops (when you start mozilla for example) >> >>with apple and iTunes he tune keeps playing no mather what you do (it is >>compiled into the kernel or something). >> >>Can I do this with freebsd, can I say something like: >>This program got to have 10% of the available cpu and disk time or >>something like it ? >> >> > >Have you looked at stuff like this in the kernel config (example >taken from 4.x btw): > >##################################################################### ># POSIX P1003.1B > ># Real time extensions added in the 1993 Posix ># P1003_1B: Infrastructure ># _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING ># _KPOSIX_VERSION: Version kernel is built for > >options P1003_1B >options _KPOSIX_PRIORITY_SCHEDULING >options _KPOSIX_VERSION=199309L > > > > >