From owner-freebsd-bugs@FreeBSD.ORG Tue Jan 5 16:00:10 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C7831065694 for ; Tue, 5 Jan 2010 16:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B907C8FC1F for ; Tue, 5 Jan 2010 16:00:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o05G099P025769 for ; Tue, 5 Jan 2010 16:00:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o05G09hU025768; Tue, 5 Jan 2010 16:00:09 GMT (envelope-from gnats) Resent-Date: Tue, 5 Jan 2010 16:00:09 GMT Resent-Message-Id: <201001051600.o05G09hU025768@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, Baginski Darren Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 429BE106566C for ; Tue, 5 Jan 2010 15:57:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 17DBF8FC1C for ; Tue, 5 Jan 2010 15:57:15 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o05FvEoc080965 for ; Tue, 5 Jan 2010 15:57:14 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o05FvEi2080964; Tue, 5 Jan 2010 15:57:14 GMT (envelope-from nobody) Message-Id: <201001051557.o05FvEi2080964@www.freebsd.org> Date: Tue, 5 Jan 2010 15:57:14 GMT From: Baginski Darren To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/142351: LSILogic driver performance - mpt 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: Tue, 05 Jan 2010 16:00:10 -0000 >Number: 142351 >Category: kern >Synopsis: LSILogic driver performance - mpt >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 05 16:00:09 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Baginski Darren >Release: 8.0-RELEASE >Organization: >Environment: FreeBSD freepc.local 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Hi! I have a Dell 1435 with folowing LSI config: mpt0:vol0(mpt0:0:0): Settings ( Hot-Plug-Spares High-Priority-ReSync ) mpt0:vol0(mpt0:0:0): Using Spare Pool: 0 mpt0:vol0(mpt0:0:0): 2 Members: (mpt0:1:32:0): Primary Online (mpt0:1:1:0): Secondary Online mpt0:vol0(mpt0:0:0): RAID-1 - Optimal mpt0:vol0(mpt0:0:0): Status ( Enabled ) (mpt0:vol0:1): Physical (mpt0:0:1:0), Pass-thru (mpt0:1:0:0) (mpt0:vol0:1): Online (mpt0:vol0:0): Physical (mpt0:0:32:0), Pass-thru (mpt0:1:1:0) (mpt0:vol0:0): Online da0 at mpt0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device da0: 300.000MB/s transfers da0: Command Queueing enabled da0: 237464MB (486326272 512 byte sectors: 255H 63S/T 30272C) Here is simple test [root@FreeBSD tmp]# dd if=/dev/zero of=1g bs=1M count=1000 conv=sync 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 196.386202 secs (5339357 bytes/sec) [root@FreeBSD tmp]# time $(dd if=/dev/zero of=1g bs=1M count=1000 ; sync) 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 198.980241 secs (5269749 bytes/sec) real 3m24.876s user 0m0.002s sys 0m1.869s So I've got _only_ 5Megabytes per second. Now is the same server under RHEL5 [root@RHEL5 tmp]# dd if=/dev/zero of=1g bs=1M count=1000 conv=sync 1000+0 records in 1000+0 records out 1048576000 bytes (1.0 GB) copied, 5.34952 seconds, 196 MB/s [root@RHEL5 tmp]# time $(dd if=/dev/zero of=1g bs=1M count=1000 ; sync) 1000+0 records in 1000+0 records out 1048576000 bytes (1.0 GB) copied, 4.70584 seconds, 223 MB/s real 0m42.567s user 0m0.007s sys 0m6.038s Both systems default install, no tweaking or custom kernels. FreeBSD 8.0-release is on UFS, RHEL is on ext3. I've tried same test on zfs/ufs FreeBSD 7.2 and 8.0 and got always about 6megabytes per sec. >How-To-Repeat: Perform tests on hardware described. >Fix: N/A >Release-Note: >Audit-Trail: >Unformatted: