Saransh Mittal
2008-Jun-09 14:49 UTC
[Xen-users] Xen 3.x : support for weighted device scheduling ?
Hi, Is there a way to give different network bandwidth caps to virtual machines? Or to generalize it further , is there support for weighted device scheduling like there is for cpu scheduling? Please help me regarding this, the help will be greatly appreciated. Thanks and Regards, Saransh. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alex Thorsten
2008-Jun-09 18:43 UTC
Re: [Xen-users] Xen 3.x : support for weighted device scheduling ?
Hi, that''s not possible as far as i know. The only to give different bandwidth to different VM''s is to use traffic shaping in Dom0. Someone please correct me if i''m wrong. Greetings, Alex Saransh Mittal schrieb:> Hi, > Is there a way to give different network bandwidth caps to > virtual machines? Or to generalize it further , is there support for > weighted device scheduling like there is for cpu scheduling? > Please help me regarding this, the help will be greatly appreciated. > > Thanks and Regards, > Saransh. > > > _______________________________________________ > 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
Todd Deshane
2008-Jun-11 02:53 UTC
Re: [Xen-users] Xen 3.x : support for weighted device scheduling ?
Hi Saransh, On Mon, Jun 9, 2008 at 10:49 AM, Saransh Mittal <saransh@cse.iitb.ac.in> wrote:> > Hi, > Is there a way to give different network bandwidth caps to virtual machines? Or to generalize it further , is there support for weighted device scheduling like there is for cpu scheduling? > Please help me regarding this, the help will be greatly appreciated. > > Thanks and Regards, > Saransh.For network limiting you can use the rate= option in the vif parameter an example: vif = [''ip=15.25.117.44'', ''rate=10MB/s''] I can''t think of a disk one, but that doesn''t mean that it doesn''t exist... Cheers, Todd> > > _______________________________________________ > 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
Todd Deshane
2008-Jun-11 02:54 UTC
Re: [Xen-users] Xen 3.x : support for weighted device scheduling ?
Hi Saransh, On Mon, Jun 9, 2008 at 10:49 AM, Saransh Mittal <saransh@cse.iitb.ac.in> wrote:> > Hi, > Is there a way to give different network bandwidth caps to virtual machines? Or to generalize it further , is there support for weighted device scheduling like there is for cpu scheduling? > Please help me regarding this, the help will be greatly appreciated. > > Thanks and Regards, > Saransh.For network limiting you can use the rate= option in the vif parameter an example: vif = [''ip=15.25.117.44'', ''rate=10MB/s''] I can''t think of a disk one, but that doesn''t mean that it doesn''t exist... Cheers, Todd> > > _______________________________________________ > 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
Saransh Mittal
2008-Jun-11 06:50 UTC
Re: [Xen-users] Xen 3.x : support for weighted device scheduling ?
Thanks Alex & Todd, btw can this value be changed dynamically (without a reboot of the VM). Todd Deshane wrote:> Hi Saransh, > > On Mon, Jun 9, 2008 at 10:49 AM, Saransh Mittal <saransh@cse.iitb.ac.in> wrote: > >> Hi, >> Is there a way to give different network bandwidth caps to virtual machines? Or to generalize it further , is there support for weighted device scheduling like there is for cpu scheduling? >> Please help me regarding this, the help will be greatly appreciated. >> >> Thanks and Regards, >> Saransh. >> > > > For network limiting you can use the rate= option in the vif parameter > an example: > > vif = [''ip=15.25.117.44'', ''rate=10MB/s''] > > > I can''t think of a disk one, but that doesn''t mean that it doesn''t exist... > > Cheers, > Todd > > > >> _______________________________________________ >> 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 >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stephan Seitz
2008-Jun-11 07:22 UTC
Re: [Xen-users] Xen 3.x : support for weighted device scheduling ?
Todd Deshane schrieb:> > vif = [''ip=15.25.117.44'', ''rate=10MB/s'']Todd, reading this list shows up interesting things ;) Is this rate parameter generally known to work or does it need special requirements in dom0? Additional, shouldn''t this read vif = [''ip=15.25.117.44,rate=10MB/s''] ? cheers, Stephan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alex Thorsten
2008-Jun-11 10:18 UTC
Re: [Xen-users] Xen 3.x : support for weighted device scheduling ?
Hi Saransh, please bear in mind that the "rate" limiting only works for outbound traffic. -> http://www.nabble.com/Network-bandwidth-control-in-Xen-td17421556.html i have set up some simple traffic shaping scripts, that do work dynamically, limit inbound/outbound traffic and guarantee some bandwidth for a particular IP. If you''re interested, i ''d be happy to mail them to you. Cheers, Alex Saransh Mittal schrieb:> Thanks Alex & Todd, btw can this value be changed dynamically (without > a reboot of the VM). > Todd Deshane wrote: >> Hi Saransh, >> >> On Mon, Jun 9, 2008 at 10:49 AM, Saransh Mittal >> <saransh@cse.iitb.ac.in> wrote: >> >>> Hi, >>> Is there a way to give different network bandwidth caps to >>> virtual machines? Or to generalize it further , is there support for >>> weighted device scheduling like there is for cpu scheduling? >>> Please help me regarding this, the help will be greatly >>> appreciated. >>> >>> Thanks and Regards, >>> Saransh. >>> >> >> >> For network limiting you can use the rate= option in the vif parameter >> an example: >> >> vif = [''ip=15.25.117.44'', ''rate=10MB/s''] >> >> >> I can''t think of a disk one, but that doesn''t mean that it doesn''t >> exist... >> >> Cheers, >> Todd >> >> >> >>> _______________________________________________ >>> 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 >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Saransh Mittal
2008-Jun-11 10:27 UTC
Re: [Xen-users] Xen 3.x : support for weighted device scheduling ?
Thanks Alex it will be great if u can mail them to me. Alex Thorsten wrote:> Hi Saransh, > > please bear in mind that the "rate" limiting only works for outbound > traffic. > -> http://www.nabble.com/Network-bandwidth-control-in-Xen-td17421556.html > > i have set up some simple traffic shaping scripts, that do work > dynamically, limit inbound/outbound traffic and guarantee some > bandwidth for a particular IP. If you''re interested, i ''d be happy to > mail them to you. > > Cheers, > Alex > > Saransh Mittal schrieb: >> Thanks Alex & Todd, btw can this value be changed dynamically >> (without a reboot of the VM). >> Todd Deshane wrote: >>> Hi Saransh, >>> >>> On Mon, Jun 9, 2008 at 10:49 AM, Saransh Mittal >>> <saransh@cse.iitb.ac.in> wrote: >>> >>>> Hi, >>>> Is there a way to give different network bandwidth caps to >>>> virtual machines? Or to generalize it further , is there support >>>> for weighted device scheduling like there is for cpu scheduling? >>>> Please help me regarding this, the help will be greatly >>>> appreciated. >>>> >>>> Thanks and Regards, >>>> Saransh. >>>> >>> >>> >>> For network limiting you can use the rate= option in the vif parameter >>> an example: >>> >>> vif = [''ip=15.25.117.44'', ''rate=10MB/s''] >>> >>> >>> I can''t think of a disk one, but that doesn''t mean that it doesn''t >>> exist... >>> >>> Cheers, >>> Todd >>> >>> >>> >>>> _______________________________________________ >>>> 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 >>> >> >> > > > _______________________________________________ > 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