Community discussions

 
RyperX
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 55
Joined: Thu May 21, 2015 11:14 am

Some tipps for configuring Queue Lists

Sat May 30, 2015 1:27 am

Hey guys,

i have some problems with watching twitch streams or netflix when some other people or myself in the house are downloading.
So i startet today to learn about the Queue Lists.

I configured now some Mangle and Queue Tree Rules but the problem is when i watching a movie over netflix or twitch its also http traffic, same as the downloads. (example Steam)

Is here any possibility to queue the traffic correct and optimized for watching Stream and normal webbrowsing while downloading on one IP/ Computer? With different IP´s i can manage to queue the complete traffic of this pc but i cant separate the streaming from downloading.

The other point is that my cpu load is all time between 30%-50% since i activated the mangle rules and queue trees is this normal or did i configure something horrible wrong? ;)

This are my rules at the moment.

Mangle:
 0 X  ;;; PrivateInternetAccess
      chain=prerouting action=mark-routing new-routing-mark=pia-vpn-mark 
      passthrough=yes src-address-list=PrivateInternetAccess log=no 
      log-prefix="" 

 1    ;;; QoS
      chain=postrouting action=mark-packet new-packet-mark=media 
      passthrough=no connection-mark=media log=no log-prefix="" 

 2    chain=postrouting action=mark-packet new-packet-mark=gaming 
      passthrough=no connection-mark=gaming log=no log-prefix="" 

 3    chain=postrouting action=mark-packet new-packet-mark=misc-fast 
      passthrough=no tcp-flags=ack protocol=tcp packet-size=40 log=no 
      log-prefix="" 

 4    chain=postrouting action=mark-packet new-packet-mark=misc-fast 
      passthrough=no protocol=udp out-interface=pppoe-out1 dst-port=53 log=no 
      log-prefix="" 

 5    chain=postrouting action=mark-packet new-packet-mark=http passthrough=no 
      src-address-list=!Media connection-mark=http log=no log-prefix="" 

 6    ;;; Web Browsing
      chain=postrouting action=mark-connection new-connection-mark=http 
      passthrough=yes connection-state=new protocol=tcp 
      src-address-list=!Media out-interface=pppoe-out1 dst-port=80,443 log=no 
      log-prefix="" 

 7    ;;; League
      chain=postrouting action=mark-connection new-connection-mark=gaming 
      passthrough=yes connection-state=new protocol=udp 
      out-interface=pppoe-out1 dst-port=5000-5500 log=no log-prefix="" 

 8    ;;; HotS
      chain=postrouting action=mark-connection new-connection-mark=gaming 
      passthrough=yes connection-state=new protocol=udp 
      out-interface=pppoe-out1 dst-port=1120,3724 log=no log-prefix="" 

 9    ;;; MediaPC
      chain=postrouting action=mark-connection new-connection-mark=media 
      passthrough=yes connection-state=new src-address-list=Media log=no 
      log-prefix="" 

10    ;;; Streaming
      chain=postrouting action=mark-connection new-connection-mark=media 
      passthrough=yes connection-state=new protocol=tcp 
      out-interface=pppoe-out1 dst-port=1935 log=no log-prefix="" 
Rule 3 and 4 i found something in the web but i dont know if its helping.

Queue Trees
 0   name="queue1" parent=bridge-local packet-mark="" limit-at=0 queue=default 
     priority=8 max-limit=29M burst-limit=0 burst-threshold=0 burst-time=0s 

 1   name="prio3-gaming" parent=queue1 packet-mark=gaming limit-at=0 
     queue=default priority=3 max-limit=0 burst-limit=0 burst-threshold=0 
     burst-time=0s 

 2   name="prio2-misc-fast" parent=queue1 packet-mark=misc-fast limit-at=0 
     queue=default priority=2 max-limit=0 burst-limit=0 burst-threshold=0 
     burst-time=0s 

 3   name="prio8-untagged" parent=queue1 packet-mark=no-mark limit-at=10M 
     queue=default priority=8 max-limit=27M burst-limit=0 burst-threshold=0 
     burst-time=0s 

 4   name="prio6-http" parent=queue1 packet-mark=http limit-at=10M 
     queue=default priority=6 max-limit=28M burst-limit=0 burst-threshold=0 
     burst-time=0s 

 5   name="prio4-media" parent=queue1 packet-mark=media limit-at=4M 
     queue=default priority=4 max-limit=27M burst-limit=0 burst-threshold=0 
     burst-time=0s 
Thanks and best regards
RyperX

Who is online

Users browsing this forum: No registered users and 17 guests