> A question though, does it act friendly with "qos" package? There are
scenarios where I would want to prioritise bandwidth to certain services.


Unfortunately no. All QoS packages (qos-scripts, sqm-scripts) conflict on
each other.

You can prioritise a device based on its LAN address. It does not need to
be a "network address". A host address will do just fine.
I use cake as leaf scheduler, which does a pretty nice job on keeping
latency low. So, you get both low latency and bandwidth reservation.

I would do something like this to allow torrent to use only idle bandwidth
but keep chromecast share if needed.
(BTW, I must fix network options in my default config in my PR)

config class 'lan'
  list network '192.168.1.0/24'
  option reserved_downlink '50%'
  option reserved_uplink '50%'
  option allowed_downlink '100%'
  option allowed_uplink '100%'

config class 'chromecast'
  list network '192.168.1.12/32'
  option reserved_downlink '45%'
  option reserved_uplink '5%'
  option allowed_downlink '100%'
  option allowed_uplink '100%'

config class 'torrent'
  list network '192.168.1.22/32'
  option reserved_downlink '5%'
  option reserved_uplink '5%'
  option allowed_downlink '100%'
  option allowed_uplink '100%'

If chromecast is idle and torrent and lan uses all bandwidth, lan might get
a little more than 90% and torrent a little less than 10%.
If both lan and chromecast are idle, torrent will use everything.

Regards,
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to