[LARTC] Linux CBQ question

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 30 April 2002 23:38, Udayan Borkar wrote:
> Hi,
>
> Question on Linux-CBQ. I have a Pentium 4 based PC running Redhat 7.2
> (kernel 2.4.7) with 2 100-Base T ethernet interfaces (Eth0, Eth1). Traf=
fic
> received on Eth0 is sent out on Eth1.
>
> I am trying to restrict the outgoing traffic rate on Eth1 to 50Mbits/se=
c.
> However, when I use the configuration below, I find that the rate on Et=
h1
> is about 5 Mbits/sec. If I delete the keywords bounded, isolated, I get
> a rate of 90 Mbits/sec. Measurements were made over an interval of 15 s=
ec
> to 1 min)
>
> On trying other Minburst, Maxburst values, the rate changes (e.g. Maxbu=
rst
> =3D 300, Minburst =3D 70) produces 25Mbits/sec etc.
>
> (I was trying to create a hierarchy of classes whose total rate needs t=
o
> be limited to 50Mbits/sec, I have managed to reduce the problem from th=
at
> to this simplified configuration. I would prefer not to use HTB at the
> moment).
You can do it also with CBQ.  But you have to be carefull by choosing the=
=20
parameters.

> Can someone take a quick look at the configuration below and tell me wh=
at
> I am doing wrong? (Ip address of Eth0=3D10.1.1.2, netmask=3D255.255.255=
=2E0;
> Eth1=3D10.1.2.2,netmask=3D255.255.255.0)
The commands seems ok to me.  I tried to bound the outgoing traffic on a=20
10mbit card and I had some good results=20
(http://www.docum.org/stef.coene/qos/tests/cbq/bounded/bounded.html).  Bu=
t I=20
also found that the isolated parameter is not working and can distrub the=
=20
setup.  So, can you try again with only the bounded and no isolated param=
eter=20
?

Stef

--=20

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux