Displaying 20 results from an estimated 80 matches for "direct_packets_stat".
2013 Jul 17
2
Libvirt "tc ingress qdisc" automatically removed by ovs vlan tag setting, how?
...</bandwidth>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>
</interface>
...
# tc qdisc ls dev tap0a2b02ca-48
qdisc htb 1: root refcnt 2 r2q 10 default 1 direct_packets_stat 0
qdisc sfq 2: parent 1:1 limit 127p quantum 1514b perturb 10sec
qdisc ingress ffff: parent ffff:fff1 ---------------- (<-- already showed up)
# ovs-vsctl set port tap0a2b02ca-48 tag=1
# tc qdisc ls dev tap0a2b02ca-48
qdisc htb 1: root refcnt 2 r2q 10 default 1 direct_packets_stat 0
qdisc sfq...
2002 Jun 06
1
parameter of htb
...parent 1: classid 1:12 rate
60kbps ceil 100kbps burst 2k
tc filter add dev eth0 protocol ip parent 1:0 prio 1
u32 match ip src 172.16.11.2 flowid 1:10
i login 172.16.11.2 and copy a large file from the
server set traffic control.
tc -s -d qdisc show dev eth0
qdisc htb 1 dev eth0 r2q 10 default 12
direct_packets_stat 0 Sent 34210198 bytes 23370
pkts(dropped 0 overlimits 35534)
!!!!first question: what is meaning of "r2q" and
"direct_packets_stat"
tc -s -d class dev eth0
class htb 1:11 root prio 0 quantum 3072 rate 240kbit
ceil 800kbit burst 2kb/8 mpu 0b cburst 2636b/8 mpu 0b
level 0 S...
2003 Apr 15
3
IMQ+HTB problem
...86 bytes)
pkts bytes target prot opt in out source
destination
and also out put of tc
[root@bridge root]# tc -s -d qdisc show
qdisc sfq 20: dev imq0 limit 128p quantum 1500b flows 128/1024
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
qdisc htb 10: dev imq0 r2q 10 default 1 direct_packets_stat 0 ver 3.6
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
qdisc htb 1: dev imq0 r2q 10 default 1 direct_packets_stat 0 ver 3.6
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
and ifconfig of imq device
imq0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP...
2005 Sep 28
1
Does HTB consider PRIO or not?
...ork at all. IS IT REALLY SO??? I changed kernel from 2.4 to 2.6 , thought it is a kernel problem, no way it is not working.
My system :
Pentium 500
Ram 256 Mb
2 networks cards (in and out)
Linux Slackware 9.1
Kernel 2.6.13.2
iproute2
Some output from htb.init list
qdisc htb 1: r2q 10 default 20 direct_packets_stat 119
class htb 1:5 parent 1:2 prio 1 rate 128000bit ceil 950000bit burst 1663b cburst 2074b
class htb 1:14 parent 1:2 leaf 14: prio 7 rate 18000bit ceil 900000bit burst 1608b cburst 2Kb
I use HTB.INIT to generate HTB rules.
Have a good day!!!!
Oleg R.
__________________________________________...
2013 Jul 17
0
Re: Libvirt "tc ingress qdisc" automatically removed by ovs vlan tag setting, how?
...t;alias name='net0'/>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
> function='0x0'/>
> </interface>
> ...
>
> # tc qdisc ls dev tap0a2b02ca-48
> qdisc htb 1: root refcnt 2 r2q 10 default 1 direct_packets_stat 0
> qdisc sfq 2: parent 1:1 limit 127p quantum 1514b perturb 10sec
> qdisc ingress ffff: parent ffff:fff1 ---------------- (<-- already showed up)
>
> # ovs-vsctl set port tap0a2b02ca-48 tag=1
> # tc qdisc ls dev tap0a2b02ca-48
> qdisc htb 1: root refcnt 2 r2q 10 default 1 dir...
2005 Oct 06
1
HTB problem running on VLAN, not working
...ems to be fine, but is not. My PC is served as default traffic and not as uniqe class. When I''d removed default from root classes then all traffic, including my PC was served as root class traffic.
Here is dump from statistics:
### eth0: queueing disciplines
qdisc htb 1: r2q 1 default 0 direct_packets_stat 9500
Sent 4585808 bytes 9500 pkts (dropped 0, overlimits 0)
### eth1: queueing disciplines
qdisc htb 2: r2q 1 default 0 direct_packets_stat 9782
Sent 7806825 bytes 9782 pkts (dropped 0, overlimits 0)
backlog 3p
### eth2: queueing disciplines
qdisc htb 3: r2q 1 default 0 direct_packets_stat 1...
2005 Oct 28
0
Issues in setting up different priorities for the MAC match filter
...parent 13E:2 tbf rate 1bps burst 1 latency 50ms
tc filter add dev eth1 parent 1:0 prio 4 protocol ip u32 ht ffe:3E match
u32 \
0x000bcd59 0xffffffff at -12 match u16 0x123E 0xffff at -8 flowid
1:13E
/* test ends here */
Output from tc:
~ # tc qdisc show dev eth1
qdisc htb 1: r2q 1 default 0 direct_packets_stat 193
qdisc htb 140: parent 1:140 r2q 1 default 0 direct_packets_stat 0
qdisc tbf 8001: parent 140:2 rate 8bit burst 0b lat 1us
qdisc htb 13e: parent 1:13e r2q 1 default 0 direct_packets_stat 0
qdisc tbf 8002: parent 13e:2 rate 8bit burst 0b lat 1us
The output from the tc when I type "tc filter...
2004 May 08
2
PRIO qdisc with HTB
...NOWN]
class htb 1:1 root leaf 10: prio 0 rate 3000Kbit ceil 3000Kbit burst 5439b
cburst 5439b
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0
tokens: 14505 ctokens: 14505
---------------------------------------------------------------
qdisc htb 40: r2q 10 default 0 direct_packets_stat 0
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
qdisc htb 30: r2q 10 default 0 direct_packets_stat 0
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
qdisc htb 20: r2q 10 default 0 direct_packets_stat 0
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
qdisc prio 10: bands 3 priomap 1 2 2 2 1 2 0 0 1...
2007 Aug 19
0
HTB qdisc within HTB root qdisc
...htb 2:13 parent 2:1 rate 3000Kbit ceil 5000Kbit burst 5349b cburst
7849b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 14266 ctokens: 12560
# tc -s qdisc show dev lan0
qdisc htb 10: r2q 10 default 0 direct_packets_stat 10390983
Sent 4202459134 bytes 10919087 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc htb 1: parent 10:11 r2q 10 default 0 direct_packets_stat 0
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc htb 2: parent 10:12 r2q 10 defa...
2004 Apr 19
0
Packet Dropped by HTB qdisc
Hi,
"tc -s qdisc show dev eth0" shows
qdisc htb 1: r2q 10 default 256 direct_packets_stat 48
Sent 687354936 bytes 4858561 pkts (dropped 8809, overlimits 4909679)
backlog 142p
and "tc -s qdisc show dev eth2" shows
qdisc htb 3: r2q 10 default 256 direct_packets_stat 37
Sent 2697417450 bytes 5417551 pkts (dropped 58103, overlimits 5691061)
backlog 1464p
It seems tha...
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
2007 Feb 07
0
HTB Troubleshooting
...id 1:$q
done
attached is the output of "tc -s -d class show dev tun0" and "tc -s -d class
show dev eth0", as well as "tc -s -d filter show dev eth0" (they were
fairly long).
[root@chi01-050-05 shorewall]# tc -s -d qdisc show dev eth0
qdisc htb 1: r2q 10 default 99 direct_packets_stat 29 ver 3.17
Sent 1749531575 bytes 2569426 pkts (dropped 0, overlimits 875543 requeues
0)
backlog 3p
[root@chi01-050-05 shorewall]# tc -s -d qdisc show dev tun0
qdisc htb 1: r2q 10 default 99 direct_packets_stat 1 ver 3.17
Sent 750893493 bytes 1188097 pkts (dropped 1575, overlimits 334927 requeu...
2007 May 19
1
Re: LARTC Digest, Vol 27, Issue 26
...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 "tc -s qdisc show":
***********************************************************
qdisc htb 1: r2q 10 default 40 direct_packets_stat 0
Sent 935816543 bytes 791394 pkt (dropped 0, overlimits 117076 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 10: parent 1:10 limit 128p quantum 1500b perturb 10sec
Sent 2385144 bytes 21890 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
qdisc...
2006 Sep 10
1
HTB and tc filter
...parent 1:0 prio 1 u32 match ip src
flowid 1:10
tc qdisc add dev eth0 parent handle 20: pfifo limit 5
tc qdisc add dev eth0 parent handle 30: pfifo limit 5
tc qdisc add dev eth0 parent handle 40: sfq perturb 10
OK. but ... when I look the qdiscs
tc -s -d qdisc
qdisc htb 1: r2q 10 default 12 direct_packets_stat 411 ver 3.17
Sent 181174 bytes 1324 pkts (dropped 0, overlimits 0)
qdisc pfifo 20: parent 1:10 limit 5p
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
qdisc pfifo 30: parent 1:11 limit 5p
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
qdisc sfq 40: parent 1:12 quantum 1514b limit 128p flo...
2006 Sep 10
1
help with HTB and tc
...parent 1:0 prio 1 u32 match ip src
flowid 1:10
tc qdisc add dev eth0 parent handle 20: pfifo limit 5
tc qdisc add dev eth0 parent handle 30: pfifo limit 5
tc qdisc add dev eth0 parent handle 40: sfq perturb 10
OK. but ... when I look the qdiscs
tc -s -d qdisc
qdisc htb 1: r2q 10 default 12 direct_packets_stat 411 ver 3.17
Sent 181174 bytes 1324 pkts (dropped 0, overlimits 0)
qdisc pfifo 20: parent 1:10 limit 5p
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
qdisc pfifo 30: parent 1:11 limit 5p
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
qdisc sfq 40: parent 1:12 quantum 1514b limit 128p flo...
2005 Sep 28
4
Re:Does HTB consider PRIO or not? 2
...fied rate is guaranteed). Prio in HTB only affects
> borrowing bandwidth from other classes... In the example below, the class
> 1:5 should be allowed to borrow bandwidth before 1:14 does.
Thats exactly what I want from HTB to do..to prio the borrowed bandwidth.
>Why are there pacekts in direct_packets_stat?
I really dont know what that parameter means..i have to google...
Well the output is really big . The classes are 1:5 and 1:14...
#########################################QDISC##############################
root@srv1:/etc# tc -s -d qdisc show dev eth1
qdisc htb 1: r2q 10 default 20 direct_packet...
2007 Feb 01
0
tc filter Questions
...g are appreciated as I''m don''t know
what I''m missing.
For completeness, below is the result of my tc and relevant iptables
listings after my scripts are run (and with a number of packets sent on
my interface):
tc -s -d qdisc show dev eth1:
qdisc htb 1: r2q 10 default 1 direct_packets_stat 0 ver 3.17
Sent 129462870 bytes 135363 pkt (dropped 46, overlimits 87892 requeues 0)
backlog 0b 5p requeues 0
qdisc prio 2: parent 1:1 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
Sent 129462870 bytes 135363 pkt (dropped 46, overlimits 0 requeues 0)
backlog 0b 5p requeues 0
qdisc htb 10...
2005 Nov 11
2
marked packets end up in wrong class
.../iptables -F
/sbin/iptables -A OUTPUT -t mangle -o eth1 -j MARK --set-mark 1
/sbin/tc filter add dev eth1 protocol ip parent 1:0 prio 1 handle 1 fw
flowid 1:10
---------------------------------------------------------------------------
#/sbin/tc -s qdisc ls dev eth1
qdisc htb 1: r2q 1 default 20 direct_packets_stat 0
Sent 450040 bytes 3021 pkt (dropped 0, overlimits 152 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 10: parent 1:10 limit 128p quantum 1514b perturb 10sec
Sent 448654 bytes 2988 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 20: pare...
2007 Jun 21
1
A HTB problem
...l that class 12 almost occupies all the 30Mb throughput.
The output for tc qdisc show is like the following:
qdisc pfifo 140: dev vlan2 limit 10p
qdisc pfifo 130: dev vlan2 limit 80p
qdisc pfifo 120: dev vlan2 limit 80p
qdisc pfifo 110: dev vlan2 limit 10p
qdisc htb 1: dev vlan2 r2q 10 default 13 direct_packets_stat 0
The output for tc -d -s class show dev vlan2 is like the following for
root rate is 50Mbit and ceil for class is 50Mbit:
class htb 1:11 parent 1:1 leaf 110: prio 0 quantum 37500 rate 3000Kbit
ceil 10000Kbit burst 50Kb/8 mpu 0b overhead 0b cburst 14098b Sent 0
bytes 0 pkts (dropped 0, overlimi...
2005 May 06
3
Broken filters?
Hi!
By iptables I set marking (-j MARK) just before -j IMQ.
There are only three marks. Exectly all of them are ditected to 1:20
Why I see 3 pkts in default 1:30?
How explain it?
### imq0: queueing disciplines
qdisc htb 1: r2q 10 default 30 direct_packets_stat 0
Sent 631429 bytes 1812 pkts (dropped 0, overlimits 20)
### imq0: traffic classes
class htb 1:20 root prio 0 rate 100Kbit ceil 100Kbit burst 15Kb cburst 1727b
Sent 630596 bytes 1809 pkts (dropped 0, overlimits 0)
rate 3921bps 10pps
lended: 1809 borrowed: 0 giants: 0
tokens: 1121920 ctokens:...