Displaying 20 results from an estimated 6000 matches similar to: "ctokens vs tokens - HTB."
2003 Nov 14
1
rate vs peakrate - TBF.
Hi,
Can you please explain to me the difference between
rate and peakrate, in conjucture to TBF.
IMHO,
rate : controls the no. of pkts flowing through the
pipe, and
peakrate : controls the no. of tokens flowing through
the bucket. A funtion(?) of peakrate and mtu is rate.
If this is true, why do I need to specify both
peakrate and rate?
Regards,
suraj.
__________________________________
Do
2003 Jun 06
4
tc show error for ingress
Hi,
I am trying to do both ingress and egress bandwidth management on a bridge.
eth0 is the WAN interface. IPTraf shows that the following script is running
successfully and it limits bandwidth both ways to 256 KB
However when I want to see the statistics using tc - it only shows me stats
for htb class
and not for ingress class. The tc output is as follows:
tc -s -d class show dev eth0
class
2004 Jan 12
8
sum of child rates exceeds parent rate
Hi,
i have created a parent class with 45Meg rate/ceiling
Note : The actual traffic flowing via that pc is around 6Meg to 15Meg
I assume the problem will come only when the traffic is more than 45Meg.
Now if i create child classes whose sum of rates crosses more than 45Meg ?
1.How that tc behaves.
2.Will this affect browsing.
Pls let me know this details
Regards
Jayesh
2006 Mar 08
1
negative token/ctokens
In this simple htb setup:
# tc -s -d class ls dev eth0
class htb 1:1 root rate 300000bit ceil 300000bit burst 1749b/8 mpu 0b overhead
0b cburst 1749b/8 mpu 0b overhead 0b level 7
Sent 13171835 bytes 13169 pkt (dropped 0, overlimits 0 requeues 0)
rate 45848bit 10pps backlog 0b 0p requeues 0
lended: 5272 borrowed: 0 giants: 0
tokens: -84429 ctokens: -84429
class htb 1:2 parent 1:1 prio 0
2003 Oct 27
4
Need help with HTB
Hello,
1.
I currently have a 128kbps cable link to the internet..and I''m sharing
this connection with others.
I''ve made the following script(for alocating bandwidth depending on the
services used: browsing, squid, games like counter-strike, icmp, ssh),
which unfortunately isn''t working very well as the response times I''m
getting upon pinging the server
2003 Mar 24
11
How to do ensure bandwith
How to do ensure a class not lended and not borrowed each other.
I do cburst burst 0b ,but ctokens tokens go to negative!
---------------------------------
Do You Yahoo!?
"更多惊喜,同样精彩,NetVista A30 热卖"
--0-611462377-1048485942=:33792
Content-Type: text/html; charset=gb2312
Content-Transfer-Encoding: 8bit
<P>How to do ensure a class not lended and not borrowed each
2002 Feb 28
6
basic htb setup
Hey all. I''m trying to set up QoS using the HTB qdisc in a very basic
setup, but it the example shown in the howto doesn''t seem to be working.
While the packets show up in the correct classes, they appear to be
completely ignoring the rates, meaning nothing gets shaped.
My setup is that I''ve got a a bunch of machines behind my firewall/router:
1.2.3.1
2004 Oct 21
2
how to read the stats
Hi
I have setup iproute2 and need a bit of help reading the stats from it
===== output
qdisc htb 1: r2q 10 default 20 direct_packets_stat 0 ver 3.17
Sent 547326809 bytes 1342627 pkts (dropped 9303, overlimits 2817572
requeues 0)
backlog 46p
qdisc sfq 10: limit 128p quantum 1514b flows 128/1024 perturb 10sec
Sent 41874343 bytes 730889 pkts (dropped 0, overlimits 0 requeues 0)
qdisc sfq
2004 Jan 28
4
Problems with HTB (ceil being overpassed)
We run a Hosting farm behind a bridge/iptables firewall setup running
Gentoo with kernel 2.4.20-gentoo-r6, connected to a dual 15Mbps
international internet pipe / , as this:
Net Pipe --------- eth1 Bridge/Firewall eth0 -------- Internal Hosting
Network
lately we have been looking at htb to somehow control excessive usage from
the users behind, but in our implementation there seems to be an
2004 Jan 23
2
htbinit and redhat-9.0
dear All,
I'm a new student and my job is too shapping bandwith for our campus faculty network.
I want to implement htb with Redhat-9.0 distro.
does this distro kernel support htb and tc good ? or i should apply some patch or upgrade kernel ?
regards
reza
2003 Aug 24
2
Howto Graph throughput?
I have successfully implemented a QoS system using HTB on a 2Mb/s
leased line and it works very well, but I would like to be able to
graph the three pipes to see what they are doing, eg: using MRTG or
similar.
Has anyone any experience or examples of how to do this please?
Thanks,
Chris
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
2004 Apr 28
1
HTB not obeying to specified rate?
here is the situation
i am using htb.init with fwmark to do QoS.
i have 2 parent classes with RATE=CEIL which then have some leafs each on
his own.
the first one works fine (it shapes the packets to the specified rate)
class htb 1:21 root rate 1Mbit ceil 1Mbit burst 2909b cburst 2909b
Sent 631520262 bytes 651550 pkts (dropped 0, overlimits 0)
rate 131573bps 141pps
lended: 380595 borrowed: 0
2004 Jun 30
3
HTB and iptables statistics
Hello.
The problems are:
1. Using HTB I get negative values for tokens and ctokens in tc -s
output, for example:
mich:~# tc -s -d class show dev eth0
class htb 1:11 parent 1:1 prio 1 quantum 1024 rate 8Kbit ceil 23Kbit burst 1609b/8 mpu 0b
cburst 1628b/8 mpu 0b level 0
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0
tokens: 1287999 ctokens: 453286
class htb 1:1
2003 Apr 14
1
HTB statistics
i want to know what it means to have negative value of ''tokens'' and ''ctokens'' in the HTB statistics or token bucket filtering.
thak you,
maitri.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2003 Mar 16
6
[LONG] Weird problem with HTB using htb.init
This is a long message. Please use a monospace font :)
I''m trying to shape the traffic between my LAN and the Internet. My link is an
ADSL 512/128 line. The network is shaped like this:
LAN GATEWAY ROUTER
------------------ ------------- ------------
| 192.168.0.1/16 | <----> | 192.168.0.1 | <----> | 10.0.0.138
2004 Nov 26
4
HTB dropping packets while tokens available?
Hi again,
I just ran into a seriously strange glitch, and was wondering if anybody
had experienced this...
I have an HTB class with an iptables classifier. The iptables
classifier shows packets hitting the rule for this class.
Now, HTB drops these packets (''dropped'' increases), even although the
packets are small, and there are over 10000 tokens available.
Is there any
2004 Nov 18
5
burst question
This is one of my test classes:
class htb 1:10 parent 1:1 prio 0 quantum 2048 rate 160Kbit ceil 400Kbit
burst 1803b/8 mpu 0b cburst 2111b/8 mpu 0b level 0
Q1: where does "level 0" stand for?
Q2: where does this b/8 stand for?
Q3: this is on a i386 platform, so timer resolution should be 10mS.
According to the doc the minimal burst should be 10mS*160Kbit=1600. Why
is it 1803?
Q4: I
2003 Jan 07
1
Trouble about snmp.html
I used Stef Coene''s snmp.pl.
#./tc.sh
#./get_snmp.pl
#./snmp.pl
#tc -s class ls dev eth0
class htb 20:1 root rate 80Mbit ceil 80Mbit burst 106440b cburst 106440b
Sent 674762 bytes 5660 pkts (dropped 0, overlimits 0)
rate 3bps
lended: 0 borrowed: 0 giants: 0
tokens: 8313 ctokens: 8313
class htb 20:10 parent 20:1 rate 40Mbit ceil 80Mbit burst 54017b cburst 106440b
Sent 670753
2003 Mar 24
1
A and B have immovability bandwith
hi,Stef:
I read your burst test,I have some questions remain.
A and B have immovability bandwith:
If I bound bandwith to machine A and B,in order to it have 4Mbps,the other machine B have 6Mbps,(I have 10Mbps total). between them no permit bend from each other.
whether burst cburst tokens ctokens value is zero. it''s right?
---------------------------------
Do You Yahoo!?
2002 Aug 31
3
HTB shares equally when borrowing enabled :(
Hi,
I''m fighting seriously with a most simple HTB setup. I''d like to share
the incoming 64kbps into 5 and 59 for two different machines under NAT.
HTB seems to hold the required limits when ceil is not set (no
borrowing), but when borrowing enabled it seems to share equally rather
then keeping the specified ratio.
My setup is below. A typical output of "tc -s -d qdisc