SVNews r318527

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-05-19 08:38:03 - r318527 by truckman (Don Lewis)

Complete list of files affected by revision r318527:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/netpfil/ipfw/dn_aqm_pie.c  
  History   Contents   Diff   MODIFY   /head/sys/netpfil/ipfw/dn_sched_fq_pie.c  

Commit message:

Fix the queue delay estimation in PIE/FQ-PIE when the timestamp
(TS) method is used. When packet timestamp is used, the "current_qdelay"
keeps storing the last queue delay value calculated in the dequeue
function. Therefore, when a burst of packets arrives followed by
a pause, the "current_qdelay" will store a high value caused by the
burst and stick to that value during the pause because the queue
delay measurement is done inside the dequeue function. This causes
the drop probability calculation function to calculate high drop
probability value instead of zero and prevents the burst allowance
mechanism from working properly. Fix this problem by resetting
"current_qdelay" inside the drop probability calculation function
when the queue length is zero and TS option is used.

Submitted by: Rasool Al-Saadi <ralsaadi@swin.edu.au>
MFC after: 1 week

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 18 ms, 2 files printed. Current time is 2017-05-28 04:56:25. All times are in UTC/GMT.