[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] How to use IO throttling and IO burst
From: |
Fam Zheng |
Subject: |
Re: [Qemu-discuss] How to use IO throttling and IO burst |
Date: |
Thu, 3 Apr 2014 17:20:44 +0800 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, 04/03 11:06, Alexandre LAURENT wrote:
> Hi,
>
> I am using QEMU 1.7.1 and I would like to know how to use the 'drive'
> options :
> - bps_wr
> - bps_wr_max
> - bps_rd
> - bps_rd_max
>
> Can you explain me how to limit IO access between two VMs, where one would
> be limited and the second one have full IO access. My point is to give full
> IO access to the limited one when the second is doing nothing.
>
QEMU's block IO throttling cannot do this because one QEMU process doesn't know
about other QEMU instances. However if you use local block devices or files as
drive backend, it's possible to configure Linux cgroups on two backends with
different weights:
https://www.kernel.org/doc/Documentation/cgroups/blkio-controller.txt
Fam