[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] (Dumb?) question on RIO code




Hello all,


Perhaps this is a silly question, but...

I was taking a look at the RIO code in rio.cc [file version: 1.8
(current), of 2000/09/01], specially at what RIOQueue::enque() does.

It looks as if the average queue size edv_.v_ave (i.e., counting both IN
& OUT packets) is updated _only_ when an IN packet is received.

However, IIRC the RIO pseudocode in Clark and Fang's paper states that
this average must be updated for _every_ incoming packet.


Am I missing something?? Any help will be appreciated.


Regards,

David.