From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikola Ciprich Subject: Re: limiting guest block i/o for qos Date: Thu, 25 Nov 2010 09:33:18 +0100 Message-ID: <20101125083318.GA2398@nik-comp.lan> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, nikola.ciprich@linuxbox.cz To: T Johnson Return-path: Received: from gwu.lbox.cz ([62.245.111.132]:56704 "EHLO gwu.lbox.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751539Ab0KYIdW (ORCPT ); Thu, 25 Nov 2010 03:33:22 -0500 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Hello Thomas, I t hink blkio-cgroup really can't help You here, but since NFS is network protocol, why not just consider some kind of network shaping? n. On Thu, Nov 25, 2010 at 12:58:22AM -0500, T Johnson wrote: > Hello, > > Does anyone know of any work in progress or any tricks to limit a > guest's i/o requests to a specific throttled rate? I have guests that > mount their filesystems via virtio, which are images served on an NFS > server. Some of these guests will flood the server with requests and > can then choke out the i/o requests of neighboring guests. I'd rather > be able to specify that certain guests can only get so many read or > write iops. i/o bandwidth rates would be nice, but iops tend to be the > killer since an nfs server only has so many. > > I've seen something recently on a block i/o throttling via cgroups, > but from what I've been able to grok... this support is being built > only with local devices in mind? I'm afraid that wouldn't work for my > NFS server setup and image files? > > Is there something that can be done from with virtio? Or another trick? > > Thanks, > Thomas > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- ------------------------------------- Ing. Nikola CIPRICH LinuxBox.cz, s.r.o. 28. rijna 168, 709 01 Ostrava tel.: +420 596 603 142 fax: +420 596 621 273 mobil: +420 777 093 799 www.linuxbox.cz mobil servis: +420 737 238 656 email servis: servis@linuxbox.cz -------------------------------------