Displaying 20 results from an estimated 300 matches similar to: "hfsc and bps"
2006 Mar 13
3
hfsc and dropped packets
Hi,
I''m trying to get a handle on hfsc. Here is my configuration:
root@jmnrouter:/jmn# tc class show dev vlan1
class hfsc 1: root
class hfsc 1:1 parent 1: ls m1 0bit d 0us m2 225000bit ul m1 0bit d 0us m2
225000bit
class hfsc 1:10 parent 1:1 rt m1 191000bit d 25.0ms m2 135000bit ls m1 0bit
d 0us m2 135000bit ul m1 0bit d 0us m2 225000bit
class hfsc 1:20 parent 1:1 rt m1 22008bit d
2006 Sep 21
1
HFSC statistic show question
after i use "tc -s -d class ls dev eth0" will show statistic data about HFSC ,like this
root@ubuntu:/home/shaper# tc -s -d class ls dev eth2
class hfsc 1: root
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
period 24 work 13844792199226589188 bytes rtwork 20937281664 bytes level 3461036864
class hfsc 1:11 parent 1:1 sc m1 30720Kbit d 10.0ms m2 30000bit ul m1 0bit d 0us m2
2006 Mar 21
5
HFSC and default qdisc backlog
I don''t understand the following:
root@jmnrouter:~# tc -s class ls dev vlan1 && tc -s qdisc ls dev vlan1
class hfsc 1: root
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
period 0 level 2
class hfsc 1:1 parent 1: sc m1 0bit d 0us m2 220000bit ul m1 0bit d 0us m2
220000bit
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
period 31304 work 7533852 bytes level 1
class hfsc 1:10
2005 May 27
3
FW: HFSC + ESFQ - class statistics
Hello,
First I want to point out that I''m not so familiar with HFSC,
since there not so much info online.
But here is my script:
${TC} class add dev ${LAN_IFACE} parent 1:0 classid 1:1 hfsc ls rate
100mbit ul rate 100mbit
${TC} class add dev ${LAN_IFACE} parent 1:1 classid 1:2 hfsc ls rate
90mbit ul rate 90mbit
${TC} class add
2005 Jul 06
1
HFSC default upper-limit trouble
Hello,
I''m having such problem with HFSC with following config:
+ tc qdisc del dev eth3 root
+ tc qdisc add dev eth3 root handle 1: hfsc default 2
+ tc class add dev eth3 parent 1: classid 1:1 hfsc ls rate 512kbit ul
rate 512kbit
+ tc class add dev eth3 parent 1:1 classid 1:2 hfsc ls rate 2kbit ul
rate 400kbit
+ tc class add dev eth3 parent 1:1 classid 1:3 hfsc ls rate 32kbit ul
rate
2005 Oct 11
3
Inaccurate results without natting the traffic.
Hi folks.
For quite a while, I tried to use linux (cbq and htb) to control
bandwidth in order to replace a cisco equipment used to play this role
on our network.
After trying here and there, with a bunch of different distros,
different versions, different compilations, ... the closest I could
get was as follows:
(using htb.init and cbq.init)
Desired BW ==> Achieved BW
128k ==> 404.78
2006 Dec 05
1
Bridge HFSC QOS questions ...
Hello,
I''ve got somes questions about Bridge and QOS ...
I''ve got a serveur with 2 interfaces eth0,eth1 inside br0 bridge ...
nothing of special ...
If I understand all, normally I should configure TC class and qdisc on
each physical or use ebtables to manage packets on output ... right ?
I''ve attached my qos_script that hsfc and layer7 module. I use only
Iptables
2007 May 16
5
statistics and calc bandwidth traffic using tc -s qdisc show
2005 Sep 26
1
Qos, HFSC and VoIP
Hello,
I''m using Linux kernel 2.6.x and tc (from iproute2 package).
I''m trying to use HTB or HFSC scheduler in order to limite the rate of outgoing packets and also in order to minimiez delay for RTP stream.
But I didn''t suceed in having this 2 QoS services working.
I use Iptables in order to classify packets. Here is my HFSC conf.
In fact the pings that i send from
2007 Aug 19
0
HTB qdisc within HTB root qdisc
Hello...
Im trying to setup HTB to allow me to shape traffic from two upstreams
that meets on single lan0 interface. I prefer to use HTB qdisc
within HTB root qdisc for cleaner rules design.
Seems that it doesnt work at all. tc -s class show doesnt
show any traffic on other classes attached to HTB qdisc.
Linux 2.6.20.7
iproute-2.6.20-070313
Weird thing is that tc -s class show that 1: and 2:
2007 May 19
1
Re: LARTC Digest, Vol 27, Issue 26
Hi folks...!!!
I need to generate qdisc statistics to show my 4 class (10, 20, 30, 40),
i`ve all working with HTB and so on, but i need to graph this results
e.gwith RRDTOOL.
I found a script made in perl, that can to graph my 4 class, but i need to
know which IP address on my LAN are using the bandwidth too, in other hand i
need to classify the traffic by IP to show.
This is an out of my
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
2006 May 19
25
iptables CLASSIFY and MARK not working?
I have to match my packets based on MAC address, which I cannot do in
the POSTROUTING chain, so I do it in PREROUTING using MARK. Then, I
match on the MARK in the POSTROUTING chain to do a CLASSIFY. But this
does not seem to work:
wireless-r1 bwlimit # iptables -L -v -n -t mangle
Chain PREROUTING (policy ACCEPT 3353K packets, 941M bytes)
pkts bytes target prot opt in out source
2006 Sep 14
10
tc is giving an error: RTNETLINK answers: File exists
Hello,
I''m using tc to limit the bandwidth of our wireless customers. I have a
working script, but I''m not happy with it. I''m trying to write a more
sophisticated script, but when I run it, it give me this error:
RTNETLINK answers: File exists
I have no idea what this error means or how to fix it. Here is a portion
of the script (the whole script shapes several
2005 Nov 11
2
marked packets end up in wrong class
Hello,
I have recently started looking at tc and iptables. I have an htb-queue
with two classes 1:10 and 1:20 where 1:20 is the default. Then I use
iptables to mark all packets I send out on eth1. I then filter marked
packets into class 1:10. I expected all packets sent on eth1 to end up in
class 1:10, but some packets still go to 1:20. Did I do it wrong?
Thank you for any help.
regards,
David
2006 Sep 28
0
please reply as soon as you can about HFSC bandwidth
I have important question about bandwidth allocation statistic show when i''m use "tc -s -d class ls dev eth2"
At first, before testing I think "work" parameter from this command are real bandwidth in each class but when i''m calculate this parameter ... it''s too big number ... like it''s not a bandwidth rate and it''s may be some
2007 Jun 09
7
vlan interfaces and tc
Hello
I have few questions regarding tc functionality (qdiscs, classes, etc.) when
vlans are in use. For example, consider interface eth0, for which I create
and extra vlan with vconfig, let''s say eth0.11. Then using tc I can add
usual things - qdiscs, filters, ... - to both eth0 and eth0.11. The
questions are:
- on which interface - virtual or real, should I actually use tc ? Or
2006 Jul 30
5
questions about HFSC, VoIP and (dynamic) ingress shaping
Hello,
I just found the great howto and started shaping my internet connection. The
howto''s last update is a liitle in the past now so I have some questions
about how things are done the best way nowadays ;-)
To ensure a stable and low latency voip communication I added an HFSC qdisc to
device ppp0 (1 Mbit SDSL). There are two classes (by now): One for SIP and
RTP and one for the
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
2007 Aug 24
3
traffic shaping stranges
Hello list,
I discover strange behaviour of shaping traffic that i setup from
Shorewall-4.0.2.
I know that this is not Shorewall problem but may be somebody from list
can help me
or explain this situation.
I have follow interfaces in 'tcdevices' files:
#INTERFACE IN-BANDWITH OUT-BANDWIDTH
#
$EXT_IF 500kbit 248kbit
$INT1_IF 500mbit