From owner-freebsd-performance@FreeBSD.ORG Thu Feb 12 15:18:09 2009 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63186106564A for ; Thu, 12 Feb 2009 15:18:09 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id E19048FC19 for ; Thu, 12 Feb 2009 15:18:08 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1LXd5b-0003SK-MG>; Thu, 12 Feb 2009 16:02:55 +0100 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1LXd5b-00054z-Jf>; Thu, 12 Feb 2009 16:02:55 +0100 Message-ID: <499439A8.1080208@zedat.fu-berlin.de> Date: Thu, 12 Feb 2009 15:00:56 +0000 From: "O. Hartmann" Organization: Freie =?ISO-8859-15?Q?Universit=E4t_Berlin?= User-Agent: Thunderbird 2.0.0.19 (X11/20090209) MIME-Version: 1.0 To: Bradley Radjoo References: <89D2AE9E4EAAB34FABDBF2913867C62F1CB4B133@ZABRYSVISEX04.af.didata.local> <49940E8E.1080107@thekeelecentre.com> <89D2AE9E4EAAB34FABDBF2913867C62F1CBB66F5@ZABRYSVISEX04.af.didata.local> In-Reply-To: <89D2AE9E4EAAB34FABDBF2913867C62F1CBB66F5@ZABRYSVISEX04.af.didata.local> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Cc: freebsd-performance@freebsd.org Subject: Re: Extremely slow write speeds to disk : FreeBSD 7.1 and Dell SAS 6/iR Adapter X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 15:18:09 -0000 Bradley Radjoo wrote: > Thanks very much Richard, > (They are 2 X 73Gig Ultra 320 scsi SAS drives) > > BUT seems that even with the UP kernel, I still get issues.. > This is what I see in dmesg : > > mpt0: port 0xec00-0xecff mem > 0xdfcec000-0xdfceffff,0xdfcf0000-0xdfcfffff irq 15 at device 0.0 on pci5 > mpt0: [ITHREAD] > mpt0: MPI Version=1.5.18.0 > mpt0: mpt_wait_req(6) timed out > mpt0: port 0 enable timed out > mpt0: failed to enable port 0 > mpt0: unable to initialize IOC > da0 at mpt0 bus 0 target 0 lun 0 > ses0 at mpt0 bus 0 target 8 lun 0 > > Please can you assist and advise > > -----Original Message----- > From: Richard Tector [mailto:richardtector@thekeelecentre.com] > Sent: 12 February 2009 01:57 PM > To: Bradley Radjoo > Cc: freebsd-performance@freebsd.org > Subject: Re: Extremely slow write speeds to disk : FreeBSD 7.1 and Dell > SAS 6/iR Adapter > > Bradley Radjoo wrote: >> Greetings, >> >> Please can you assist. >> >> I have attempted most of the popular BSD Variants such as NetBSD, Open >> BSD, FreeBSD... >> The only distrubution that seems to work on the is Dell SAS 6/iR > Adapter >> is FreeBSD 7.1 >> Firmware version & date : 9/29/2008 00.25.47.00 >> >> But the issue is that writing to disk is extremely slow...i.e. 14Mb > per >> second.... >> >> If I install any other linux distribution, like CentOS, write speek is >> the way it should be..it averages around 190Mb+ per second >> >> I was hoping if it were at all possible for you to assist me in with a >> later RAID Controller Driver for the SAS 6/iR Adapter > > Try: > hw.mpt.enable_sata_wc=1 > in /boot/loader.conf and reboot. > > Assuming you are using SATA drives, the write cache is disabled by > default. This reenables it. The mpt manpage holds more information. > > Regards, > > Richard > Please note: This email and its content are subject to the disclaimer as displayed at the following link http://www.is.co.za/legal/E-mail+Confidentiality+Notice+and+Disclaimer.htm. Should you not have Web access, send a mail to disclaimers@is.co.za and a copy will be emailed to you. > _______________________________________________ > freebsd-performance@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org" We're using a Dell 1950-III Poweredge server with two XEON 4-Core-CPUs and at the momen one 750GB SATA drive. This box suffers from incredible slow drive access speeds - approximately a half of what I see on other boxes around. When I read this posting I was quite happy having found a possible solution, but I can't find the above mentioned OID, FreeBSD 8.0-CURRENT/amd64 (running on this box) shows only "hw.ata.wc: 1" as a relevant OID. No hw.mpt.XXX OIDs anywere. This is the part from DMESG reflecting MPT: mpt0: port 0xec00-0xecff mem 0xfc4fc000-0xfc4fffff,0xfc4e0000-0xfc4effff irq 16 at device 0.0 on pci1 mpt0: [ITHREAD] mpt0: MPI Version=1.5.14.0 mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 ) mpt0: 0 Active Volumes (2 Max) mpt0: 0 Hidden Drive Members (14 Max) I can not tell you, at this very moment, what configuration has been done in the BIOS. The SATA HD is recognized as da0: 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: 715404MB (1465149168 512 byte sectors: 255H 63S/T 91201C) Maybe someon can followup on this if there is some kind of issue ... Thanks in advance, Oliver