|
|
|
p = new packet;
if ( AvgQSize < minthreshold )
{
Admit p;
}
else
{
/* ------------------------------------------
CHOKe flows with a large packets buffered
------------------------------------------ */
draw a packet q RANDOMLY from the queue;
if ( flow(p) == flow(q) )
{
drop p and q; // drop packets from likely high volume flow
}
else if ( minthreshold < AvgQSize <= maxthreshold )
{
drop p probabilitically (according to RED's alg);
}
else // AvgQSize > maxthreshold
{
drop p;
}
}
|
Key idea:
|
|
Notes:
|
|
|
Notes:
|
|
Note:
|
|
I omitted the analysis....
|
Considering the effectiveness, then we would have to say that it does NOT worth it to put in so much effort in FRED to gain so little....