Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Raghuveer <raghuveer-rc@naturesoft.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] CBQ_bandwidth
Date: Thu, 21 Aug 2003 04:57:54 +0000	[thread overview]
Message-ID: <marc-lartc-106144187406303@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106137665106328@msgid-missing>

Stef Coene wrote:

>On Wednesday 20 August 2003 14:58, Raghuveer wrote:
>  
>
>>What is confusing me is, there is a bandwidth provided by ISP (512Kbits)
>>and one ethernet capacity(100Mbits), so which one can we call as real
>>link bandwidth.  What is NIC bandwidth....is it ethernet bandwidth or
>>ISP bandwidth....?
>>    Lan------->eth1-----------eth0---------->Internet
>>Now at eth0 I have ethernet device bandwidth as 100Mbits and my ISP
>>provides 512Kbits bandwidth. so if I want to do egress traffic control
>>at both eth0 and eth1, what bandwidth I should consider...? My eth1
>>ethernet device bandwidth is 100Mbits.
>>    
>>
>What bout this :
>
>for all cbq commands : bandwidth 100mbit
>eth0
>  cbq qdisc
>    cbq class rate = 512kbit, bounded
>       cbq class 1, rate < 512kbit
>       cbq class ..., rate < 512kbit
>       cbq class x, rate < 512kbit
>So all traffic from class 1 ... x togehter is bounded to 512kbit.  
>
>eth1
>  cbq qdisc
>    cbq class rate = 100mbit, bounded
>       cbq class 1, rate 512kbit bounded
>          cbq class 10, rate < 512kbit
>          cbq class ..., rate < 512kbit
>          cbq class x, rate < 512kbit
>       cbq class 2, rate 99,5Mbit
>          cbq class 20, rate < 99,5Mbit
>          cbq class ..., rate < 99,5Mbit
>          cbq class x, rate < 99,5Mbit
>
>Class 1 is for all traffic from internet -> LAN
>Class 2 is for all traffic from shaper -> LAN
>
>And if you really want to be sure it's working, you should take 500kbit.  So 
>YOU are the bottleneck and in control of the link and not the modem.
>  
>
Thanks alot Stef, Its very clear to me now.
If I have ADSL with different incoming and outgoing rates. For egress 
shaping at WAN(eth0) interface, Whether should I use outgoing rates or 
combined rates (incomming + outgoing). Will it make any big difference 
if I use combined rates in an asymmetric link like cabel modem, ADSL etc.

Regards
-Raghu

>Stef
>
>  
>


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2003-08-21  4:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-20 10:50 [LARTC] CBQ_bandwidth Raghuveer
2003-08-20 12:22 ` Stef Coene
2003-08-20 12:57 ` Raghuveer
2003-08-20 15:09 ` Stef Coene
2003-08-21  4:57 ` Raghuveer [this message]
2003-08-21 18:20 ` Stef Coene
2003-08-22  5:29 ` Raghuveer
2003-08-22  8:36 ` Stef Coene
2003-08-22  9:22 ` Raghuveer
2003-08-22 11:39 ` Stef Coene

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-106144187406303@msgid-missing \
    --to=raghuveer-rc@naturesoft.net \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox