[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Restrict disk I/O per domain


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Luke S. Crawford" <lsc@xxxxxxxxx>
  • Date: Sun, 22 Jan 2012 23:34:16 -0500
  • Delivery-date: Mon, 23 Jan 2012 04:36:17 +0000
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Sat, Jan 21, 2012 at 06:04:02PM -0000, Inception Hosting wrote:
> Is there any way to restrict disk use per domain with XEN PV?

Here is the bit from my book about using Ionice:

http://wiki.prgmr.com/mediawiki/index.php/Chapter_7:_Hosting_Untrusted_Users_Under_Xen:_Lessons_from_the_Trenches#Regulating_Disk_Access_with_ionice

more recent but poorly written notes here:
http://wiki.prgmr.com/mediawiki/index.php/Mediate_disk_io_with_ionice

The problem is that all these changes go away upon reboot of the guest;  
So far, I only do this when there is a problem, and I watch it, so that
aspect is good.  I can tell the user to deal with it and reboot
when they are done to remove the limit.

One of these days I'll write a script to do this from the xm config 
file or otherwise have the limiting happen on boot, but I haven't gotten
that far.  

-- 
Luke S. Crawford
http://prgmr.com/xen/         -   Hosting for the technically adept
http://nostarch.com/xen.htm   -   We don't assume you are stupid.  

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.