From: Anton Yurchenko <phila@dg.net.ua>
To: lartc@vger.kernel.org
Subject: [LARTC] borrowing only from parent
Date: Fri, 26 Apr 2002 10:14:21 +0000 [thread overview]
Message-ID: <marc-lartc-101981613202993@msgid-missing> (raw)
Hello,
for example I have a parent class 1:1 defined as:
tc qdisc add dev eth0 root handle 1: htb default 12
# shape at 15 kbit almost no borrowing and no bursts
tc class add dev eth0 parent 1: classid 1:1 htb rate 15kbit ceil 1kbit burst 1b cburst 1b
# and sibling classes
# shape at 5kbit and borrow up to 5 kbit no burst
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 5kbit ceil 5kbit burst 1b cburst 1b
# shape at 10kbit and borrow up to 10 kbit no burst
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 10kbit ceil 10kbps burst 1b cburst 1b
I want 1:10 and 1:11 to be able to borrow only from 1:1 so that any one of them ( 1:10 or 1:10)
go as high as 15kbit ( up to the max that 1:1 allows). But from testing that is not the situation.
1:11 goes at ~ 20kbit and 1:10 at ~ 10kbit when going at full speed at the same time. it looks like
that they borrow not from 1:1. stats show from "tc -s -d class show" that they are not borrowing
only lending. Are they cross lending or smthn?
Bottom line is I want to have a parent class with siblings that can borrow from each other but not more
then the rate of the parent.
Am I doing somthing wrong?
Thanks,
Anton
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2002-04-26 10:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-26 10:14 Anton Yurchenko [this message]
2002-04-26 10:21 ` [LARTC] borrowing only from parent Stef Coene
2002-04-26 10:48 ` Martin Devera
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-101981613202993@msgid-missing \
--to=phila@dg.net.ua \
--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.