Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] T1 (hardware pre-shaped) shaping question
@ 2004-05-04  4:00 Peter Rabbitson
  2004-05-04 10:51 ` Stef Coene
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Rabbitson @ 2004-05-04  4:00 UTC (permalink / raw)
  To: lartc

Hello list. I have been trying to figure this out on my own, but I guess I
somewhat failed :) A linux router with external eth0 and internal eth1 acts
as a gateway for a number of machines utilizing a partial T1 line (512kbps).
Since the T1 is limited by hardware and by its nature to 64kbps per channel
the most I can pump out of it is up+down < 512kbps. If a number of
workstations amount to more than this limit the connection starts to choke
e.g. delivers very low performance even on simple http requests.
Right now I have HTBs installed on both eth0 and eth1.
The HTB with subclasses on eth0 governs outgoing traffic (smtp and http).
The HTB on eth1 on the other hand covers all request from the internal
clients (http, streaming audio etc). Everything works well except the fact
that both shaping trees have no idea about each other. Do I have the ability
to tie them together so COMBINED they do not exceed 512k? For example
somebody from the internet is pulling a file by http on eth0 and I am
pumping out smtp, totalling 56k/s. The workstation of my webmaster tries to
download a file through eth1 , and since it has priority the outgoing
traffic on eth0 is cut down to 30k/s and the webmaster gets an incomming
channel through eth0 --> eth1 --> workstation of 32k/s with some leftovers
for TCP checksums. Is this feasible? Or is there another traffic shaping
model different from tc that would treat eth0 as a two way pipe?
Thank you for your replies.

Peter

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] T1 (hardware pre-shaped) shaping question
  2004-05-04  4:00 [LARTC] T1 (hardware pre-shaped) shaping question Peter Rabbitson
@ 2004-05-04 10:51 ` Stef Coene
  0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2004-05-04 10:51 UTC (permalink / raw)
  To: lartc

On Tuesday 04 May 2004 06:00, Peter Rabbitson wrote:
> Hello list. I have been trying to figure this out on my own, but I guess I
> somewhat failed :) A linux router with external eth0 and internal eth1 acts
> as a gateway for a number of machines utilizing a partial T1 line
> (512kbps). Since the T1 is limited by hardware and by its nature to 64kbps
> per channel the most I can pump out of it is up+down < 512kbps. If a number
> of workstations amount to more than this limit the connection starts to
> choke e.g. delivers very low performance even on simple http requests.
> Right now I have HTBs installed on both eth0 and eth1.
> The HTB with subclasses on eth0 governs outgoing traffic (smtp and http).
> The HTB on eth1 on the other hand covers all request from the internal
> clients (http, streaming audio etc). Everything works well except the fact
> that both shaping trees have no idea about each other. Do I have the
> ability to tie them together so COMBINED they do not exceed 512k? For
> example somebody from the internet is pulling a file by http on eth0 and I
> am pumping out smtp, totalling 56k/s. The workstation of my webmaster tries
> to download a file through eth1 , and since it has priority the outgoing
> traffic on eth0 is cut down to 30k/s and the webmaster gets an incomming
> channel through eth0 --> eth1 --> workstation of 32k/s with some leftovers
> for TCP checksums. Is this feasible? Or is there another traffic shaping
> model different from tc that would treat eth0 as a two way pipe?
This can done with imq.  If you search the archives of this list, you will 
find some posts about it.

Stef

-- 
stef.coene@docum.org
š"Using Linux as bandwidth manager"
š š šhttp://www.docum.org/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-04 10:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-04  4:00 [LARTC] T1 (hardware pre-shaped) shaping question Peter Rabbitson
2004-05-04 10:51 ` Stef Coene

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox