From owner-freebsd-virtualization@FreeBSD.ORG Thu May 8 16:20:16 2014 Return-Path: Delivered-To: freebsd-virtualization@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 EDA75922 for ; Thu, 8 May 2014 16:20:15 +0000 (UTC) Received: from mail-oa0-x22f.google.com (mail-oa0-x22f.google.com [IPv6:2607:f8b0:4003:c02::22f]) (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 B7CCA33E for ; Thu, 8 May 2014 16:20:15 +0000 (UTC) Received: by mail-oa0-f47.google.com with SMTP id i7so3365952oag.6 for ; Thu, 08 May 2014 09:20:15 -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=pmkhf2x4mR4oPPz6yn7plfdRPyYWk2n7EoAyKJImYmo=; b=KQ5fIQY/QPWCrTpd6xrV3dRSEB9PxgAsMnftQsaIJYIEBu6zpb732d/SHPEN1u6yPu z0hk9huyDOcrWVSY4QA7vNAqpdUQWVwFm5aMQvBjD9t8cHOaXl8SFfUVWbpOycuQ7fP+ me1ZbTnKM/Z3J0vEln0Vt5DC8Cy+LYrPyC0m62/Z2+puE8rfVZB5/Y2RFSONkU3BCRlG AehO2iHGEOm89+jFT/NjkG/u/gtXRqrHtE0Db9w0mbtmofSDytwziOC4Nm+Asdm4kudJ dt02tqzkvyl71yAwucXUDg3QRP9BsTexkw/mGwm0sBHANoWRJBWL/qRoGq1ZBmTAXsd9 96TQ== MIME-Version: 1.0 X-Received: by 10.60.161.101 with SMTP id xr5mr5032397oeb.71.1399566015096; Thu, 08 May 2014 09:20:15 -0700 (PDT) Received: by 10.76.170.39 with HTTP; Thu, 8 May 2014 09:20:14 -0700 (PDT) In-Reply-To: <536BA96E.5090800@quip.cz> References: <536BA96E.5090800@quip.cz> Date: Thu, 8 May 2014 18:20:14 +0200 Message-ID: Subject: Re: Disk IO throttling for VM guests? From: Andreas Nilsson To: Miroslav Lachman <000.fbsd@quip.cz> Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2014 16:20:16 -0000 On Thu, May 8, 2014 at 5:57 PM, Miroslav Lachman <000.fbsd@quip.cz> wrote: > Is there any possibilities to limit disk IO for virtualization guest on > FreeBSD? > I would like to know, if it is possible to limit IOps for jails, or Bhyve > guest, or VirtualBox quests. There are ways to limit CPU or RAM for them, > but CPU and RAM are really huge these days. On the other hand, HDDs are > still very IO limited and if one guest runs disk IO hungy task, then all > other guest are affected / slow. > > I read about plugable GEOM scheduler few years ago (GEOM_SCHED), but it > seems that it is dead project and there is no module for it to allow some > scheduling according to PID, JID or something like this. > > So do we have anything like this for Jails or Bhyve? > http://wiki.qemu.org/Features/DiskIOLimits > http://wiki.smartos.org/display/DOC/Tuning+the+IO+Throttle > > Miroslav Lachman > Well, there is rctl. I haven't tried it yet though. Best regards Andreas