BandWidth
Hi!
I'm using class based queueing for testing how same applications work with low bandwidth. So what I did was give this commands:
tc qdisc add dev eth0 root handle 10: cbq bandwidth 4kbit avpkt 1000 tc qdisc add dev eth1 root handle 20: cbq bandwidth 4kbit avpkt 1000
tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth 4kbit rate 4kbit allot isolated
tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 4kbit rate 4kbit allot isolated
tc qdisc add dev eth0 parent 10:0 sfq quantum 1514b tc qdisc add dev eth1 parent 20:0 sfq quantum 1514b
tc filter add dev eth0 parent 10:0 protocol ip u32 match ip dst 192.0.0.0/8 flowid 10:1
tc filter add dev eth1 parent 20:0 protocol ip u32 match ip dst 57.0.0.0/8 flowid 20:1
(has you can see I'm testing with bandwidth = 4k)
Now, WHY DOES NOT WORK? It seams that it using all 100Mbits
____________ ____________
( ) ( )
(57.227.234.0/23)--------|Linux|---------(192.168.76.0/24)
(____________) eth0 eth1 (____________)
57.227.235.12
192.168.76.1thanks
-vcf
begin:vcard
n:Flausino;Vitor
tel;cell:+351.96 691 6079
tel;fax:+351.21 842 5534
tel;work:+351.21 842 5688
x-mozilla-html:FALSE
org:PGA-Portugalia Airlines;IT
version:2.1
email;internet:[email protected]
title:Eng
adr;quoted-printable:;;Aeroporto de Lisboa=0D=0ARua C=3BEdf 70;Lisbon;;1749-078 Lisbon;Portugal x-mozilla-cpt:;0
fn:Vitor Carlos Flausino
end:vcard
Quoted 8 lines · Stef Coene
Try this :
tc qdisc add dev eth0 root handle 10: cbq bandwidth 10mbit avpkt 1000>~~~~~~ tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth 10mbit rate ~~~~~~ rate 4kbit allot bounded isolated ~~~~~~~
Quoted 24 lines
Staf
Quoted 21 lines · Vitor Carlos Flausino
Hi!
I'm using class based queueing for testing how same applications work with low bandwidth. So what I did was give this commands:tc qdisc add dev eth0 root handle 10: cbq bandwidth 4kbit avpkt 1000 tc qdisc add dev eth1 root handle 20: cbq bandwidth 4kbit avpkt 1000
tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth 4kbit rate 4kbit allot isolated
tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 4kbit rate 4kbit allot isolatedtc qdisc add dev eth0 parent 10:0 sfq quantum 1514b tc qdisc add dev eth1 parent 20:0 sfq quantum 1514b
tc filter add dev eth0 parent 10:0 protocol ip u32 match ip dst 192.0.0.0/8 flowid 10:1
tc filter add dev eth1 parent 20:0 protocol ip u32 match ip dst 57.0.0.0/8 flowid 20:1
Thanks but it did not solve.... It still works 100mbit
tc qdisc add dev eth0 root handle 10: cbq bandwidth 100mbit avpkt 1000 tc qdisc add dev eth1 root handle 20: cbq bandwidth 100mbit avpkt 1000
tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth 100mbit rate 4kbit allot 1514 bounded isolated
tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 100mbit rate 4kbit allot 1514 bounded isolated
tc qdisc add dev eth0 parent 10:0 sfq quantum 1514b perturb 15 tc qdisc add dev eth1 parent 20:0 sfq quantum 1514b perturb 15
tc filter add dev eth0 parent 10:0 protocol ip u32 match ip dst 192.0.0.0/8 flowid 10:1
tc filter add dev eth1 parent 20:0 protocol ip u32 match ip dst 57.0.0.0/8 flowid 20:1
-vcf
begin:vcard
n:Flausino;Vitor
tel;cell:+351.96 691 6079
tel;fax:+351.21 842 5534
tel;work:+351.21 842 5688
x-mozilla-html:FALSE
org:PGA-Portugalia Airlines;IT
version:2.1
email;internet:[email protected]
title:Eng
adr;quoted-printable:;;Aeroporto de Lisboa=0D=0ARua C=3BEdf 70;Lisbon;;1749-078 Lisbon;Portugal x-mozilla-cpt:;0
fn:Vitor Carlos Flausino
end:vcard
[LARTC] bandwidth
In reply to Vitor Carlos Flausinohi all,
how r bandwidth allocated in cable modem internet access technology when new subscribers are added or how is it allocated basically?
could someone help me on this
vijaya
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
[LARTC] Bandwidth
In reply to Vitor Carlos FlausinoI am really curious how loaded (current and average upload/download speed) is your network and how fast connection you have.
(This question is more for more networked enviroments rather than single users).
We just bought 8mbit/s line and the load wont get higher than 200KB/s (~1.6Mbit/s) (according to MRTG)
There are ~250 users using this line. (shaped from 32kbit/s to 2mbit/s)
I am using MRTG to measure the load.
I though MRTG has gone crazy showing 200KB/s so i decided to download large amount of data. And no, the mrtg was right, i was downloading at 600KB/s and MRTG showed the same.
I am confused how it is possible.
P.Krumins
____________________________________________________________
Reìistrç un lieto savu Apollo e-pastu www.e-apollo.lv
www.apollo.lv
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Re: [LARTC] Bandwidth
In reply to Vitor Carlos FlausinoYou need to ensure that you are downloading from a server capable of serving 8Mbits (most are not).
In the continental USA I use gatekeeper.dec.com, which is very lightly loaded (nobody remembers it these days) and has at least an OC-3 connection.
I have seen 40Mbits/s via FTP from this machine.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
RE: [LARTC] Bandwidth
In reply to Vitor Carlos FlausinoWe are running with an 8 Mbit WAN link and are using wrr to shape the traffic between 800 users. This works fine and all the bandwith are en use most of the time.
Please supply some more details of your configuration, if you want more help.
--
Morten Isaksen
[email protected] - http://www.aub.dk/~misak
Quoted 2 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]
On
Quoted 6 lines
Behalf Of [email protected]
Sent: 9. december 2002 21:24
To: [email protected]
Subject: [LARTC] BandwidthI am really curious how loaded (current and average upload/download
speed)
Quoted 3 lines
is your network
and how fast connection you have.
(This question is more for more networked enviroments rather than
single
Quoted 6 lines
users).
We just bought 8mbit/s line and the load wont get higher than 200KB/s (~1.6Mbit/s) (according
to MRTG)
There are ~250 users using this line. (shaped from 32kbit/s to
2mbit/s)
Quoted 5 lines
I am using MRTG to measure the load.
I though MRTG has gone crazy showing 200KB/s so i decided to download large amount of data.
And no, the mrtg was right, i was downloading at 600KB/s and MRTG
showed
Quoted 8 lines
the same.
I am confused how it is possible.
P.Krumins
____________________________________________________________
Quoted 7 lines
Re»istrº un lieto savu Apollo e-pastu www.e-apollo.lv
www.apollo.lv
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Re: [LARTC] Bandwidth
In reply to Vitor Carlos FlausinoQuoted 3 lines · Morten Isaksen
We are running with an 8 Mbit WAN link and are using wrr to shape the traffic between 800 users. This works fine and all the bandwith are en use most of the time.
Sorry to break in to the thread like this, but...
1. Is it one single 8/8Mb link?
2. Hows the tc configuration? (Like the example in the wrr-package?)
3. Are there any latency-problems?
4. What measures has been taken to ensure low latency?
<SNIP>
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
RE: [LARTC] Bandwidth
In reply to Vitor Carlos FlausinoQuoted 9 lines
-----Original Message-----
From: Steen Suder, privat [mailto:[email protected]]
Sent: 9. december 2002 22:16
To: Morten Isaksen
Cc: [email protected]
Subject: Re: [LARTC] BandwidthQuoted 1 line · Morten Isaksen
We are running with an 8 Mbit WAN link and are using wrr to shape
the
Quoted 1 line
Quoted 1 line
traffic between 800 users. This works fine and all the bandwith are
en
Quoted 5 lines
Quoted 1 line
use most of the time.
Sorry to break in to the thread like this, but...
1. Is it one single 8/8Mb link?
Yes. We do have 2 1 Mbit ADSL lines also, but they are only used for P2P traffic (like Kazaa, Napster, ..).
Quoted 1 line
2. Hows the tc configuration? (Like the example in the wrr-package?)
I have used the standard script in the wrr package, with some minor changes like changed ..cbq bandwidth 10Mbit.. to .. cbq bandwidth 100Mbit..
Quoted 2 lines
3. Are there any latency-problems?
4. What measures has been taken to ensure low latency?
Right now our WAN link is at 96% and I have a latency about 10 ms to a server 8 hops away (through the Danish DIX). So no, we don't have any latency problems.
--
Morten Isaksen
[email protected] - http://www.aub.dk/~misak
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/