Displaying 20 results from an estimated 900 matches similar to: "HFSC and prioritization"
2006 May 09
3
tc del class not working
When I start my script:
* - Creating classes on br1 for upload control ...
* - tc class add dev br1 parent 2:0 classid 2:46 hfsc ls m1
576.0Kbit d 2000ms m2 192.0Kbit ul m2 384Kbit ...
[ ok ]
* - tc class add dev br1 parent 2:46 classid 2:47 hfsc sc umax
1500b dmax 30ms rate 80Kbit . [ ok ]
* - tc class add dev br1 parent 2:46 classid 2:48 hfsc ls m2
152.0Kbit ul m2 152.0Kbit
2002 Sep 20
1
the quantity of imq device
HTB and imq was used to control traffic.
modprobe imq numdevs=3
but only imq0 and imq1 can be used;
if there are five NICs, please tell me how can I can
use imq2 , imq3
and so on.
_________________________________________________________
Do You Yahoo!?
新鲜到底,娱乐到家 - 雅虎推出免费娱乐电子周报!
http://cn.ent.yahoo.com/newsletter/index.html
_______________________________________________
LARTC mailing list /
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
2005 May 03
2
problem with filters - packets ''slipping'' through them when they shouldn''t
Hi!
I''m trying to shape my internet connection traffic using hsfc and I''ve
encountered the following problem (may not be connected with hfsc).
on my lan interface I shape incoming traffic like this:
tc qdisc add root dev eth1 handle 1: hfsc default 1003
tc class add dev eth1 parent 1:0 classid 1:1003 hfsc ls rate 10kbit ul rate
10kbit
tc class add dev eth1 parent 1: classid
2007 Feb 27
2
Creating a contended section of bandwidth with HTB and IMQ
Hi All,
I''m trying to create a contended section of bandwidth using IMQ. I have the
imq0 device up and running, with traffic passing through it.
Firstly, I need to throttle the entire device imq0 to 2mbit/s.
I would then like to add throttle rules for individual IP addresses, allowing
them to pass up to 512kbit/s each, as long as imq0 has not reached its
2mbit/s.
The configuration
2006 Jun 23
4
English translation of article on HFSC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Greetings all,
Working in concert with the original authors, Klaus Rechert and
Patrick McHardy, I have translated their article "HFSC Scheduling
mit Linux" [0] on Hierarchical Fair Service Curve (HFSC) into
English [1].
http://linux-ip.net/tc/hfsc.en/
Although the original content is not available directly from their
website,
2005 Nov 25
7
tcpdump not working with imq0 devices
On my debian woody (kernel 2.4.31) the tcpdump
doesn''t work with imq0 devices. If I try to tcpdump
imq devices there is no packet seen:
[...]
rt1:~# tcpdump -n -i imq0
Warning: arptype 65535 not supported by libpcap - falling back to cooked socket
tcpdump: WARNING: imq0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on
2004 Jun 24
2
htb vs hsfc
HTB versus HFSC, both qdisc offer the same kind of service,
if you want to see comparative test results, go to
http://www.rawsoft.org
at the line "TEST RESULTS" you will find the results for
a sharing test and a burst test.
You will see that both qdisc are good.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
2004 Dec 22
0
HFSC again.
Hello list,
I am now using hfsc for QOS. I have something like this:
tc qdisc add dev ethx root handle 1: hfsc default 9
tc class add dev ethx parent 1: classid 1:1 hfsc ls m2 70mbit ul m2 70mbit
tc class add dev ethx parent 1:1 classid 1:9 hfsc ls m2 7mbit
#DNS stuff follows
tc class add dev ethx parent 1:1 classid 1:2 hfsc rt m1 12mbit d 1ms m2 1mbit
#Half-life
tc class add dev ethx parent
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
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 May 27
4
Wanted Good Documentation on HFSC
Hello All,
I am trying to prioratize VOIP traffic from data.
The follwing link says that HFSC is better than HTB for shaping VOIP traffic.
http://www.voip-info.org/wiki-QoS+Linux+with+HFSC
I am in search of good documentation to start with HFSC,
I am unable to understand the parameters used.
I "googled" a lot to find on how to use HFSC, but no luck.
Can anyone of you get me a link To
2004 May 12
4
HFSC
Hi:
I am using a machine with the 2.4.26 kernel, and trying to compare the
performance of the HTB qdisc with the HFSC one. I have the following
simple script that allows me to have a video stream on port 1234 while
it limits a ttcp UDP stream so that the video stream is unimpaired.
#!/bin/bash
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:1
2006 Sep 17
1
HTB and HFSC,declaration tc command question
I have a lot question about tc-command because now i''m doing research to compare
performance between HTB and HFSC
so i''m doubt a lot thing and your reply are so very helpful to me ... My question is
In HTB tc command question
1. I''m use opensource (Mastershaper) for help to config traffic control
but when i''m try to config HTB,
I''m doubt about
2002 May 21
5
ingress and egress
ingress can be used to control the incoming packet,
such as:
tc qdisc add dev eth0 handle ffff: ingress
tc filter add dev eth0 parent ffff: protocol ip prio 5
u32 match ip src 172.16.1.11 police rate 10kbit burst
10k drop flowid :1
tc filter add dev eth0 parent ffff: protocol ip prio 5
u32 match ip src 172.16.1.22 police rate 10kbit burst
10k drop flowid :2
first ,I do not sure these method can
2006 Sep 10
3
HFSC traffic loss bug, kernel 2.6.16.24
Hello,
I have finally managed to understand HFSC up to a level which allowed me to
create a QoS script which maintains low VoIP latency while running stuff
like eMule.
Unfortunately, HFSC seems to have a severe bug.
Why do I consider this as a bug defenitely?
Well, my script runs without any errors, then QoS works perfectly for some
hours, no error messages in kernel log.
Then randomly the
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
2007 Dec 15
1
hfsc and bps
Hi!
Do you know somthing about hfsc and bps?
There''s no output for speed only for packets. Doesn''t hfsc support such
a field?
tc -s class show dev eth0
class hfsc 1: root
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
period 0 level 2
class hfsc 1:11 parent 1:1 sc m1 0bit d 18.0ms m2 1000Kbit ul m1 0bit d
0us m2
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 Dec 14
1
hfsc rule command problem
My hfsc rule ..
tc qdisc add dev eth2 handle 1: root hfsc
iptables -t mangle -N ms-all
iptables -t mangle -N ms-all-chains
iptables -t mangle -N ms-prerouting
iptables -t mangle -A PREROUTING -j ms-prerouting
iptables -t mangle -A ms-prerouting -j CONNMARK --restore-mark
iptables -t mangle -A ms-prerouting -p udp --dport 4444 -j MARK --set-mark 1
iptables -t mangle -A ms-prerouting -p udp -m