Congestion control choose (BBR2, QUICK, RACK, CDG) for music streaming
-
What congestion control (BBR2, QUICK, RACK, CDG (http://caia.swin.edu.au/urp/newtcp/tools/cc_cdg-0.1.readme) better to using in music streaming where 95-97% of clients are app on a mobile devices (smartphones and tablets) ?
And which tunables are suitable (see example):
###NET################################################################## net.inet6.ip6.temppltime=7200 # 86400 , Maximum preferred lifetime for temporary addresses net.inet6.ip6.tempvltime=14400 # 604800 , Maximum valid lifetime for temporary addresses net.inet.tcp.cc.algorithm=cubic #newreno #Congestion control newreno,CDG,CHD,CUBIC,DCTCP,HD,H-TCP,VEGAS # net.inet6.ip6.redirect=0 #1 net.inet6.icmp6.rediraccept=0 #1 net.inet.ip.redirect=0 #1 net.inet.icmp.drop_redirect=1 #0 # net.inet.ip.maxfragpackets=0 #15762 net.inet.ip.maxfragsperpacket=0 #16 # net.inet.tcp.blackhole=2 #0 net.inet.udp.blackhole=1 #0 # net.inet.tcp.always_keepalive=0 #1 net.inet.tcp.nolocaltimewait=1 #0 net.inet.tcp.icmp_may_rst=0 #1 net.inet.ip.check_interface=1 #0 net.inet.ip.process_options=0 #1 net.inet.ip.random_id=1 #0 net.inet.icmp.icmplim=50 #200 #aslr kern.elf64.aslr.enable=1 #0 #aslrpie kern.elf64.aslr.pie_enable=1 #0 # net.inet6.ip6.accept_rtadv=1 #0 Default value of per-interface flag for accepting ICMPv6 RA messages # kern.metadelay=4 #28 kern.dirdelay=5 #29 kern.filedelay=7 #30 # security.bsd.unprivileged_idprio=1 #0 kern.sched.preempt_thresh=120 #80
P.S.
Please take a deep look on this threads:
Using BBR2, QUIC, RACK Congestion Control (CC) protocols in pfSense
https://forum.netgate.com/topic/167599/using-bbr2-quic-rack-congestion-control-cc-protocols-in-pfsense -
Unless you're streaming music from or on pfSense itself (which you shouldn't be!) then it makes no difference what pfSense is using for those.
The only exceptions to that might be if you're proxying the traffic in pfSense or perhaps routing the stream over a TCP VPN.
Additionally most streaming is UDP anyway.
Steve
-
@stephenw10 said in Congestion control choose (BBR2, QUICK, RACK, CDG) for music streaming:
Unless you're streaming music from or on pfSense itself (which you shouldn't be!) then it makes no difference what pfSense is using for those.
Of course, streaming are from separate servers set.
The only exceptions to that might be if you're proxying the traffic in pfSense or perhaps routing the stream over a TCP VPN.
In this moment - stream traffic not proxying.
Additionally most streaming is UDP anyway.
Let me correct You: more and more services nowadays using TCP and QUICK.
But:
——
For instance, Netflix and Amazon Prime use TCP as transport layer protocol, while YouTube has adopted both UDP and TCP protocols.
——