search for: sch_prio

Displaying 20 results from an estimated 27 matches for "sch_prio".

2003 Jan 15
5
HTB. QoS and Shorewall
Group, I am reading about tc (traffic control) and willing to get my feet wet. As requirement, there should be HTB compiled in the kernel. I grabbed a Mandrake 8.2 distro, and didn''t installed the kernel source. Anyone knows if the HTB is compiled in Mandrake 8.2, or point a way to find that out? I tried to read the /usr/src/kernel.xxxxx/.config file, but it doesn''t exists.
2001 Feb 19
2
How can I create qdisc, class, and filter inside the kernel?
Hi, I am writing a kernel module which works with netfilter. If a certain condition matches, I want to create a qdisc, a class and a filter inside the kernel module. How can I create qdisc, class, and filter inside the kernel? Thanks, Byung-Gon Chun _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
2007 Feb 09
4
need help with tc filters
...en testing it on my Debian etch box for comparison, I see the same behavior. I''m hoping someone can point out what I''m doing wrong with the filters... FYI: "vlan1" is the outbound interface of my wrt54g. Script follows: IF=vlan1 insmod cls_u32 insmod sch_htb insmod sch_prio insmod sch_sfq # # qdisc/class tree # 1: root (HTB) qdisc # | # 1:10 class rate 384000bit # | # 10: prio qdisc # / | \ # 10:1 | 10:3 # | 10:2 | # 101: | | sfq # 102: | sfq # 103: sf...
2013 Jun 05
8
btrfs raid1 on 16TB goes read-only after "btrfs: block rsv returned -28"
...fs/btrfs/extent-tree.c:6372 btrfs_alloc_free_block+0xd3/0x29c() kernel: Hardware name: GA-MA790FX-DS5 kernel: btrfs: block rsv returned -28 kernel: Modules linked in: raid456 async_raid6_recov async_memcpy async_pq async_xor xor async_tx raid6_pq act_police cls_basic cls_flow cls_fw cls_u32 sch_tbf sch_prio sch_htb sch_hfsc sch_ingress sch_sfq xt_CHECKSUM ipt_rpfilter xt_statistic xt_CT xt_LOG xt_time xt_connlimit xt_realm xt_addrtype xt_comment xt_recent xt_policy xt_nat ipt_ULOG ipt_REJECT ipt_MASQUERADE ipt_ECN ipt_CLUSTERIP ipt_ah xt_set ip_set nf_nat _tftp nf_nat_snmp_basic nf_conntrack_snmp nf_n...
2014 Jan 30
2
CentOS 6.5: NFS server crashes with list_add corruption errors
...0 09:46:13 qb-storage kernel: list_add corruption. next->prev should be prev (ffff8804366c5df0), but was ffff8803f611fa68. (next=ffff8803f611fa68). Jan 30 09:46:13 qb-storage kernel: Modules linked in: nfsd lockd nfs_acl auth_rpcgss sunrpc act_police cls_basic cls_flow cls_fw cls_u32 sch_tbf sch_prio sch_htb sch_hfsc sch_ingress sch_sfq bridge stp llc xt_statistic xt_time xt_connlimit xt_realm iptable_raw xt_comment xt_recent xt_policy ipt_ULOG ipt_REJECT ipt_REDIRECT ipt_NETMAP ipt_MASQUERADE ipt_ECN ipt_ecn ipt_CLUSTERIP ipt_ah ipt_addrtype xt_set ip_set nf_nat_tftp nf_nat_snmp_basic nf_c...
2004 Nov 24
8
tc and iptables trouble
...1512 - ip_gre 8672 - sch_esfq 4936 - sch_netem 4808 - ipt_connlimit 2248 - ipt_connmark 1160 - sch_gred 5704 - sch_red 3368 - sch_hfsc 16360 - sch_cbq 13864 - sch_prio 3528 - sch_tbf 4168 - iptable_nat 20264 - ip_conntrack 37076 - ip_tables 13440 - ppp_mppe_mppc 13384 - ppp_generic 17788 - slhc 6312 - sch_sfq 4168 - sch_htb...
2005 Jun 01
2
TC Filtering Problems
...he Internet (switch and Routers to the isps). Both Interfaces are bridged. The TEST Client is located on the eth0 Device of the Packetshaper. Kernel Module: (lsmod) Module Size Used by mirred 7744 0 sch_dsmark 7424 0 police 10976 0 pedit 7648 0 gact 7008 0 cls_rsvp 7424 0 cls_route 7808 0 sch_prio 5888 0 ipt_state 2048 0 ipt 8288 0 sch_htb 18816 0 cls_tcindex 8192 0 cls_u32 9220 0 cls_fw 5504 0 TC Config (a htb Qdisc): for d in eth0 eth1; do tc qdisc add dev $d root handle 1:0 htb default 12 tc class add dev $d parent 1:2 classid 1:2 htb rate 8096mbit tc class add dev $d parent 1:...
2007 Dec 06
3
HTB performance improvement
...bility is to be assigned at the linux QOS scheduler? 4) with only system conf + HTB with marking (iptables mark) classifier 13000 packets/sec (TX/RX), 0 packets lost: insmod ip_tables.ko insmod iptable_mangle.ko insmod ipt_MARK.ko insmod ipt_mark.ko insmod cls_fw.ko insmod sch_htb.ko insmod sch_prio.ko iptables -t mangle -A PREROUTING -i eth0.1 -p udp --dport 1001 -j MARK --set-mark 1 iptables -t mangle -A PREROUTING -i eth0.1 -p udp --dport 1001 -j RETURN iptables -t mangle -A PREROUTING -i eth0.1 -p udp --dport 1002 -j MARK --set-mark 2 iptables -t mangle -A PREROUTING -i eth0.1 -p udp -...
2001 Mar 22
0
tc qdisc prio
hello all, I was trying out the various queueing disciplines and i have problems with this basic one: Simple 3-bands Priority Scheduler --> sch_prio.c how i implemented it: #########START########## tc qdisc add dev eth1 root handle 1: prio tc filter add dev eth1 parent 1:0 prio 5 protocol ip u32 tc filter add dev eth1 parent 1:0 prio 5 protocol ip u32 tc filter add dev eth1 parent 1:0 protocol ip prio 5 u32 match \ ip dst 192.168.1.10 flowid...
2005 May 31
1
QoS and CLASSIFY
...h0 # internet-adsl-----+squid---------------4 desktops # -----> +QoS 192.168.0.5 # 450Kbps .11 # .12 # .20 # modprobe sch_htb sch_prio sch_sfq cls_u32 tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1:0 htb tc class add dev eth0 parent 1:0 classid 1:1 htb rate 450kbit ceil 450kbit tc class add dev eth0 parent 1:1 classid 1:30 htb rate 80kbit ceil 400kbit tc class add dev eth0 parent 1:1 classid 1:40 htb rate 80kbi...
2007 Jun 28
1
pfifo_fast priomap
Hi list, I have a quick question about the priority mapping of tos bits. The manpage of tc-prio shows a nice table with tos bits and the band they are mapped to: TOS Bits Means Linux Priority Band ------------------------------------------------------------ 0x0 0 Normal Service 0 Best Effort 1 0x2 1 Minimize Monetary Cost 1 Filler
2007 May 04
0
Pls help on Shorewall installation
...4 22:30:14 gateway shorewall: ERROR: Command "tc qdisc add dev eth0 root handle 1: htb default 13" Failed I've checked the kernel conf (make menuconfig), that TC support for htb, sfq, e32, etc are modularized supported. I've checked that all these kernel modules are loaded: sch_prio ? ? ? ? ? ? ? ?4545 ?0 sch_sfq ? ? ? ? ? ? ? ? 5313 ?0 sch_ingress ? ? ? ? ? ? 4165 ?0 sch_cbq ? ? ? ? ? ? ? ?16449 ?0 sch_htb ? ? ? ? ? ? ? ?21953 ?0 cls_fw ? ? ? ? ? ? ? ? ?4417 ?0 cls_u32 ? ? ? ? ? ? ? ? 7493 ?0 And that the tc command is compiled with htb and cbq support? [root at gatew...
2005 May 21
1
newbie downloading not working
...-----4 desktops # -----> +QoS 192.168.0.5 # 450Kbps .11 # .12 # .20 # echo -e "calling modules\n" modprobe sch_htb sch_prio sch_sfq cls_u32 echo -e "limiting download\n" echo -e " deleting qdisc \n" tc qdisc del dev eth0 root echo -e "adding HTB and SFP/PFIFO as leaves\n" tc qdisc add dev eth0 root handle 1:0 htb tc class add dev eth0 parent 1:0 classid 1:1 htb rate 400kbit ceil 400kbit...
2001 Jan 07
3
Prioritize SSH and telnet
Hi routing-experts ! If I want to prioritize up ssh and telnet traffic with Linux 2.4 netfilter and iproute2. I''ve set outbound tcp 22, 23 and 21 TOSbits to minimize delay, but this doesn''t seem to be enough to prioritize ssh over for example http-traffic. I''m using modem to connect to Internet and got an entire LAN behind the Linux router/firewall. Well, I think most
2002 May 27
4
htb3 with imq
...find device "imq0" [root@cab1 root]# [root@cab1 root]# ls /lib/modules/2.4.18/kernel/net/sched/ cls_fw.o cls_tcindex.o sch_csz.o sch_htb.o sch_red.o sch_teql.o cls_route.o cls_u32.o sch_dsmark.o sch_ingress.o sch_sfq.o cls_rsvp.o sch_cbq.o sch_gred.o sch_prio.o sch_tbf.o [root@cab1 root]# [root@cab1 root]# ls /lib/modules/2.4.18/kernel/net/ipv4/netfilter/ ip_conntrack_egg.o iptable_nat.o ipt_MARK.o ipt_REDIRECT.o ip_conntrack_ftp.o ip_tables.o ipt_MASQUERADE.o ipt_REJECT.o ip_conntrack_h323.o ipt_ah.o ipt_MIRROR.o...
2007 Aug 28
2
prio bands and ignored priomap when any tc filter is present
Today I''ve noticed a bit strange (?) behaviour when prio qdisc is used. Example (having no filters/qdisc/etc. at the start) : Add simple 9 bands qdisc, set each mapping to lowest priority band: tc qdisc add dev $eth root handle 1: prio bands 9 priomap 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 If I do just that, all is fine - whole traffic ends in 9th band, what can easily be verified by tc -s
2014 Sep 28
1
[Bug 84424] New: nouveau crash log [mesa-10.3.0]
...00008 [ 2643.920454] IP: [<ffffffffa017eac6>] nouveau_fence_wait_uevent.isra.3+0x36/0x3e0 [nouveau] [ 2643.920478] PGD 140a75067 PUD 100702067 PMD 0 [ 2643.920483] Oops: 0000 [#1] PREEMPT SMP [ 2643.920487] Modules linked in: act_police cls_basic cls_flow cls_fw cls_u32 sch_fq_codel sch_tbf sch_prio sch_htb sch_hfsc sch_sfq arptable_filter arp_tables xt_CHECKSUM ipt_rpfilter xt_geoip(O) xt_statistic xt_CT xt_LOG xt_connlimit xt_realm xt_addrtype xt_comment xt_recent ipt_ULOG ipt_MASQUERADE ipt_ECN ipt_CLUSTERIP ipt_ah xt_set nf_nat_tftp nf_nat_snmp_basic nf_conntrack_snmp nf_nat_sip nf_nat_ppt...
2006 Apr 04
3
Another question (now about u32)
Hello all, I am trying to match some conections using u32 but I tryed this: [root@ns1 ~]# tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip src 0/0 match ip dst 0/0 match ip sport 80 0xffff flowid 1:10 RTNETLINK answers: Invalid argument We have an error talking to the kernel [root@ns1 ~]# I have this class at device eth1: [root@ns1 ~]# tc class show dev eth1 class
2004 Jun 22
3
[ANNOUNCE] sch_ooo - Out-of-order packet queue discipline
...ESS tristate "Ingress Qdisc" depends on NET_SCHED && NETFILTER --- linux.orig/net/sched/Makefile 2004-06-16 08:19:23.000000000 +0300 +++ linux/net/sched/Makefile 2004-06-22 15:03:25.000000000 +0300 @@ -23,6 +23,7 @@ obj-$(CONFIG_NET_SCH_TEQL) += sch_teql.o obj-$(CONFIG_NET_SCH_PRIO) += sch_prio.o obj-$(CONFIG_NET_SCH_ATM) += sch_atm.o obj-$(CONFIG_NET_SCH_DELAY) += sch_delay.o +obj-$(CONFIG_NET_SCH_OOO) += sch_ooo.o obj-$(CONFIG_NET_CLS_U32) += cls_u32.o obj-$(CONFIG_NET_CLS_ROUTE4) += cls_route.o obj-$(CONFIG_NET_CLS_FW) += cls_fw.o --- linux.orig/net/sched/sch_ooo...
2004 Mar 18
6
[PATCH] packet delay scheduler
..."Ingress Qdisc" depends on NET_SCHED && NETFILTER diff -Nru a/net/sched/Makefile b/net/sched/Makefile --- a/net/sched/Makefile Thu Mar 18 12:04:02 2004 +++ b/net/sched/Makefile Thu Mar 18 12:04:02 2004 @@ -22,6 +22,7 @@ obj-$(CONFIG_NET_SCH_TEQL) += sch_teql.o obj-$(CONFIG_NET_SCH_PRIO) += sch_prio.o obj-$(CONFIG_NET_SCH_ATM) += sch_atm.o +obj-$(CONFIG_NET_SCH_DELAY) += sch_delay.o obj-$(CONFIG_NET_CLS_U32) += cls_u32.o obj-$(CONFIG_NET_CLS_ROUTE4) += cls_route.o obj-$(CONFIG_NET_CLS_FW) += cls_fw.o diff -Nru a/net/sched/sch_delay.c b/net/sched/sch_delay.c --- /dev/null Wed D...