All of lore.kernel.org
 help / color / mirror / Atom feed
From: ronald.phannee@planet.nl
To: lartc@vger.kernel.org
Subject: [LARTC] basic question about token bucket filter
Date: Sun, 20 Jan 2002 14:55:49 +0000	[thread overview]
Message-ID: <marc-lartc-101153861627204@msgid-missing> (raw)

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/

             reply	other threads:[~2002-01-20 14:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-20 14:55 ronald.phannee [this message]
2002-01-20 15:15 ` [LARTC] basic question about token bucket filter Jasper Spaans
2002-01-20 15:25 ` ronald.phannee

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-101153861627204@msgid-missing \
    --to=ronald.phannee@planet.nl \
    --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 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.