Is there any way to restrict disk use per domain with XEN PV? Thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Is there any way to restrict disk use per domain with XEN PV?Using OSS Xen with a kernel > 2.6.37 you can use cgroups to rate limit I/O on an iops or bandwidth (or both) basis. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, 2012/1/21 Nathan Goulding <ngoulding@voxel.net>:> > > Is there any way to restrict disk use per domain with XEN PV? > > > Using OSS Xen with a kernel > 2.6.37 you can use cgroups to rate limit I/O > on an iops or bandwidth (or both) basis.And for Xen 3.4 there was a Xen patch on this list here a few months ago. It was a little better than what cgroups can do right now, but won''t be added to avoid having two tools for the same task, one of which would only be used in Xen (as far as I understood). Greetings, Florian
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.