Closed OverwatchGirl closed 1 year ago
In my opinion, it is fine to implement the token buckets at DCC's access layer, i.e. in FlowControl
.
Hello,
I am having second thoughts concerning my approach. Do you think that implementing Token Bucket
in ITS-G5
, help control the rate of the transmitted messages, or is it useless due to the existing DCC
algorithms that already control the message transmission rate ?
Thank you so much for your help.
PS : i adapted the Token Bucket
methods that already exist in inet,
to the context of DCC
, and exactly in the method DCC:FlowControl::enqueue()
Your token bucket will only show an effect if its rate limit is more restrictive than DCC or DCC is disabled.
Hello @riebl ,
So, my work consists of implementing
Token Buckt
inDCC::FlowControl
, i added theToken Bucket
code to the methodDCC:FlowControl::Enqueue()
where eachAccessCategory
has it's own bucket , which makes it 4 buckets.Then i tried to measure the rate of each
AccessCategory
ininet/pysicallayer/common/packetlevel/Radio.cc
, exactly in the methodRadio::startTransmission()
.When i got the results, and plotted them, i noticed that the rate is not following the parameters of the
Token Bucket
set in eachAccessCategory
. Now i wander if putting theToken Bucket
in theenqueue()
method was the right decision, and if it is not the case should i put in a lower level ?Thank you in advance.