[ndnSIM] ndnSIM Routing: best face
alexander.afanasyev at ucla.edu
Thu Jun 13 10:49:37 PDT 2013
The first task would be to get this information into the FIB entry. There is, actually, already an RTT estimate that is maintained for each face in each FIB entry, which would the first step in what you want to achieve.
To actually take into account this (an potentially other) information, you would need to modify implementation of FindBestCandidate of ndn::fib::Entry class. Ideally, this implementation should allow customization of different logics in simulation scenarios, but for now you can just simply modify the code.
The current implementation relies on boost::multi_index-based data structure, that automatically "indices" entries based on composite index of face status (green/yellow/red) and routing cost. If you want, you can add third index (e.g., in between status and cost) that uses RTT as input. This way, just modification of the data structure can give you necessary effect.
On Jun 12, 2013, at 8:24 PM, Xiaoke Jiang <shock.jiang at gmail.com> wrote:
> Hi Alex,
> Sorry for my mistake. What you said is right, I want to select best next face according to RTT and other factors, such as hop distance(default?), end2end bandwidth. I am not sure the current stat-of-art of ndnSIM.
> My Regards,
> Xiaoke (Shock) Jiang （蒋小可）
> Ph.D Candidate,
> Dept. of Computer Science and Technology,
> Tsinghua University, P. R. China, 100084
> On Thursday, June 13, 2013 at 11:18 AM, Alex Afanasyev wrote:
>> Hi Xiaoke,
>> Can you explain a little bit more about what you mean by "propagation delay"? Is this something related to the link attached to the face? Or it is something similar to "RTT" value for a specific FIB entry for a specific face?
>> On Jun 12, 2013, at 8:15 PM, Xiaoke Jiang <shock.jiang at gmail.com> wrote:
>>> Dear all,
>>> I want to select the best next hop (best next face) by propagation delay, but I am not sure whether it is support already by ndnSIM or not.
>>> Can anyone else give some hint?
>>> My Regards,
>>> Xiaoke (Shock) Jiang （蒋小可）
>>> Ph.D Candidate,
>>> Dept. of Computer Science and Technology,
>>> Tsinghua University, P. R. China, 100084
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM