#17807: qos codel patch noecn to eth1 (wan) and qos-scripts question
-------------------------+------------------------
  Reporter:  robnitro@…  |      Owner:  developers
      Type:  defect      |     Status:  new
  Priority:  normal      |  Milestone:
 Component:  packages    |    Version:  Trunk
Resolution:              |   Keywords:
-------------------------+------------------------

Comment (by anonymous):

 How do I setup the sqm-scripts in OpenWrt? I tried changing option
 interface to pppoe-wan because it was set to @wan which didnt work, though
 pppoe-wan wasnt in the luci interface drop down list either, doing
 /ect/init.d/sqm start I get:


 {{{
 /etc/init.d/sqm restart
 SQM: /var/run/SQM/SQM_active_on_pppoe-wan
 SQM: Queue Setup Script: /usr/lib/sqm/simple.qos
 SQM: ifb associated with interface pppoe-wan: ifb1
 Failed to find sch_fq_codel. Maybe it is a built in module ?
 SQM: Squashing differentiad services code points (DSCP) from ingress.
 SQM: STAB: stab mtu 2047 tsize 512 mpu 0 overhead 0 linklayer atm
 SQM: get_limit: CURLIMIT: 1001
 SQM: cur_target: auto cur_bandwidth: 1000
 SQM: get_limit: CURLIMIT: 1001
 SQM: cur_target: auto cur_bandwidth: 1000
 SQM: get_limit: CURLIMIT: 1001
 SQM: cur_target: auto cur_bandwidth: 1000
 SQM: egress shaping activated
 SQM: Do not perform DSCP based filtering on ingress. (1-tier
 classification)
 SQM: STAB: stab mtu 2047 tsize 512 mpu 0 overhead 0 linklayer atm
 SQM: get_limit: CURLIMIT: 1001
 SQM: cur_target: auto cur_bandwidth: 11500
 SQM: ingress shaping activated
 }}}

 My config:


 {{{
 config queue 'ge00'
         option qdisc 'fq_codel'
         option script 'simple.qos'
         option qdisc_advanced '1'
         option ingress_ecn 'ECN'
         option egress_ecn 'NOECN'
         option qdisc_really_really_advanced '1'
         option itarget 'auto'
         option etarget 'auto'
         option enabled '1'
         option squash_dscp '1'
         option squash_ingress '1'
         option linklayer 'atm'
         option overhead '0'
         option interface 'pppoe-wan'
         option download '11500'
         option upload '1000'
 }}}


 {{{
 ifconfig
 br-lan    Link encap:Ethernet  HWaddr ...
           inet addr:10.0.1.203  Bcast:10.0.1.255  Mask:255.255.255.0
           inet6 addr: fe80::200:83ff:fe8a:1000/64 Scope:Link
           inet6 addr: fdae:f741:ee79::1/60 Scope:Global
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:46938 errors:0 dropped:0 overruns:0 frame:0
           TX packets:78012 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:3268442 (3.1 MiB)  TX bytes:110290391 (105.1 MiB)

 eth0      Link encap:Ethernet  HWaddr ...
           inet6 addr: fe80::200:83ff:fe8a:1000/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:47016 errors:0 dropped:0 overruns:0 frame:0
           TX packets:77970 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:4136761 (3.9 MiB)  TX bytes:110598507 (105.4 MiB)

 eth0.1    Link encap:Ethernet  HWaddr ...
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:46984 errors:0 dropped:0 overruns:0 frame:0
           TX packets:77966 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:3281522 (3.1 MiB)  TX bytes:110286195 (105.1 MiB)

 ifb0      Link encap:Ethernet  HWaddr ...
           inet6 addr: fe80::84c3:bfff:feb5:8ffa/64 Scope:Link
           UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:32
           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 ifb1      Link encap:Ethernet  HWaddr ...
           inet6 addr: fe80::1407:ceff:fe4c:db9e/64 Scope:Link
           UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
           RX packets:72601 errors:0 dropped:0 overruns:0 frame:0
           TX packets:72601 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:32
           RX bytes:108137374 (103.1 MiB)  TX bytes:108137374 (103.1 MiB)

 lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           inet6 addr: ::1/128 Scope:Host
           UP LOOPBACK RUNNING  MTU:65536  Metric:1
           RX packets:314 errors:0 dropped:0 overruns:0 frame:0
           TX packets:314 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:23314 (22.7 KiB)  TX bytes:23314 (22.7 KiB)

 nas0      Link encap:Ethernet  HWaddr 00:00:01:00:00:00
           inet6 addr: fe80::200:1ff:fe00:0/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:77289 errors:0 dropped:0 overruns:0 frame:0
           TX packets:46064 errors:12 dropped:0 overruns:12 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:109804707 (104.7 MiB)  TX bytes:4441744 (4.2 MiB)

 pppoe-wan Link encap:Point-to-Point Protocol
           inet addr:...  P-t-P:...  Mask:255.255.255.255
           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
           RX packets:76681 errors:0 dropped:0 overruns:0 frame:0
           TX packets:45463 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:3
           RX bytes:109159738 (104.1 MiB)  TX bytes:2962194 (2.8 MiB)
 }}}

 Also dont know why there are two ifb devices. /etc/init.d/qos is disabled.

--
Ticket URL: <https://dev.openwrt.org/ticket/17807#comment:20>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to