From owner-freebsd-emulation@FreeBSD.ORG Tue Feb 8 16:50:32 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 260BC1065672 for ; Tue, 8 Feb 2011 16:50:32 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id AAF118FC1B for ; Tue, 8 Feb 2011 16:50:31 +0000 (UTC) Received: by fxm16 with SMTP id 16so6583222fxm.13 for ; Tue, 08 Feb 2011 08:50:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=8fGvSVJnfWlWrUdR+ypjxm24CL2ry3Clf9+4se20TFQ=; b=TJ7HkKoRLuveh79zWhsW9EcBi63QpQsifx68A33Gka3+sQV8cEw7caNkAGfZRQKnyO hMMmw48W9b6x4PRGNgfb3AQ2O21FuvcksZOwq5wmVTyRf8KgzenYToiZNv2IVhJEquCm W0glzRaFeVdEtM6ZEUKx/3hm/426Dh2diUFPs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=RI9rWq/OiXfpx9UPVTQCK/tgzD8NxZ3uKTimvBQCKietebbekXjVUdgOrygqh8QVtU mb8N8YaShnm7UTHcPywEag2fBbnjz3xXN8ncIr/w6FPBJKAVJEsWvLy8kIvhcg1VbhFE 9WYYSdcE44oIIKSNjkGvnL9a0Ih4istxc+S5o= MIME-Version: 1.0 Received: by 10.223.85.204 with SMTP id p12mr1880207fal.146.1297183830466; Tue, 08 Feb 2011 08:50:30 -0800 (PST) Received: by 10.223.114.4 with HTTP; Tue, 8 Feb 2011 08:50:30 -0800 (PST) In-Reply-To: References: Date: Tue, 8 Feb 2011 10:50:30 -0600 Message-ID: From: Adam Vande More To: Daniel Braniss Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-emulation@freebsd.org Subject: Re: VirtualBox native iscsi initiator performance is bad X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2011 16:50:32 -0000 On Tue, Feb 8, 2011 at 3:11 AM, Daniel Braniss wrote: > > Using the native Vbox iscsi initiator for very simple tests I'm getting > > slightly less than 20 MB/s write speed and VM takes a long time to boot > > because of DMA LBA errors are being reported on the iscsi/sata disk. > > > > If I mount the iscsi on the host, I get close to 50 MB/s and then if I > map > > that to a Virtualbox raw disk, and stick in a VM I get around 42 MB/s > write > > speed. I haven't done any tuning on iscsi target so perhaps that could > > improve things, but I'm concerned about the huge drop off in performance > and > > reliability issues with the Vbox native version. Does anyone have > insight > > into this? > > > > virtualbox-ose-3.2.12 > > istgt-20110103 > > > > These are both recent 8-STABLE versions of Virtualbox. > > have you measured the tcp/ip performance of the virtual box? last time I > checked > it was not that good, remeber that iscsi is TCP based. > Yes, I have. I should have mentioned the VM I'm testing with is a 9-CURRENT with the virtio patch. However if I understand it correctly, the native vbox initiator isn't in the VM itself, it's at the hypervisor level so it should run at host speed right? -- Adam Vande More