1
General Discussion / fq_codel latency spikes
« on: May 21, 2019, 05:31:59 pm »
I have a 10 megabit MetroE through Frontier and I'm sharing it among too many users. I've been using fq_codel to try to keep latency low for VoIP and gaming while providing reasonable bandwidth for streamers and downloads. I'm failing miserably.
I've set up fq_codel and it mostly works (I get an A+ for bufferbloat from dslreports) but when new streamers/downloads/tests start latency will momentarily spike by around 100 ms. This kills the gamers and happens quite often during peak time.
I've no idea what's wrong with my setup. Please help!
# ipfw sched show
# ipfw pipe show
I've set up fq_codel and it mostly works (I get an A+ for bufferbloat from dslreports) but when new streamers/downloads/tests start latency will momentarily spike by around 100 ms. This kills the gamers and happens quite often during peak time.
I've no idea what's wrong with my setup. Please help!
# ipfw sched show
Code: [Select]
10000: 8.000 Mbit/s 0 ms burst 0
q75536 50 sl. 0 flows (1 buckets) sched 10000 weight 0 lmax 0 pri 0 droptail
sched 10000 type FQ_CODEL flags 0x0 0 buckets 1 active
FQ_CODEL target 5ms interval 50ms quantum 1514 limit 10240 flows 1024 NoECN
Children flowsets: 10000
BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp
0 ip 0.0.0.0/0 0.0.0.0/0 4 669 0 0 0
10001: 8.000 Mbit/s 0 ms burst 0
q75537 50 sl. 0 flows (1 buckets) sched 10001 weight 0 lmax 0 pri 0 droptail
sched 10001 type FQ_CODEL flags 0x0 0 buckets 1 active
FQ_CODEL target 5ms interval 50ms quantum 1514 limit 10240 flows 1024 NoECN
Children flowsets: 10001
0 ip 0.0.0.0/0 0.0.0.0/0 3 457 0 0 0
# ipfw pipe show
Code: [Select]
10000: 8.000 Mbit/s 0 ms burst 0
q75536 50 sl. 0 flows (1 buckets) sched 10000 weight 0 lmax 0 pri 0 droptail
sched 75536 type FIFO flags 0x0 0 buckets 0 active
10001: 8.000 Mbit/s 0 ms burst 0
q75537 50 sl. 0 flows (1 buckets) sched 10001 weight 0 lmax 0 pri 0 droptail
sched 75537 type FIFO flags 0x0 0 buckets 0 active
Code: [Select]
60001 48276 17525072 queue 10001 esp from any to *ipsec site* via igb0 // wan: upload queue
60002 61714 76825600 queue 10000 esp from *ipsec site* to any via igb0 // wan: download queue
60003 426694 548488221 queue 10000 ip from any to *lan subnet* via igb0 // wan: download queue
60004 317134 43959271 queue 10001 ip from *lan subnet* to any via igb0 // wan: upload queue