From owner-freebsd-stable@FreeBSD.ORG Sun May 18 18:28:30 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 983A21065677 for ; Sun, 18 May 2008 18:28:30 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from outgoing01.lava.net (cake.lava.net [IPv6:2001:1888:0:1:230:48ff:fe5b:3b50]) by mx1.freebsd.org (Postfix) with ESMTP id 552A58FC1C for ; Sun, 18 May 2008 18:28:30 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from malasada.lava.net (malasada.lava.net [64.65.64.17]) by outgoing01.lava.net (Postfix) with ESMTP id 89112D0131; Sun, 18 May 2008 08:28:29 -1000 (HST) Received: by malasada.lava.net (Postfix, from userid 102) id AA63B153882; Sun, 18 May 2008 08:28:28 -1000 (HST) Date: Sun, 18 May 2008 08:28:28 -1000 From: Clifton Royston To: Daniel Ponticello Message-ID: <20080518182827.GA18109@lava.net> Mail-Followup-To: Daniel Ponticello , freebsd-stable@freebsd.org References: <48303A1B.9000103@skytek.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48303A1B.9000103@skytek.it> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org Subject: Re: Disk access/MPT under ESX3.5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 18:28:30 -0000 On Sun, May 18, 2008 at 04:15:55PM +0200, Daniel Ponticello wrote: > Hello, > i'm running some tests with FreeBSD6.3 and FreeBSD7-Stable, using both > AMD64 and I386 arch > with both schedulers (ULE and 4BSD) on VmWare ESX3.5 server. > Everything runs almost fine, except for disk access. Performance is > quite OK (around 60mb/sec), > but when accessing disks, System (kernel) CPU load goes up to 70%. This > doesn't look > normal. The same behavior is present on all test configurations. ... > da0 at mpt0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-2 device > da0: 3.300MB/s transfers > da0: Command Queueing Enabled > da0: 34816MB (71303168 512 byte sectors: 255H 63S/T 4438C) > > Any suggestions? If you are accessing a software emulation of a SCSI disk, I would offhand expect the CPU load to go up substantially when you are reading or writing it at the maximum achievable bandwidth. You can't expect normal relative load results under an emulator, and while most application or kernel code runs natively, I/O under VMWare will zoom in and out of the emulator a lot. I'm afraid I can't give you a definitive answer as I have VMWare but haven't set up FreeBSD under it yet. -- Clifton -- Clifton Royston -- cliftonr@iandicomputing.com / cliftonr@lava.net President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services