From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 20 13:08:24 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 661ABF25 for ; Fri, 20 Sep 2013 13:08:24 +0000 (UTC) (envelope-from guy.helmer@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3439D268F for ; Fri, 20 Sep 2013 13:08:24 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id aq17so749137iec.13 for ; Fri, 20 Sep 2013 06:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=RS1oj63nxzdKG7YHLNpPREGgQiYYr50xBX/1rN5/fkA=; b=xCW3SXecsjCXDnxCwtpiVpA+5jK0QVRsFNdEFAE+gGEOfMCX5vwHdKkPxEbg+LtEQL ht4MjtuDX3HuG5+9SgrL1pA4E+Qu7bY41yuFqeMDSTN9O1gUEWw7z/iXfslNFgFFCNhh HiT1O2KrMsfgdWMzsInpyVYTFonUCd5gYhSXDd98dSuKoyDG4zqNGvbNIfpdQVT3bAcs 0jrtKbxcpbHbT+T/3RhH+Yfc/Fry8j5WhL43NwvmL0tULG8o+9EFHMRBh4ha0WDvU9jY jKjPmUYcqVtBvW3wVOpvX1coKoWZhdVASJTEyMZPeRwb+9fZu0164MR8oWgKer0Zikpu K69g== X-Received: by 10.43.152.78 with SMTP id kv14mr4311049icc.13.1379682488347; Fri, 20 Sep 2013 06:08:08 -0700 (PDT) Received: from u5m21307ghelmer.dyn.palisadesys.com ([192.119.231.58]) by mx.google.com with ESMTPSA id ir7sm2762763igb.8.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 20 Sep 2013 06:08:07 -0700 (PDT) From: Guy Helmer Content-Type: multipart/signed; boundary="Apple-Mail=_FD69772D-6FB2-42E6-9546-D04C06C947BF"; protocol="application/pgp-signature"; micalg=pgp-sha512 Message-Id: <207F05D4-9D33-41E8-9258-6C47F266D892@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: IO Performance under VMware on LSI RAID controller Date: Fri, 20 Sep 2013 08:08:07 -0500 References: To: freebsd-hackers@freebsd.org In-Reply-To: X-Mailer: Apple Mail (2.1510) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Sep 2013 13:08:24 -0000 --Apple-Mail=_FD69772D-6FB2-42E6-9546-D04C06C947BF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Sep 19, 2013, at 11:25 AM, Guy Helmer wrote: > Normally I build VMware ESXi servers with enterprise-class WD SATA = drives and I/O performance in FreeBSD VMs on the servers is fine. > Whenever I build a VMware ESXi server with a RAID controller, IO = performance is awful in FreeBSD VMs. I've previously seen this effect = with VMware ESXi 3ware 9690SA-8I and 9650 RAID controllers, and now I'm = seeing similar performance with a Dell 6/iR controller. >=20 > Any suggestions would be appreciated. >=20 > Guy (Replying to self due to hint received off-list) I seem to remember controllers mentioned previously by FreeBSD device = driver developers that don't deal well with large I/O requests. It turns = out that may be the case with VMware device drivers as well -- reducing = the VMware Disk.DiskMaxIOSize value from its huge default of 32676KB to = 32KB seems to have helped. Disk ops/sec in the FreeBSD VM are now = peaking over 400/sec. Guy --Apple-Mail=_FD69772D-6FB2-42E6-9546-D04C06C947BF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJSPEi3AAoJEJmJzK+PHOvEI+gH/0BgCPglx/F0vyLR3QrwpGy9 nVh1PNSXKL72Dl/ncXgmx/Bfc44QaQN7oo1MhOaps/XvRf7RuoyTIIuAij9/5AhP FuKDf6zM2Q9Z9l41ECS4Z1dngGkL5HnaLxkDw9IrzocvcVOsc87kNhDJSZ6jljTP tAtPppegcSU8jLfHRzGaTnCpR68zk34X9BAoXmsdJERf75ElDcW/vtR6+wryJCRO 7iU3dEUt+1X/0cjIbFbGZkZ+ocSlvG6upis6yfbT0iRIT1Cn7V2E3ugCnw70UXgj GfQdH4VevLnhIFQwdXkZmVJSB99vwvgBLWAj5A2kB3S3vCqMpr+dh1M3enr1hLA= =XQJ1 -----END PGP SIGNATURE----- --Apple-Mail=_FD69772D-6FB2-42E6-9546-D04C06C947BF--