[ndnSIM] How to get the Interest information from each face?
chengyu at cs.colostate.edu
Fri Mar 1 13:54:39 PST 2013
Thanks, Alex. I'd like to have a try.
On Fri, Mar 1, 2013 at 2:16 PM, Alex Afanasyev <alexander.afanasyev at ucla.edu
> Hi Chengyu,
> A slow tracer installation speed is an artifact of the current way I have
> implemented the tracer. There is definitely a need to add a couple of
> other Install methods that would allow more granular installing.
> If you have time, you can convert the existing InstallAll method to
> Install(node,...) and the make a new variant of InstallAll to be wrapped on
> top of Install. I have a little bit overloaded at the moment to make it
> myself, but would be happy to integrate your patch/commit.
> There is another improvement that could be made inside Connect method. As
> it stands right now, there is absolutely no reason to use Config::Connect,
> which becomes a bottleneck in cases similar to yours. When I get time,
> I'll push a correction to optimize the process.
> On Mar 1, 2013, at 1:05 PM, Chengyu Fan <chengyu at cs.colostate.edu> wrote:
> I read the page, but the tracer class only provides installAll medthod.
> It installs the tracer on every node, which is very slow. (It has more
> than 3k nodes)
> Can I just install the tracer on producers?
> On Thu, Feb 28, 2013 at 12:50 PM, Alex Afanasyev <
> alexander.afanasyev at ucla.edu> wrote:
>> I think you overcomplicate things. Do you need this information in
>> runtime or just for later analysis?
>> If for later analysis, ndnSIM has a couple of metric tracing helpers that
>> already collect this sort of information (
>> Both ndn::L3AggregateTracer and ndn::L3RateTracer will give the
>> information you're interested in.
>> Is it what you need or you need something more than just numbers?
>> On Feb 27, 2013, at 4:56 PM, Chengyu Fan <chengyu at cs.colostate.edu>
>> Please forgive me if I missed something apparent.
>> I want to collect the information of how many Interests and what
>> Interests arrive on a node from different faces.
>> Unfortunately, I did not find an example that shows how to collect those
>> I find a class ns3::ndn::NetDeviceFace that seems suit my requirements.
>> And I need to override RegisterProtocolHandler function.
>> Is it correct?
>> Or is there a Tracer class can collect the data for me?
>> ndnSIM mailing list
>> ndnSIM at lists.cs.ucla.edu
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM