Displaying 20 results from an estimated 11000 matches similar to: "What is the reccomended minimum rate for leaf htb class for accurate operation?"
2004 Oct 06
4
Re: What is the reccomended minimum rate for leaf htb classfor accurate operation?
Zviad O. Giorgadze wrote:
> My ISP provides guarantied 115kbit bandwidth for GLOBAL TRAFFIC. During the low load period (early morning, evening, night) customers can get up to 1mbit traffic.
That''s download traffic we''re talking about, since you seem to be
shaping on your local LAN interface? Variable rate ISPs are tough
to shape right, I guess...
Does this 115kbit vs.
2004 Oct 13
5
Re: Is this actually possible?
>Hi everyone, and thanks for your help so far.
>
>I have been playing around with tc and htb for a couple of weeks now, and
>while I am nowhere near understanding everything here, I am beginning to
>know more about packets than I ever wanted to know.
>
>I have two university buildings with a 1mb connection to the Internet. The
>two buildings (on either side of town) are
2004 Oct 12
1
Is it possible to shape variable bandwidth?
Hello LARTC,
Internet connection - ADSL, interface nas0 (115kbit guarantied, up to 1mbit possible. Depends on ISP load, impossible to guess).
Internal interface LAN, eth0.
Is it possible to successfully shape download traffic on eth0 using HTB?
Classes must have guarantied rate calculated from 115kbit possible rate (for example 3 classes) and the possibility to borrow up to 1mbit (depends on ISP
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
2005 Jan 01
2
htb bridge problem, please chceck my config
hello. i have following setup:
a machine (winChip 200mhz cpu, 32mb ram, linux 2.4.28) acting like a bridge
with
2 interfaces (eth0 - to our ISP, eth1 - to our network)
machine does not have any IP
there is a 802.1q vlan eth0.2
eth0.2 and eth1 are bridged in br0
i have one 4mbit link which i share with my friend, i have 3mbit and he has
1mbit
all our IP addresses are public and we have the
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
2006 Mar 31
2
__Very__ Low Bandwidth
I am using the script below to simulate a very low bandwidth connection.
I found that I could turn the bandwidth knob down to about 4kbit, but
below that I didn''t get any traffic through. I''ve had a look at this
generally, but couldn''t find an answer. It doesn''t even seem like the
first reply packet gets through. I have tried it with much bigger
buffers,
2004 Oct 07
0
Re: Re: What is the reccomended minimum rate for leaf htb class foraccurate operation?
>"Zviad O. Giorgadze" wrote:
>> # Put flow to corresponding classes
>> tc filter add dev eth0 protocol ip parent 1: u32 match ip dst 192.168.0.1 flowid 1:21
>> tc filter add dev eth0 protocol ip parent 1: u32 match ip dst 192.168.0.2 flowid 1:22
>> tc filter add dev eth0 protocol ip parent 1: u32 match ip dst 192.168.0.3 flowid 1:23
>> tc filter add dev
2005 Dec 15
3
tc strange behaviour
hi all,
I''m trying to do the following:
tc qdisc add dev eth0 root handle 1: htb default 15
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 1mbit
tc class add dev eth0 parent 1:1 classid 1:15 htb rate 512kbit ceil 1mbit
what I expect:
limit outgoing traffic to 1mbit, start rate is 512kbit and let it grow
up to 1mbit
(correct me if i''m wrong here)
so, here is the problem
2005 Feb 12
4
HTB metro/international
Hi all!
I have a problem setting up HTB on my home network.
I have a network: 192.168.1.0/24 and I want to limit the download to 200 KB to
every IP from my city ( I have the IP''s of most ISPs). The thing is that I I
want to limit the international traffic too (I do not use BGP) and set it
to 15 KB. Can someone help with this setup? Thanks!
Best regards,
--
George
--
This message
2007 Jun 19
4
Why does this script noet work (bandwidth, tc en u32)
Hi,
Can anyone point me out where the script below is wrong?
All I want is that host 172.31.1.1 can only use 10 megabit. If I run
this script on the in-between router nothing happens (the host uses
still the full 100 mbit, tested with iperf) , so i assume that something
must be wrong....
#!/bin/sh
# LAN1 NIC
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb
tc class add dev
2005 Jan 24
3
Htb, imq and sfq traffic shaping
Hello,
I wrote a simple traffic shaping script (below) that should have allowed me to shape my internet traffic a bit (ppp0 - adsl 128kbit/64kbit; local interface eth0).
The script works only partially - the speed is being limited but too much. Without running this script my download rate is about 10kBytes (with second computer also downloading at about 6kBytes). After running it my download speed
2003 Jul 18
2
HTB + BRIDGE QUESTION!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! HELP!!!!!!!!!!!!
Hi everybody!
I am very glad to get htb test information from www.docum.org for the htb performance.
Today, I setup a bridge using brctl. my setup as following:
192.168.2.26 | | |
|------------- | HTB+BR box |-------- 192.168.2.18
| eth0 | | eth1
192.168.2.29 | | |
I want to limit
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
2005 Dec 14
3
exact rate
Hello
I am using htb (krenel 2.6.14.3 + esfq patch from fatooh.org) to limit the
bandwidth. But I want the absolute maximum rate to be for example 5Mbit
and not to exceed it.
here is the script:
$tc qdisc add dev ${NETIF} root handle 1 htb r2q 4
$tc class add dev ${NETIF} parent 1: classid 1:21 htb rate 5Mbit ceil 5Mbit
$tc class add dev ${NETIF} parent 1:21 classid 1:101 htb rate 2Mbit ceil
2005 Jun 18
6
htb child classes don''t borrow form "parent''s parent class" :(
Dear list,
I have the problem that child classes don''t seem to issue the parent
class to borrow from their parent.
This is a simplified version of my script:
tc qdisc del dev $DEV root
tc qdisc add dev $DEV root handle 1: htb default 10
tc class add dev $DEV parent 1: classid 1:1 htb rate 10mbit
tc class add dev $DEV parent 1:1 classid 1:10 htb rate 1kbit ceil
512kbit
#groups
tc
2007 Jun 20
8
Why does scp stall on low bandwidth connections?
Hi,
I am new to tc and have been reading quite a bit on how to set it up etc.
Everything seems to be working fine, until I started scp-ing a large file
over a low bandwidth connection as part of my testing process.
Here is the setup:
my pc --- bridge running tc/htb --- rest of network
TC is filtering traffic from "my pc" and classifies it as 120kbit (see my
script below). I then scp a
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 07
1
(no subject)
Hello
I was testing HTB using IPerf TCP traffic and the results were very good.
Until I tried to add some UDP traffic the results were a little strange.
this is my setup
tc qdisc del dev eth1 root
tc qdisc add dev eth1 handle 1:0 root htb default 2
tc class add dev eth1 parent 1:0 classid 1:1 htb rate 1mbit
tc class add dev eth1 parent 1:1 classid 1:2 htb rate 500kbit ceil 1mbit
tc class add
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