Anyone have any recommendations on how to limit the bandwidth for a domU, say .. 1mb burstable or non burstable, along with say ... 300gb a month. I have some friends on my xen server and just wanna limit what they do. Any help would be greatly appreciated. thanks, mrkris _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
mrkris@mrkris.com wrote:> Anyone have any recommendations on how to limit the bandwidth for a > domU?As I understand it, the migration process utilizes bandwidth limitation on the domU that is to be migrated. This is done so that the migration process will have some bandwidth to move the domU blocks. I recommend checking out the migration scripts to see how they communicate to the network interface in dom0 to limit the target domU. (It''s possible they communicate to the front-end NIC in the domU, but I wouldn''t think it would work that way.) Good luck! -- Randy _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Monday 03 April 2006 3:21 am, Randy Thelen wrote:> As I understand it, the migration process utilizes bandwidth > limitation on the domU that is to be migrated. This is done so that > the migration process will have some bandwidth to move the domU blocks.i think it''s the other way around; the migration process limits its own bandwith usage to avoid saturating the network (being a memory-to-memory copy, it would easily outrun any disk-based server) -- Javier _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, 3 Apr 2006 04:15:56 -0400 (EDT) mrkris@mrkris.com wrote:> Anyone have any recommendations on how to limit the bandwidth for a domU, > say .. 1mb burstable or non burstable, along with say ... 300gb a month. I > have some friends on my xen server and just wanna limit what they do. Any > help would be greatly appreciated.The Linux tools http://lartc.org work well (we''ve used hierarchical token bucket mostly). You can treat the domains just like any other computer behind a bridging firewall/bandwidth limiting node. Looking at concrete examples was helpful to me when I was first looking at it, e.g., search for htb tc linux Tim _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tim Freeman wrote:> On Mon, 3 Apr 2006 04:15:56 -0400 (EDT) > mrkris@mrkris.com wrote: > >> Anyone have any recommendations on how to limit the bandwidth for a domU, >> say .. 1mb burstable or non burstable, along with say ... 300gb a month. I >> have some friends on my xen server and just wanna limit what they do. Any >> help would be greatly appreciated. > > The Linux tools http://lartc.org work well (we''ve used hierarchical token bucket > mostly). You can treat the domains just like any other computer behind a > bridging firewall/bandwidth limiting node. Looking at concrete examples was > helpful to me when I was first looking at it, e.g., search for htb tc linux >Code was just committed to -unstable that does this (outbound only): # HG changeset patch # User kaf24@firebug.cl.cam.ac.uk # Node ID dadadf9aeee713bbe2f8dc040a74f7cea2223f41 # Parent 2769a38f0e3e7ab544293833276a5d8cd0875483 Plumb network vif credit-based rate limiting thorugh xenbus and xend into xm guest config files. A new vif parameter ''rate'' is supported, with an optional time window paremeter for specifying granularity of credit replenishment. The default window is 50ms. For example: ''rate=10Mb/s'' ''rate=250KB/s'' ''rate=1MB/s@20ms'' Thank you, Matt Ayres _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matt Ayres ha scritto:> ''rate=10Mb/s'' ''rate=250KB/s'' ''rate=1MB/s@20ms''Can you explain me ''rate=1MB/s@20ms'' ? Thanks in advance Regards -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFENU1rNxpp46476aoRAsz1AJ9NqlO4okOqXD82KUM82bK/8BaQNQCgheqM KCagXbEPbqYIrBE7VukQKnY=A3wO -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users