From owner-freebsd-emulation@FreeBSD.ORG  Thu Aug  7 20:53:34 2014
Return-Path: <owner-freebsd-emulation@FreeBSD.ORG>
Delivered-To: emulation@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 ESMTPS id C4CA9128
 for <emulation@freebsd.org>; Thu,  7 Aug 2014 20:53:34 +0000 (UTC)
Received: from mail-pa0-x229.google.com (mail-pa0-x229.google.com
 [IPv6:2607:f8b0:400e:c03::229])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 9D7FD25C0
 for <emulation@freebsd.org>; Thu,  7 Aug 2014 20:53:34 +0000 (UTC)
Received: by mail-pa0-f41.google.com with SMTP id rd3so6055935pab.0
 for <emulation@freebsd.org>; Thu, 07 Aug 2014 13:53:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=bZqeoDwENpOABJ/ppNKSLXm/fKJO/cmJR/ql0COEbvA=;
 b=ZS+pTQsfIENE2xp5oMVYZ5TtvwBdrBaKGMUUXElZD25ZanF9yhBF2M2oPF4oARYPFr
 nKciBBoRk2/SqTcMEk2GJirad10AIxnwQ13r/6qoOtQMcLPKBagk0YnyFlFJ8iXveW8L
 8mIYs5wQEcN18SsXNc8FbHo2w37v8pK0015vznyg3eg2Y7vJ2lIfn/PaOYQss+k1BdgG
 W1AU0sUvPbRe6sfRG6PUvWtX7J561ngoCH9OZSKvMREMc3oNIMfpaQapjac4UHMkZ6ge
 f6nmRrRIzdKpycuwmT2kQPk3h9Ydlqnxp5IVWF1s3HQn2Y0pEJslk2NILpq1vULlLN6R
 pmjg==
MIME-Version: 1.0
X-Received: by 10.68.135.42 with SMTP id pp10mr19794608pbb.58.1407444814227;
 Thu, 07 Aug 2014 13:53:34 -0700 (PDT)
Received: by 10.70.118.132 with HTTP; Thu, 7 Aug 2014 13:53:34 -0700 (PDT)
In-Reply-To: <53E3C33E.5030004@sentex.net>
References: <53E3C33E.5030004@sentex.net>
Date: Thu, 7 Aug 2014 15:53:34 -0500
Message-ID: <CA+tpaK2VzHWrDg1H0XFhEtFPpZ_Q77iCDOJDLBSBS_8YpWEN2Q@mail.gmail.com>
Subject: Re: Making disk IO place nicely in a guest (VirtualBox)
From: Adam Vande More <amvandemore@gmail.com>
To: Mike Tancsa <mike@sentex.net>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.18
Cc: "freebsd-emulation@freebsd.org" <emulation@freebsd.org>
X-BeenThere: freebsd-emulation@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: Development of Emulators of other operating systems
 <freebsd-emulation.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-emulation>, 
 <mailto:freebsd-emulation-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-emulation/>
List-Post: <mailto:freebsd-emulation@freebsd.org>
List-Help: <mailto:freebsd-emulation-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>, 
 <mailto:freebsd-emulation-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Aug 2014 20:53:34 -0000

On Thu, Aug 7, 2014 at 1:19 PM, Mike Tancsa <mike@sentex.net> wrote:

> Hi,
>         I am running VirtualBox on RELENG_10 as the hypervisor with a
> RELENG10 guest.  I noticed, that when a do a lot of disk IO in the guest
> where the hypervisor cannot keep up, this start to go "bad" in the guest.
>
> If I use the non default AHCI driver, the OS at least can kind of recover.
>  Using the default IDE drivers (non SATA , things panic quickly.)
>
> Is there a way to make the guest OS "slow down" on how fast it can write
> out things to avoid it going into an error state as below ?
>
>
Is your swap device ZFS backed like a ZVOL or something?



-- 
Adam