anyone know how to put xen vif rate limit to work ? http://xenbits.xensource.com/xen-unstable.hg?rev/dadadf9aeee7 -------------------- Itamar Reis Peixoto e-mail/msn: itamar@ispbrasil.com.br skype: itamarjp icq: 81053601 +55 11 4063 5033 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
only one link next to it was the answer: "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''" from: http://xenbits.xensource.com/xen-unstable.hg?file/dadadf9aeee7/tools/python/xen/xm/create.py cheers reto On Feb 14, 2008, at 10:46 PM, itamar wrote:> anyone know how to put xen vif rate limit to work ? > > http://xenbits.xensource.com/xen-unstable.hg?rev/dadadf9aeee7_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
my question is why this limit only outbound traffic ? Reto Gantenbein wrote:> only one link next to it was the answer: > > "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''" > > from: > http://xenbits.xensource.com/xen-unstable.hg?file/dadadf9aeee7/tools/python/xen/xm/create.py > > > cheers reto > > On Feb 14, 2008, at 10:46 PM, itamar wrote: > >> anyone know how to put xen vif rate limit to work ? >> >> http://xenbits.xensource.com/xen-unstable.hg?rev/dadadf9aeee7 > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi itamar, On Thu, Feb 14, 2008 at 07:46:54PM -0200, itamar wrote:> anyone know how to put xen vif rate limit to work ?I use the usual Linux tc commands as documented on lartc.org and they appear to work.> http://xenbits.xensource.com/xen-unstable.hg?rev/dadadf9aeee7I have not tried the Xen rate limiting features because as far as I can see they cannot be changed without taking away the vif and then creating it again, which is no good for me. Cheers, Andy _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users