From owner-freebsd-scsi@FreeBSD.ORG Fri Feb 13 13:01:01 2009 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA0901065763 for ; Fri, 13 Feb 2009 13:01:01 +0000 (UTC) (envelope-from cowens@greatbaysoftware.com) Received: from portcityweb.com (bayringfw.portcityweb.com [64.140.243.92]) by mx1.freebsd.org (Postfix) with ESMTP id 6369C8FC43 for ; Fri, 13 Feb 2009 13:01:00 +0000 (UTC) (envelope-from cowens@greatbaysoftware.com) Received: from [127.0.0.1] ([70.88.211.149]) by portcityweb.com with MailEnable ESMTP; Fri, 13 Feb 2009 08:00:57 -0500 X-WatchGuard-Mail-Exception: Allow Message-ID: <49956F66.6080003@greatbaysoftware.com> Date: Fri, 13 Feb 2009 08:02:30 -0500 From: Charles Owens MIME-Version: 1.0 To: Scott Long References: <4991BD19.1000409@sebster.com> <4991C6D5.4050400@samsco.org> <4994F940.7070301@greatbaysoftware.com> In-Reply-To: <4994F940.7070301@greatbaysoftware.com> Content-Type: multipart/mixed; boundary="------------020406080405090000010700" X-WatchGuard-AntiVirus: part scanned. clean action=allow X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-scsi@freebsd.org Subject: Re: Disk performance on ESXi with FreeBSD 7.1 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2009 13:01:04 -0000 This is a multi-part message in MIME format. --------------020406080405090000010700 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-WatchGuard-AntiVirus: part scanned. clean action=allow Charles Owens wrote: > Scott Long wrote: > >> Sebastiaan van Erk wrote: >> >>> Hi, >>> >>> I'm running FreeBSD on ESXi but I'm having serious issues with disk >>> performance, and I'm wondering if it might have something to do with >>> the scsi driver (or the virtual hardware not returning proper values >>> for its capabilities or something).. >>> >>> ... >>> >> Run the following command: >> >> sudo camcontrol tags da0 >> >> If it returns something like this: >> >> (pass0:mpt0:0:0:0): device openings: 1 >> >> then run the following command: >> >> sudo camcontrol tags da0 -N 64 >> >> If this works in improving performance, it can be put into a startup >> script. I have no idea why the controller is misbehaving with this yet, >> but I'm working on it. >> >> Scott >> >> > I'm also seeing poor performance (much less than linux), running within > ESX Server... I'm using FreeBSD i386, single CPU, 1 GB RAM. > > I've run the "camcontrol tags da0 -N 64" command and have seen > significant improvement (dbench numbers boosted by factor of 5 or so). > Not sure it's quite enough, compared to Linux... but a big help already > (thanks!) Hmmm... my comparison with Linux here was reckless, sorry about that... please consider it withdrawn. What I definitely was seeing was a performance drop between FreeBSD 7.0 and 7.1 -- the CAM "tags" regression that you announced this morning. Thanks for sorting this out! **Charles Owens** *Great Bay Software***** --------------020406080405090000010700--