All of lore.kernel.org
 help / color / mirror / Atom feed
From: lihpc@Legend.com
To: lartc@vger.kernel.org
Subject: RE: Re: [LARTC] help, a children can not borrow from a parent?
Date: Mon, 21 Oct 2002 14:24:28 +0000	[thread overview]
Message-ID: <marc-lartc-103521045508062@msgid-missing> (raw)


WHEN i send packets  from 10.1.1.1  at rate frome 12mbit to 50mbit BY using
SMATRBIT 600,
the rate of class 10:100 is always 12bits.

>> Hi ;
>>
>> MY script:
>>
>> tc-htb3 qdisc del dev eth2 root
>> ipchains -F
>>
>> tc-htb3 qdisc add dev eth2 root handle 10: htb default 20  r2q 40
>>
>> tc-htb3 class add dev eth2 parent 10: classid 10:1 htb rate 50Mbit
burst
>> 2000
>>
>> tc-htb3 class add dev eth2 parent 10:1 classid 10:100 htb rate 12mbit
ceil
>> 50mbit prio 1
>> tc-htb3 class add dev eth2 parent 10:1 classid 10:20 htb rate 38mbit
ceil
>> 50Mbit prio 8
>>
>> ipchains -A fw -s 10.1.1.1  -m 100
>> ipchains -A fw -s 0.0.0.0 -d 0.0.0.0 -j ACCEPT
>>
>> tc-htb3 filter add dev eth2 protocol ip parent 10:0 prio 1 handle 100
fw
>> classid 10:100
>
>> WHEN i send packets at 20mbit from 10.1.1.1 ,
>>#tc -s -d qdisc show dev eth2
>> qdisc htb 10:
>>  Sent 246602122 bytes 487287 pkts (dropped 323938, overlimits 1850710)
>>
>> #tc -s -d class show dev eth2
>> class htb 10:1 root prio 0 rate 50Mbit ceil 50Mbit burst 1985b/8 mpu 0b
>> cburst 67121b/8 mpu 0b quantum 0 level 7
>>  Sent 246602122 bytes 487287 pkts (dropped 0, overlimits 0)
>>  rate 8bps
>>
>> class htb 10:100 parent 10:1 prio 1 rate 12Mbit ceil 50Mbit burst
17325b/8
>> mpu 0b cburst 67121b/8 mpu 0b quantum 39321 level 0
>>  Sent 246552164 bytes 486503 pkts (dropped 323938, overlimits 0)
>
>> class htb 10:20 parent 10:1 prio 1 rate 38Mbit ceil 50Mbit burst
51396b/8
>> mpu 0b cburst 67121b/8 mpu 0b quantum 124518 level 0
>>  Sent 49958 bytes 784 pkts (dropped 0, overlimits 0)
>>  rate 8bps
>
>
>>  a class 10:100 can not borrow from a parent 10:0 ,WHY?
>How do you come to that conclustion ?????

>Stef


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

             reply	other threads:[~2002-10-21 14:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-21 14:24 lihpc [this message]
2002-10-21 16:14 ` Re: [LARTC] help, a children can not borrow from a parent? 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-103521045508062@msgid-missing \
    --to=lihpc@legend.com \
    --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.