Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Thomas Heinz <josef.k@mytomorrow.de>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] htb causes roaring penguin's pppoe daemon to terminate connection
Date: Sat, 09 Feb 2002 22:24:34 +0000	[thread overview]
Message-ID: <marc-lartc-101329362100362@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101328197705968@msgid-missing>

Hi Martin

You wrote:

> Are you using the same htb patch ? 2.4.17 has done rather big
> changes .. This is not the first incompatibility I've seen.


No, for 2.4.17 I'm using
http://luxik.cdi.cz/~devik/qos/htb/v2/htb2_2.4.17.diff


> you could try cbq instead. 


I like htb ;-)

> But I think that the problem is that
> htb will accumulate too many packets and pppoe checks for it.
> I've had similar problems during htb testing from userspace.


Do think it would make sense to reduce the transmit queue on ppp0
from 200 to ... let's say 50 or 20?

> use tc -s class show ethXX and tc -s qdisc and send me the results. I'm
> interested in backlog sizes.


Ok, here is what I got after a breakdown --
                                           |
                                           |
Thomas                                    |
                                           V

# tc -s class show dev ppp0

class htb 1:1 root prio 0 rate 125Kbit ceil 125Kbit burst 1539b cburst 1759b
  Sent 364823 bytes 2290 pkts (dropped 0, overlimits 0)
  rate 2099bps 8pps
  lended: 49 borrowed: 0 giants: 0 injects: 0
  tokens: 70247 ctokens: 81511

class htb 1:10 parent 1:1 prio 1 rate 40Kbit ceil 100Kbit burst 1539b cburst 1727b
  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  lended: 0 borrowed: 0 giants: 0 injects: 0
  tokens: 246399 ctokens: 110592

class htb 1:100 parent 1:10 leaf 100: prio 1 rate 20Kbit ceil 100Kbit burst 
1539b cburst 1727b
  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  lended: 0 borrowed: 0 giants: 0 injects: 0
  tokens: 492799 ctokens: 110592

class htb 1:200 parent 1:10 leaf 200: prio 2 rate 20Kbit ceil 100Kbit burst 
1539b cburst 1727b
  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  lended: 0 borrowed: 0 giants: 0 injects: 0
  tokens: 492799 ctokens: 110592

class htb 1:30 parent 1:1 leaf 30: prio 2 rate 15Kbit ceil 125Kbit burst 1539b 
cburst 1759b
  Sent 302593 bytes 1927 pkts (dropped 0, overlimits 0)
  rate 1056bps 6pps
  lended: 1887 borrowed: 40 giants: 0 injects: 0
  tokens: 499370 ctokens: 81511

class htb 1:40 parent 1:1 prio 3 rate 70Kbit ceil 125Kbit burst 1539b cburst 1759b
  Sent 62230 bytes 363 pkts (dropped 0, overlimits 0)
  rate 1052bps 1pps
  lended: 7 borrowed: 9 giants: 0 injects: 0
  tokens: 115200 ctokens: 75776

class htb 1:800 parent 1:40 leaf 800: prio 1 rate 40Kbit ceil 125Kbit burst 
1539b cburst 1759b
  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  lended: 0 borrowed: 0 giants: 0 injects: 0
  tokens: 246399 ctokens: 90112

class htb 1:900 parent 1:40 leaf 900: prio 2 rate 30Kbit ceil 125Kbit burst 
1539b cburst 1759b
  Sent 62230 bytes 363 pkts (dropped 0, overlimits 0)
  rate 31bps
  lended: 347 borrowed: 16 giants: 0 injects: 0
  tokens: 268800 ctokens: 75776



# tc -s qdisc
qdisc ingress ffff: dev ppp0
  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)

  qdisc sfq 900: dev ppp0 quantum 1492b perturb 10sec
  Sent 62230 bytes 363 pkts (dropped 0, overlimits 0)

  qdisc sfq 800: dev ppp0 quantum 1492b perturb 10sec
  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)

  qdisc pfifo 30: dev ppp0 limit 5p
  Sent 303453 bytes 1932 pkts (dropped 0, overlimits 0)

  qdisc sfq 200: dev ppp0 quantum 1492b perturb 10sec
  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)

  qdisc sfq 100: dev ppp0 quantum 1492b perturb 10sec
  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)

  qdisc htb 1: dev ppp0 r2q 10 default 900 dcache 0
  deq_util 1/1000000 deq_rate 10 trials_per_deq 0
  dcache_hits 0 direct_packets 0
  Sent 365683 bytes 2295 pkts (dropped 0, overlimits 50)


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

  parent reply	other threads:[~2002-02-09 22:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-09 19:07 [LARTC] htb causes roaring penguin's pppoe daemon to terminate connection Thomas Heinz
2002-02-09 21:05 ` [LARTC] htb causes roaring penguin's pppoe daemon to terminate Martin Devera
2002-02-09 22:24 ` Thomas Heinz [this message]
2002-02-09 22:41 ` Martin Devera
2002-02-10 14:47 ` [LARTC] htb causes roaring penguin's pppoe daemon to terminate connection Thomas Heinz

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-101329362100362@msgid-missing \
    --to=josef.k@mytomorrow.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox