All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] basic question about token bucket filter
@ 2002-01-20 14:55 ronald.phannee
  2002-01-20 15:15 ` Jasper Spaans
  2002-01-20 15:25 ` ronald.phannee
  0 siblings, 2 replies; 3+ messages in thread
From: ronald.phannee @ 2002-01-20 14:55 UTC (permalink / raw)
  To: lartc

Hi there,

I just started playing around with prioritizing traffic. However I do have
some questions left :P

I am using the following setup:
tc qdisc add dev ppp0 root handle 1: prio
tc qdisc add dev ppp0 parent 1:1 handle 10: sfq
tc qdisc add dev ppp0 parent 1:2 handle 20: tbf rate 61kbit latency 50ms burst 1540
tc qdisc add dev ppp0 parent 1:3 handle 30: sfq

I use the mangle table of iptables to force the TOS bit (based on the
tcp src or tcp dst port) in order to sent interactive traffic to band 0
(1:1), bulk traffic to band 2 (1:3) and remaining traffic to band 1 (1:2).

This seems to work. I do see packets flow trough the mangle table
(iptables -t mangle -vnL) and I do see interactive traffic go band 0 ,
etc.. (tc -s qdisc ls dev ppp0).

However I do not notice much of a difference. While downloading some linux
kernels a telnet session still slows down a lot :( Any ideas how this
might be possible?



Best regards,

--
Ronald Verlaan
http://80.60.86.86
ronald.phannee@planet.nl
--------------------------------------------------------------------------
Five is a sufficiently close approximation to infinity.
		-- Robert Firth

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

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

* Re: [LARTC] basic question about token bucket filter
  2002-01-20 14:55 [LARTC] basic question about token bucket filter ronald.phannee
@ 2002-01-20 15:15 ` Jasper Spaans
  2002-01-20 15:25 ` ronald.phannee
  1 sibling, 0 replies; 3+ messages in thread
From: Jasper Spaans @ 2002-01-20 15:15 UTC (permalink / raw)
  To: lartc

On Sun, Jan 20, 2002 at 03:55:49PM +0100, ronald.phannee@planet.nl wrote:
> This seems to work. I do see packets flow trough the mangle table
> (iptables -t mangle -vnL) and I do see interactive traffic go band 0 ,
> etc.. (tc -s qdisc ls dev ppp0).
> 
> However I do not notice much of a difference. While downloading some linux
> kernels a telnet session still slows down a lot :( Any ideas how this
> might be possible?

Yep, quite simple: your upstream provider is not shaping, hence the
interactive traffic still needs to wait for the `big' packets from the
download. However, your solution should help you when you're uploading lots
of data. :)

Regards,
-- 
Jasper Spaans
http://jsp.ds9a.nl/contact/
Tel/Fax: +31-84-8749842
``Got no clue? Too bad for you.''
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

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

* Re: [LARTC] basic question about token bucket filter
  2002-01-20 14:55 [LARTC] basic question about token bucket filter ronald.phannee
  2002-01-20 15:15 ` Jasper Spaans
@ 2002-01-20 15:25 ` ronald.phannee
  1 sibling, 0 replies; 3+ messages in thread
From: ronald.phannee @ 2002-01-20 15:25 UTC (permalink / raw)
  To: lartc

On Sun, 20 Jan 2002, Jasper Spaans wrote:

Hi Jasper,

> > However I do not notice much of a difference. While downloading some linux
> > kernels a telnet session still slows down a lot :( Any ideas how this
> > might be possible?
>
> Yep, quite simple: your upstream provider is not shaping, hence the
> interactive traffic still needs to wait for the `big' packets from the
> download. However, your solution should help you when you're uploading lots
> of data. :)

Hmmm your answer seems to me logical but also depressing ;-)
Thanx for explaining!

I will send an email to my provider to ask them if the would like to shape
traffic for me. Not expecting any sensible answer of course :P

Best regards,

--
Ronald Verlaan
http://80.60.86.86
ronald.phannee@planet.nl
--------------------------------------------------------------------------
Mickey Mouse wears a Spiro Agnew watch.

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

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

end of thread, other threads:[~2002-01-20 15:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-20 14:55 [LARTC] basic question about token bucket filter ronald.phannee
2002-01-20 15:15 ` Jasper Spaans
2002-01-20 15:25 ` ronald.phannee

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.