Displaying 20 results from an estimated 1000 matches similar to: "HTB traffic shaping odd effects"
2002 Oct 21
9
help, a children can not borrow from a parent?
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
2004 Apr 06
11
htb2 -> htb3 problems
Hello!
I need to switch from htb2 to htb3, because of speed issues (for me,
htb2 is unable to handle more then 100mbit duplex with ~550 classes),
kernel profiling shows htb_dequeue_prio at 1st place with 3x isolation.
So, I''ve moved from 2.4.19 to 2.4.25 kernel (hi-pac for classification/marking
and htb3 for queueing), and traffic rate drop from 100 to 20mbit.
What can be wrong? The
2004 Oct 28
12
HTB: Problem with excess bandwidth distribution
Hello,
I have a serious problem with HTB which I wasn''t able to solve myself.
I run a masquerading router with ppp0 as interface to the Internet.
Three clients need to share a downstream of 1 MBit, which I want
to divide with tc.
When I see a packet being forwarded to one of these clients, I give
it the appropriate unique mark:
iptables -t mangle -A FORWARD -d 192.168.34.141 -j MARK
2006 Nov 16
2
Online filesystem check
Hi all,
a while ago one of my work colleagues attended a seminar with Ted Tso, and
at the time Ted was talking about a way to perform online ext3 filesystem
checks. I can't find any information on it by googling, is it implemented in
current versions of the filesystem utilities? Either way, does anyone know
where I can find more information on it?
--
Regards,
Oliver Hookins
Anchor Systems
2007 Jun 15
2
HTB question, tokens.
Hi,
What exactly are the "tokens"?
I thought each token allowed the sending of one byte, that tokens are
stored in a bucket that can hold a max of "burst" tokens, and that this
bucket is filled with tokens at "rate".
But theory does not seem to explain the "tc -s .." output in the
examples below. And I can''t figure out why or how...
#tc qdisc
2002 Dec 04
3
HTB/IMQ troubles (probably)
Hello,
I use HTB with linux-2.4.20-ac1 and iptables-1.2.7a (pathced for IMQ).
I configured one HTB qdisc on an IMQ device. This qdisc has some classes
(about 5) and all of the classes has qdisc pfifo.
I sometimes got out from my linux (while I was working) and I found in
logs:
Dec 4 11:49:27 core kernel: HTB init, kernel part version 3.7
Dec 4 11:49:28 core kernel: HTB: quantum of class
2004 Jun 21
1
tbf token help
Hi all!
I just started to experiment with bandwidth management using tbf.
I have the folowing problems with token understanding:
1) What unit is token? Is "1 token = 1 byte" ?
If this is so, then with rate=0.5mbit and HZ=100 the bucket gets filled
with 0,64kb (655 tokens) every 10ms?
2) How much tokens are used for one packet (1500)?
3) And token unrelated question. Does
2006 Nov 12
9
Why did I need strange ceiling settings? (full version)
Sorry I pressed the wrong key and sent the message too early...
> -----Ursprüngliche Nachricht-----
> Von: Philipp Leusmann [mailto:philipp.leusmann@rwth-aachen.de]
> Gesendet: Mittwoch, 8. November 2006 12:53
> An: ''lartc@mailman.ds9a.nl''
> Betreff: Why did I need strange ceiling settings?
>
> Hi all,
>
> I recently installed traffic shaping on my
2006 Apr 26
1
HTB - Rate errors
Hi,
I''m trying to get HTB working correctly on Centos4 (RHEL-based) with
kernel 2.6.9-34.EL. I have two gigabit network interfaces bridged
together and I have created the following:
tc qdisc add dev eth2 root handle 1: htb default 1 r2q 8000
tc class add dev eth2 parent 1: classid 1:1 htb rate 100Mbit burst 24k
cburst 24k
(I have been trying different parameters).
The network is
2005 Aug 02
2
internet traffic from tbf
Hi have set the following tbf
tc qdisc add dev eth0 root tbf rate 0.5mbit \
burst 5kb latency 70ms peakrate 1mbit \
minburst 1540
I want to add a filter so the ip traffic pass from
it.. plz help me
__________________________________
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html
2006 Feb 20
6
HTB, strange capacity distribution
Hello,
after spending several hours reading archives, I decided to write new
post.
I successfully set up packet classification, made some basic HTB
setup, made some simple graphical representation from HTB statistics
data...
BUT, I cannot figure out how to refine HTB to get this behaviour:
I need that class "p2p" should be the last one to get some link
capacity.
If I set both RATE
2007 Nov 19
15
Unexpected results using HTB qdisc
Hi All,
I am using the script below to limit download rates and manage traffic for a certain IP address and testing the results using iperf. The rate that iperf reports is much higher than the rate I have configured for the HTB qdisc. It''s probably just some newbie trap that''s messing things up but I''m buggered if I can see it.
The following script is run on the
2005 Nov 15
1
UDP transfer speed exceeding the ceil by about 4x
A bit more detail.
I have the following htb classes set up...
class htb 1:356 parent 1:4 leaf 356: prio 4 quantum 1600 rate 12800bit
ceil 51680bit burst 15Kb/8 mpu 0b overhead 0b cburst 1663b/8 mpu 0b
overhead 0b level 0
class htb 1:357 parent 1:4 leaf 357: prio 4 quantum 1600 rate 12800bit
ceil 51680bit burst 15Kb/8 mpu 0b overhead 0b cburst 1663b/8 mpu 0b
overhead 0b level 0
class htb 1:2 root
2007 Sep 16
1
Yet another shaping question
Hello list,
I need to realize a complicated custom shaping setup, and given very
little experience with shaping I just can''t wrap my head around it. I am
not seeking a complete script, I just need an idea/a set of pointers on
how to best subdivide traffic accordingly to my needs, and which shapers
to place on every leaf. I am very experienced with netfilter and have
minor experience with
2007 Oct 25
7
TC (HTB) doesn''t work well when network is congested?
Hi,
I have a server and ten clients in a Gigabit network. The server has
125mbps network bandwidth.
I want that the server has 40Mbps bandwidth reserved for client 1 (IP
192.168.5.141), and the
rest bandwidth is for all other clients.
My script looks like this (I use IFB for incoming traffic):
#!/bin/bash
export TC="/sbin/tc"
$TC qdisc add dev ifb0 root handle 1: htb default 30
2006 Sep 09
2
Re: htb traffic shaping problem (Charlie Meyer)
Eric,
I''ve attached the output from the command you requested below.
I''m using kernel 2.6.17.12 and tc version ss060323. I''m have a nforce4
onboard giggabit controller using the forcedeth driver, if that makes a
difference.
Charlie,
I''ll take a look at the Apache model for throttling, thanks. I was going
for tc because was going to try to add additional
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
2005 Apr 12
8
HTB ATM MPU OVERHEAD (without any patching)
I know there is that handy patch available to very efficiently use ATM
bandwidth, but I was wondering what the best values to use with a
non-patched iproute2 would be. Anyone here care to check my logic in coming
up with these numbers and perhaps suggest better values?
My transmit speed is 768kbps per ADSL line (I have two). This is the HTB
shaping I do on the interface (logic used for this
2004 May 13
19
HTB MPU
Hi.
I wrote in a reply to a mail on here recently that you can''t set mpu
(minimum packet unit) on HTB as you can on CBQ.
I''ve just noticed that there is a patch on devik''s site which does mpu
and overhead.
http://luxik.cdi.cz/~devik/qos/htb/
For dsl users mpu is, for practical purposes going to be 106 - overhead
is still variable though, depending on packet size.
2006 Aug 24
3
Help On Upload Limiting Using CBQ.init
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Guys
Ive got an internet cafe on which I have a debian sarge box running.
The Debian box acts as a gateway and it has masquerading on. I have 40
client PC and i do not want to assign more than 64k per pc for upload
and the same is true for download too. Ive done alot of research and Ive
read tutorials about CBQ and HTB. I found that CBQ.init is