From: "Salim" Date: Tue, 22 Nov 2005 06:37:44 +0000 Subject: [LARTC] relation b/w uplink and downlink rate control Message-Id: <002e01c5ef2f$41c46ae0$455f030a@askeyrd3> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============2013860813==" List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. --===============2013860813== Content-Type: multipart/alternative; boundary="----=_NextPart_000_002B_01C5EF72.4CF63040" This is a multi-part message in MIME format. ------=_NextPart_000_002B_01C5EF72.4CF63040 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Hello all, I have browsed archives and real all available HOWTOs, but I still = have a few doubts. My set up is a router, as below. LAN(100MB)-------------(eth1)Linux-Router(eth0)---------------WAN(2MB/512= ) My aim is to cotrol both uplink and downlink bandwidth.=20 For uplink control, I will use HTB on WAN interface. For downlink, I = plan to attach HTB on LAN interface(both egress/outgoing). No ingress = policing, no IMQ. On WAN interface, like in wondershaper and myshaper, I plan to have = classes which handles interactive and bulk traffic seperately. ACK = packets and small packets also in interactive class. This setup guarantees that=20 a) interactive traffic wont be drowned out b) uploads won't slow downloads But this set up does not guarantee that one bulk traffic will not drown = another bulk traffic, right? For example, FTP traffic might affect HTTP. = If=20 Am I right? So I plan to have a downlink control, achieved by shaping on LAN = interface(eth1).My idea is to filter different protocols into different = classes having different rate and ciel. In this way, I maybe able to = ensure that FTP downloads will not slow down the HTTP traffic too much. My doubt is, if I do this, will it work well with the different = filtering scheme of uplink(WAN)? i.e, the traffic is controlled in the = uplink and downlink in different ways, one based on protocol(LAN) and = the other based on latency issues(WAN). Will they affect each other? Can = they exist together and give the desired results? I know it maybe a good idea to test it myself, hands-on. But I am not = able to simulate all the combinations. If my idea is bad in theory, I do = not need to spend too much time on it.=20 On a different note, why the sum of child classes in wondershaper is = more than its parent? Why it still works? regards Salim ------=_NextPart_000_002B_01C5EF72.4CF63040 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="iso-8859-1"
Hello all,
   I have browsed archives = and real all=20 available HOWTOs, but I still have a few doubts.
My set up is a router, as = below.
 
 
LAN(100MB)-------------(eth1)Linux-Router(eth0)---------------WA= N(2MB/512)
 
My aim is to cotrol both uplink and = downlink=20 bandwidth.
For uplink control, I will use HTB on = WAN=20 interface. For downlink, I plan to attach HTB on LAN interface(both=20 egress/outgoing). No ingress policing, no IMQ.
 
On WAN interface, like in wondershaper = and=20 myshaper, I plan to have classes which handles interactive and bulk = traffic=20 seperately. ACK packets and small packets also in interactive=20 class.
 
This setup guarantees that =
a) interactive traffic wont be drowned=20 out
b) uploads won't slow = downloads
 
But this set up does not guarantee that = one bulk=20 traffic will not drown another bulk traffic, right? For example, FTP = traffic=20 might affect HTTP. If
Am I right?
 
So I plan to have a downlink control, = achieved by=20 shaping on LAN interface(eth1).My = idea is to=20 filter different protocols into different classes having different rate = and=20 ciel. In this way, I maybe able to ensure that FTP downloads will not = slow down=20 the HTTP traffic too much.
 
My doubt is, if I do this, will it work = well with=20 the different filtering scheme of uplink(WAN)? i.e, the traffic is = controlled in=20 the uplink and downlink in different ways, one based on protocol(LAN) = and the=20 other based on latency issues(WAN). Will they affect each = other? Can=20 they exist together and give the desired results?
I know it maybe a good idea to test it = myself,=20 hands-on. But I am not able to simulate all the combinations. If my idea = is bad=20 in theory, I do not need to spend too much time on it.
 
On a different note, why the sum of = child classes=20 in wondershaper is more than its parent? Why it still = works?
 
regards
Salim
------=_NextPart_000_002B_01C5EF72.4CF63040-- --===============2013860813== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============2013860813==--