[Olsr-dev] Improving SPF with binary heaps
Velt, R. (Ronald) in 't
(spam-protected)
Fri Sep 18 11:19:34 CEST 2015
Hi Diogo,
> From: (spam-protected) [mailto:(spam-protected)] On Behalf Of Diogo Gonçalves
> Sent: donderdag 17 september 2015 23:22
> To: Henning Rogge
> Cc: olsr-dev
> Subject: Re: [Olsr-dev] Improving SPF with binary heaps
>
> Hi,
>
> Sorry for my long time offline, I had some problems at home that disturbed me.
>
> I finish my new patch [1] following the plain, if i did something wrong about the plain, tell me and i'll fix it.
>
> Henning suggested me to use CORE to test my code, I installed the emulator but I haven't found a way to configure
> CORE to run my olsrd. Is there a reference to learn more about olsrd on CORE?
Maybe my olsrd2.py (attached) can serve as a starting point. It was derived from sample.py and creates a very simple per-node olsrd2.conf file. In addition, it makes olsrd2 show up in the 'Routing' column on the Services panel. I have yet to figure out the tricky part, which is to add entries to the conf file for Local Attached Subnets based on prefixes of the addresses that CORE automagically assigns to non-MANET interfaces (if any).
This file should be placed in the <your_homedir>/.core/myservices directory and registered in the __init__.py file, as per the instructions in the README. Then you should enable user defined services (as defined in the myservices directory) by uncommenting the appropriate line in /etc/core/core.conf. (See comments in that file).
Hope this helps.
Best regards,
Ronald in 't Velt
>
> Again, sorry for my time out. I'm available to work on this project and I want to do this.
>
> Best regards
>
>
>
> [1] https://github.com/diogomg/olsrd-binary-heap
>
> 2015-08-21 1:40 GMT-03:00 Henning Rogge <(spam-protected)>:
> On Fri, Aug 21, 2015 at 2:30 AM, Diogo Gonçalves <(spam-protected)> wrote:
> Hi,
>
> I'm finishing my patch, I'll send it to you soon.
>
> For now, I just have some issues about how to measure the performance of the priority queues in olsrd. I'm using olsr > switch to test my code and I did not find a good way to scale my network and measure the performance. I have some > results outside the olsrd(see attachments) using kcachegrind and other tools to do this and now I'm trying to measure > the performance into the olsrd too.
>
> Is olsr switch the best way to do this?
>
> No, it is definitely not.
>
> I would go with an emulator like CORE (from the NRL) or maybe setup a bunch of VMs on my own.
>
> Henning
This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: olsrd2.py
Type: application/octet-stream
Size: 1644 bytes
Desc: olsrd2.py
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20150918/72103375/attachment.obj>
More information about the Olsr-dev
mailing list