From owner-freebsd-realtime@FreeBSD.ORG Mon Dec 1 02:04:43 2003 Return-Path: Delivered-To: freebsd-realtime@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99CE416A4CE for ; Mon, 1 Dec 2003 02:04:43 -0800 (PST) Received: from smtp.hispeed.ch (mxout.hispeed.ch [62.2.95.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 813E943FBD for ; Mon, 1 Dec 2003 02:04:41 -0800 (PST) (envelope-from hampi@rootshell.be) Received: from gicco.homeip.net (dclient80-218-79-182.hispeed.ch [80.218.79.182])hB1A4dvZ003945 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Mon, 1 Dec 2003 11:04:40 +0100 Received: from localhost.here (idefix@gicco.homeip.net [127.0.0.1]) by gicco.homeip.net (8.12.8p2/8.12.8) with ESMTP id hB1A4cZw000735 for ; Mon, 1 Dec 2003 11:04:39 +0100 (CET) (envelope-from hampi@rootshell.be) Received: (from idefix@localhost) by localhost.here (8.12.8p2/8.12.8/Submit) id hB1A4bAj000734 for freebsd-realtime@freebsd.org; Mon, 1 Dec 2003 11:04:37 +0100 (CET) X-Authentication-Warning: localhost.here: idefix set sender to hampi@rootshell.be using -f Date: Mon, 1 Dec 2003 11:04:37 +0100 From: Hanspeter Roth To: freebsd-realtime@freebsd.org Message-ID: <20031201100437.GA653@gicco.homeip.net> Mail-Followup-To: freebsd-realtime@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: cdda2wav/cdrecord at highest priority? X-BeenThere: freebsd-realtime@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-realtime@freebsd.org List-Id: Realtime extensions per POSIX 1003.4 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2003 10:04:43 -0000 Hello, cdda2wav and cdrecord from the cdrtools package are trying to run at highest priority -20. When reading or burning tracks a massive amount of data is transfered. Is it a good idea to run them at highest priority? Does it also make sense on a ATAPI drive with DMA enabled? Wouldn't a lesser priority, say -12 to -18, suffice? I have an ATAPI drive which has DMA enabled. When cdda2wav runs on this drive without the cdda2wav speed limitation the CPU has an excessive amount of IRQs. While cdda2wav is running the whole screen freezes. As the speed limitation is decreased (24) the amount of IRQs also decreases and the screen won't freeze. Also running cdda2wav at a lower priority (-4) inhibits the screen from freezing. Wouldn't it make sense to patch cdda2wav and cdrecord from the cdrtools port in order to run at a lesser priority? -Hanspeter