From owner-freebsd-hardware@FreeBSD.ORG Sun Aug 27 23:35:30 2006 Return-Path: X-Original-To: hardware@freebsd.org Delivered-To: freebsd-hardware@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EDA916A4DE for ; Sun, 27 Aug 2006 23:35:30 +0000 (UTC) (envelope-from j_guojun@lbl.gov) Received: from smtp111.sbc.mail.mud.yahoo.com (smtp111.sbc.mail.mud.yahoo.com [68.142.198.210]) by mx1.FreeBSD.org (Postfix) with SMTP id F0FC443D46 for ; Sun, 27 Aug 2006 23:35:29 +0000 (GMT) (envelope-from j_guojun@lbl.gov) Received: (qmail 91766 invoked from network); 27 Aug 2006 23:35:29 -0000 Received: from unknown (HELO ?192.168.2.8?) (jinmtb@sbcglobal.net@68.127.157.187 with plain) by smtp111.sbc.mail.mud.yahoo.com with SMTP; 27 Aug 2006 23:35:28 -0000 Message-ID: <44F22CB9.9040100@lbl.gov> Date: Sun, 27 Aug 2006 16:37:29 -0700 From: "Jin Guojun [VFFS]" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050108 X-Accept-Language: en, zh, zh-CN MIME-Version: 1.0 To: freebsd-performance@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: hardware@freebsd.org Subject: reduce interrupt rate for CD/DVD drive(r) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2006 23:35:30 -0000 I have difficulty to get CD/DVD write speed above 1.6MB/s (10x for CD, or 1.1x for DVD). The problem seems to be the interrupt rate is high (70-80% of CPU) for CD/DVD drive(r). I have tried three different CD/DVD drives under three different hardware platform with FreeBSD 4.11-R/6.1-R via growisofs, cdrecord, and burncd programs, and all combinations had the similar results. Non of them can go beyond the 1.6 MB/s writing speed. The reading speed is also far away from the manufactory specification due to high interrupt rate. Is any way to reduce the interrupt rate in order to increase the CD/DVD I/O performance? or is anything else to tune the performance? I doubt this is the hardware issue, but if this is possible, please point it out. Thanks, -Jin P.S.: Below is the information for systems have been tested -- Systems (FreeBSD4.11/6.1 i386): AMD XP 2100+ (1.667GHz) Intel P4 3.0GHz plus one of these CD/DVD drives: Micro Advantage CD-RW IDE-52-32 (52x read, 32x write on CD-RW media) Sony DRX-510UL CD/DVD-RW USB/1394 (2.4x DVD+RW, 4x high-speed DVD+RW) (FreeBSD-6.1 i386/amd64) AMD Turion 64 ML-34 (1.8GHz) + HP double layer 8x DVD+-R/RW Super Multi drive CD/DVD media: 48x CD-R, 52x CD-R (from manufactory), 12x high-speed CD-RW, 2x DVD-R, 4x DVD+RW