<div dir="ltr">ok, I will work on it.</div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-05 5:38 GMT-03:00 Henning Rogge <span dir="ltr"><<a href="mailto:hrogge@gmail.com" target="_blank">hrogge@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes...<br>
<br>
I tested the olsrd2 "heap" branch a bit more and run into lots of<br>
segfaults. They don't happen in the master branch, so the problem<br>
should either be in the modified routing code or the the heap code.<br>
<br>
Olsrd2 should run without modifications in CORE... just run<br>
"olsrd2_static <interface1> <interface2> ..." in each node.<br>
<br>
I can see the segfault in a small grid topology at the moment, but I<br>
have trouble tracking the problem down.<br>
<br>
Henning<br>
<br>
On Mon, Oct 5, 2015 at 10:36 AM, Diogo Gonçalves<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:diogomachadogoncalves@gmail.com">diogomachadogoncalves@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I looked at the branch and the code looks fine.<br>
><br>
> Was intentional the single @param comment at heap_is_node_added function?<br>
> Apart from that the code looks great.<br>
><br>
> Can I help you with something? I still have been trying to run olsrd on CORE<br>
> but without success, when I run my olsrd on core I will send you the<br>
> performance report.<br>
><br>
> Best regards.<br>
><br>
><br>
><br>
> 2015-10-04 12:42 GMT-03:00 Henning Rogge <<a href="mailto:hrogge@gmail.com">hrogge@gmail.com</a>>:<br>
>><br>
>> Hi,<br>
>><br>
>> I just added the heap code to the OLSRv2 repository (in a branch<br>
>> called "heap") and did a few basic tests...<br>
>><br>
>> I have not (at the moment) added the heap code to the "src/common"<br>
>> directory because I still have to rework it for generic "key"<br>
>> variables.<br>
>><br>
>> Feel free to have a look at the branch.<br>
>><br>
>> Henning<br>
>><br>
>> On Fri, Sep 18, 2015 at 11:23 AM, Henning Rogge <<a href="mailto:hrogge@gmail.com">hrogge@gmail.com</a>> wrote:<br>
>> > We had a fix for olsrd some time ago which was important for Core...<br>
>> ><br>
>> > because Core forgets to set a good broadcast address.<br>
>> ><br>
>> > Merge the latest olsr master branch into your binary heap branch and try<br>
>> > again.<br>
>> ><br>
>> > Henning<br>
>> ><br>
>> > On Thu, Sep 17, 2015 at 11:21 PM, Diogo Gonçalves<br>
>> > <<a href="mailto:diogomachadogoncalves@gmail.com">diogomachadogoncalves@gmail.com</a>> wrote:<br>
>> >> Hi,<br>
>> >><br>
>> >> Sorry for my long time offline, I had some problems at home that<br>
>> >> disturbed<br>
>> >> me.<br>
>> >><br>
>> >> I finish my new patch [1] following the plain, if i did something wrong<br>
>> >> about the plain, tell me and i'll fix it.<br>
>> >><br>
>> >> Henning suggested me to use CORE to test my code, I installed the<br>
>> >> emulator<br>
>> >> but I haven't found a way to configure CORE to run my olsrd. Is there a<br>
>> >> reference to learn more about olsrd on CORE?<br>
>> >><br>
>> >> Again, sorry for my time out. I'm available to work on this project and<br>
>> >> I<br>
>> >> want to do this.<br>
>> >><br>
>> >> Best regards<br>
>> >><br>
>> >><br>
>> >><br>
>> >> [1] <a href="https://github.com/diogomg/olsrd-binary-heap" rel="noreferrer" target="_blank">https://github.com/diogomg/olsrd-binary-heap</a><br>
>> >><br>
>> >> 2015-08-21 1:40 GMT-03:00 Henning Rogge <<a href="mailto:hrogge@gmail.com">hrogge@gmail.com</a>>:<br>
>> >>><br>
>> >>> On Fri, Aug 21, 2015 at 2:30 AM, Diogo Gonçalves<br>
>> >>> <<a href="mailto:diogomachadogoncalves@gmail.com">diogomachadogoncalves@gmail.com</a>> wrote:<br>
>> >>>><br>
>> >>>> Hi,<br>
>> >>>><br>
>> >>>> I'm finishing my patch, I'll send it to you soon.<br>
>> >>>><br>
>> >>>> For now, I just have some issues about how to measure the performance<br>
>> >>>> of<br>
>> >>>> the priority queues in olsrd. I'm using olsr switch to test my code<br>
>> >>>> and I<br>
>> >>>> did not find a good way to scale my network and measure the<br>
>> >>>> performance. I<br>
>> >>>> have some results outside the olsrd(see attachments) using<br>
>> >>>> kcachegrind and<br>
>> >>>> other tools to do this and now I'm trying to measure the performance<br>
>> >>>> into<br>
>> >>>> the olsrd too.<br>
>> >>>><br>
>> >>>> Is olsr switch the best way to do this?<br>
>> >>><br>
>> >>><br>
>> >>> No, it is definitely not.<br>
>> >>><br>
>> >>> I would go with an emulator like CORE (from the NRL) or maybe setup a<br>
>> >>> bunch of VMs on my own.<br>
>> >>><br>
>> >>> Henning<br>
>> >>><br>
>> >><br>
><br>
><br>
</div></div></blockquote></div><br></div>