Skip to contentSkip to conversation

Understanding the Examples

LARTC Togan Muftuoglu 2 participants 4 messages Dec 26, 2001

lore
Share & tools
lore
#0 lore raw

Hello everybody,

I am trying to understand the Advance routing and Traffic control. In the examples section of the how to an example script is given. Section 15.8.2 (the ultimate setup for Your internet connection)

The example says download is 800 and upload is 220

###### uplink

  # install root CBQ

tc qdisc add dev ppp0 root handle 1: cbq avpkt 1000 bandwidth 10mbit

Maybe I am misunderstanding it but even with a 256/64 Kbps ADSL with PPPOE is this 10mbit of bandwith parameter to be used since packets are coming through an ethernet ?

Section 9.2.3.2

# tc qdisc add dev ppp0 root sfq perturb 10
  # tc -s -d qdisc ls
  qdisc sfq 800c: dev eth0 quantum 1514b limit 128p flows 128/1024 perturb 10sec
   Sent 4812 bytes 62 pkts (dropped 0, overlimits 0)

I believe this is a typo in the example since I got that idea clear

Thanks and have a joyous holiday season

Signature · 7 lines
Togan Muftuoglu
"Even more amazing was the realization that God has Internet access. I
wonder if He has a full newsfeed?" (By Matt Welsh)

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
#1 lore raw
Quoted 5 lines · Togan Muftuoglu

tc qdisc add dev ppp0 root handle 1: cbq avpkt 1000 bandwidth 10mbit

Maybe I am misunderstanding it but even with a 256/64 Kbps ADSL with PPPOE is this 10mbit of bandwith parameter to be used since packets are coming through an ethernet ?

Exactly.

Quoted 8 lines

Section 9.2.3.2

# tc qdisc add dev ppp0 root sfq perturb 10
  # tc -s -d qdisc ls
  qdisc sfq 800c: dev eth0 quantum 1514b limit 128p flows 128/1024 perturb 10sec
   Sent 4812 bytes 62 pkts (dropped 0, overlimits 0)

I believe this is a typo in the example since I got that idea clear

I don't understand what you mean.

Quoted 1 line

Thanks and have a joyous holiday season

You too!

Regards,

bert

Signature · 8 lines
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
#2 lore raw
In reply to Togan Muftuoglu
Quoted 4 lines · bert hubert;

On Wed, Dec 26, 2001 at 10:03:16AM +0200, Togan Muftuoglu wrote:
Section 9.2.3.2

# tc qdisc add dev ppp0 root sfq perturb 10
                      ^^^^^
Quoted 2 lines
  # tc -s -d qdisc ls
  qdisc sfq 800c: dev eth0 quantum 1514b limit 128p flows 128/1024
                         ^^^^^^^

the example command is for ppp0 yet the output for statistics is for
eth0. It's not a big deal since I understood the concept but I thought of it as a typo mistake.

Thanks

Signature · 11 lines
Togan Muftuoglu

----- End forwarded message -----

-- 
Togan Muftuoglu
The only "intuitive" interface is the nipple. After that, it's all learned. (Bruce Ediger, [email protected], in comp.os.linux.misc, on X interfaces.)

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
#3 lore raw
In reply to Togan Muftuoglu
Quoted 4 lines · Togan Muftuoglu
Quoted 3 lines · bert hubert;

On Wed, Dec 26, 2001 at 10:03:16AM +0200, Togan Muftuoglu wrote:
Section 9.2.3.2

Quoted 8 lines
Quoted 1 line
# tc qdisc add dev ppp0 root sfq perturb 10
                      ^^^^^
Quoted 2 lines
  # tc -s -d qdisc ls
  qdisc sfq 800c: dev eth0 quantum 1514b limit 128p flows 128/1024
                         ^^^^^^^

the example command is for ppp0 yet the output for statistics is for
eth0. It's not a big deal since I understood the concept but I thought of it as a typo mistake.

Fixed, thanks.

Regards.

Signature · 8 lines
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/