From: Patrick McHardy <kaber@trash.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] pb with ingress policy
Date: Wed, 07 Aug 2002 14:42:05 +0000 [thread overview]
Message-ID: <marc-lartc-102873129818648@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102872788312682@msgid-missing>
Hi.
Thomas SPECK wrote:
> Hi !
>
> I have a single host which is connected via an 512kbit ADSL link to the net. I quite often use some realaudio application that uses some bandwidth and I want to avoid other traffic to scale that bandwidth down. So I used some classes (with htb) on imq0 device and applied some filters and it seems to work in most cases. However, there are some sites with which download is interrupted if bandwidth is limited. I tried to trace it down and did some simple test:
>
> modprobe imq numdevs=1
> tc qdisc add dev imq0 root handle 1: htb default 10
> tc class add dev imq0 parent 1: classid 1:10 htb rate 60kbit ceil 512kbit burst 15k
> tc qdisc add dev imq0 parent 1:10 handle 10: sfq perturb 10
> iptables -t mangle -A PREROUTING -i ppp0 -j IMQ --todev 0
> ip li set imq0 up
>
> So now all traffic is limited to 60kbit. If I use some particular site for downloading (with wget) I observe the following with tcpdump:
> At the beginning there is a huge burst (wget indicating something like 45 kbps) than speed decreases dramatically and achieves some equilibrium around 60kbit. Then for some reason after about 15 seconds my host sends FIN to the other site. Why ? ;-)
Hard to tell without seeing any data. Can you capture the session with
tcpdump and put it online somewhere (or send it via email off-list) ?
Bye
Patrick
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2002-08-07 14:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-07 13:44 [LARTC] pb with ingress policy Thomas SPECK
2002-08-07 14:42 ` Patrick McHardy [this message]
2002-08-07 19:09 ` Stef Coene
2002-08-08 11:03 ` Thomas SPECK
2002-08-08 11:10 ` Thomas SPECK
2002-08-08 11:56 ` 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-102873129818648@msgid-missing \
--to=kaber@trash.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 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.