Displaying 20 results from an estimated 7000 matches similar to: "basic htb setup"
2005 Nov 14
6
Transfer speed exceeding the ceil
What''s going on here? I''m spewing UDP traffic at this thing, and it is
exceeding the ceil. Anyone know how to fix this?
class htb 1:613 parent 1:5 leaf 613: prio 6 quantum 2560 rate 20480bit
ceil 103360bit burst 15Kb/8 mpu 0b overhead 0b cburst 1728b/8 mpu 0b
overhead 0b level 0
Sent 16591370 bytes 4159 pkt (dropped 39449, overlimits 0 requeues 0)
rate 412384bit 6pps backlog 0b
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
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
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 Jul 27
12
Weird HTB behaviour in 2.6.17
Hello,
I''ve just compiled the kernel 2.6.17 and noticed an odd HTB behaviour.
For instance:
tc class add dev eth0 parent 1:1 classid 1:30 htb rate 1kbit ceil
750Kbit burst 15k
tc filter add dev eth0 parent 1:0 protocol ip prio 15 u32 match ip dst
192.168.5.1 classid 1:30
The filter works ok and the traffic to 192.168.5.1 flows through the
class 1:30, but the rate gets much higher than
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
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
2006 Feb 24
4
why isn''t 1:1 getting the traffic? [filter question]
With the below script, whenever I ping 10.0.16.10 (which matches the
only filter I have), traffic still get''s sent to the default 1:2 class
instead of 1:1 and I don''t know why... Any hints?
(kernel 2.6.12, iproute2-2.6.15)
tc qdisc del dev eth0 root > /dev/null 2>&1
tc qdisc add dev eth0 handle 1: root htb default 2
tc class add dev eth0 classid 1:1 parent 1: htb rate
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 Jan 06
6
HTB traffic shaping odd effects
Hi,
I''m trying to perform some (what I consider) basic traffic shaping on
our network utilising HTB. I have mostly reused the example on the
lartc.org site:
tc qdisc add dev eth0 root handle 1: htb default 10
tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit burst 24k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 50mbit ceil
80mbit burst 19k
tc class add dev eth0
2003 Jul 05
13
HTB doesn''t respect rate values
Hi,
machine: AMD K6 200 MHz
Linux distribution: Mandrake 8.1
kernel: compiled 2.4.21
applied this:
#define PSCHED_CLOCK_SOURCE PSCHED_CPU in file
linux/include/net/pkt_sched.h bevore compiled the kernel
(described on http://www.docum.org/stef.coene/qos/faq/cache/40.html)
bandwitch on eth0: 128kbit
The most simple configuration - 122kbit guaranted for WWW (sport 80) and
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
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 Sep 26
1
Hmmm... Weird results with HTB in kernel 2.6.11
Hi all,
I have been getting some strange results with HTB in kernel 2.6.11, and
was wondering if anybody could give me some advice. Also, if someone
could direct me to the changelog for the recent versions so I can see if
it is worth upgrading?
Anyway, the problem can best be summed up by looking at the output of
''tc -s -d class show dev eth0''. Some of the relevant results
2006 Sep 08
8
htb traffic shaping problem
Hello.
I have a linux server connected to a gigabit lan, and though that lan to a
768kbps/768kbps DSL modem.
I''m trying to shape my webserver running on port 80/443 down to 512kbps,
while leaving all other ports alone. The current configuration script that
I''m using is as follows:
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 99
tc class add dev
2002 Apr 26
9
[Fwd: Re: borrowing only from parent]
Martin Devera wrote:
> If you read the manual, the algorithm will not work correctly
> with {,c}burst < MTU ...
> devik
>
I just tried to change {,c}burst to 1600, or leaving them by default but
no visible result.
here is the latest tc -s -d class show dev eth0
class htb 1:101 parent 1:1 prio 0 rate 40Kbit ceil 40Kbit burst 1599b/8
mpu 0b cburst 1599b/8 mpu 0b quantum 512 level
2007 Oct 31
2
Sluggish throughput with htb
All,
I have been using the following as a means of rate limiting access to the Internet via eth0 (which connects to my cable modem) and it was working great with my 2.4.20 kernel:
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 1
tc class add dev eth0 parent 1: classid 1:1 htb rate 486kbit ceil 486kbit
tc qdisc add dev eth0 parent 1:1 handle 10: sfq perturb 10
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
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 Jul 28
3
Re: Re: HTB 3.13 please help
//Just to not forget eth0 is WAN and eth1 is LAN . The box is NATing my lan.
I configured tcng to shape both download and upload
and i got connection loss again.
Maybe it is my script fault or it is something bad with packets marking .
this is how i mark outgoing packets
iptables -t mangle -A MYSHAPER-OUT -p tcp -s 192.168.1.23 -j MARK --set-mark
$ip
and this part of my script which is intented