From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 13 18:11:07 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 874D916A41F for ; Mon, 13 Mar 2006 18:11:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6344843D58 for ; Mon, 13 Mar 2006 18:11:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2DIB6eR090773 for ; Mon, 13 Mar 2006 18:11:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2DIB6uV090772; Mon, 13 Mar 2006 18:11:06 GMT (envelope-from gnats) Resent-Date: Mon, 13 Mar 2006 18:11:06 GMT Resent-Message-Id: <200603131811.k2DIB6uV090772@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dieter Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C19EF16A420 for ; Mon, 13 Mar 2006 18:04:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DF9B43D48 for ; Mon, 13 Mar 2006 18:04:18 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k2DI4Ifx019145 for ; Mon, 13 Mar 2006 18:04:18 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k2DI4IxO019137; Mon, 13 Mar 2006 18:04:18 GMT (envelope-from nobody) Message-Id: <200603131804.k2DI4IxO019137@www.freebsd.org> Date: Mon, 13 Mar 2006 18:04:18 GMT From: Dieter To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: bin/94415: systat(1) reports incorrect data for CD/DVD drive X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Mar 2006 18:11:07 -0000 >Number: 94415 >Category: bin >Synopsis: systat(1) reports incorrect data for CD/DVD drive >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 13 18:11:05 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dieter >Release: 6.0 >Organization: >Environment: 6.0-RELEASE amd64 >Description: Kernel is GENERIC with addition of: device atapicam # needed to burn dvd AMD64 nforce4-ultra PATA CD/DVD drive acd0: DVDR at ata0-master UDMA66 cd0 at ata0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 66.000MB/s transfers cd0: cd present [2295104 x 2048 byte records] "systat -vmstat" reports MB/s for cd0 that is 2x the actual rate. >How-To-Repeat: This is with UFS/FFS on a DVD+RW, but I doubt the bug depends on that. Run "systat -vmstat" and generate some IO on the dvd drive. Example 1: cmp /foo/bigfile /dvd/bigfile systat will report that cd0 has twice the MB/s of the hard drive. Example 2: dd if=/dvd/bigfile of=/dev/null bs=1m systat will report twice the MB/s that dd does. >Fix: >Release-Note: >Audit-Trail: >Unformatted: