Hi everyone, I''m running xen and i''ve got a few domU boxes and am having a bad time on shaping these domains. I''ve tried using CBQ creating rules on the ethX created at the domU start and it wont work. After changing the rule to the peth0 (i''m running using bridge), the shape works very bad... it shapes the connection to a very low rates. This is my cbq conf: DEVICE=peth0,10Mbit,1Mbit RATE=2Mbit WEIGHT=204Kbit PRIO=5 RULE=X.X.X.X, RULE=X.X.X.X BOUNDED=yes ISOLATED=yes Even changing it to eth4 (which is being used by this specific domain) it wont shape the box. Has anybody ever worked with xen and cbq together, not shaping inside de box but on the dom0? Thanks Rafael _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
You can use "rate" in the domU config files. See this. https://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.4/html/Virtualization_Guide/sect-Virtualization-Tips_and_tricks-Limit_network_bandwidth_for_a_Xen_guest.html Paras. On Wed, Nov 11, 2009 at 8:59 AM, Rafael Azevedo <rafael@r2pro.com.br> wrote:> Hi everyone, > I''m running xen and i''ve got a few domU boxes and am having a bad time on > shaping these domains. > I''ve tried using CBQ creating rules on the ethX created at the domU start > and it wont work. > After changing the rule to the peth0 (i''m running using bridge), the shape > works very bad... it shapes the connection to a very low rates. > This is my cbq conf: > DEVICE=peth0,10Mbit,1Mbit > RATE=2Mbit > WEIGHT=204Kbit > PRIO=5 > RULE=X.X.X.X, > RULE=X.X.X.X > BOUNDED=yes > ISOLATED=yes > Even changing it to eth4 (which is being used by this specific domain) it > wont shape the box. > Has anybody ever worked with xen and cbq together, not shaping inside de box > but on the dom0? > Thanks > Rafael > > _______________________________________________ > 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
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com [mailto:xen-users- > bounces@lists.xensource.com] On Behalf Of Paras pradhan > Sent: Wednesday, November 11, 2009 7:38 AM > To: Rafael Azevedo > Cc: Xen-users@lists.xensource.com > Subject: Re: [Xen-users] XEN and CBQ > > You can use "rate" in the domU config files. See this. > > https://www.redhat.com/docs/en- > US/Red_Hat_Enterprise_Linux/5.4/html/Virtualization_Guide/sect- > Virtualization-Tips_and_tricks- > Limit_network_bandwidth_for_a_Xen_guest.html > > Paras.I know this is not your fault, but that doc is pretty sloppy. There''s some inconsistent use of Mb/s and MB/s. Rate limiting in Bytes seems a little silly, but that''s what their example suggests doing. Just beware if you''re implementing - the usual ''don''t copy and paste from the internet'' rules apply. Best Regards, Nathan Eisenberg _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, I changed to Mb/s and it worked! Thanks a lot! Rafael 2009/11/11 Nathan Eisenberg <nathan@atlasnetworks.us>> > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com [mailto:xen-users- > > bounces@lists.xensource.com] On Behalf Of Paras pradhan > > Sent: Wednesday, November 11, 2009 7:38 AM > > To: Rafael Azevedo > > Cc: Xen-users@lists.xensource.com > > Subject: Re: [Xen-users] XEN and CBQ > > > > You can use "rate" in the domU config files. See this. > > > > https://www.redhat.com/docs/en- > > US/Red_Hat_Enterprise_Linux/5.4/html/Virtualization_Guide/sect- > > Virtualization-Tips_and_tricks- > > Limit_network_bandwidth_for_a_Xen_guest.html > > > > Paras. > > I know this is not your fault, but that doc is pretty sloppy. There''s some > inconsistent use of Mb/s and MB/s. Rate limiting in Bytes seems a little > silly, but that''s what their example suggests doing. Just beware if you''re > implementing - the usual ''don''t copy and paste from the internet'' rules > apply. > > Best Regards, > Nathan Eisenberg > > > _______________________________________________ > 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