Closed mohammad-almojamed closed 10 years ago
Hi, i think the problem is with the BaseOverlay.cc. this class did not fetch the parameter " overlayId" which result in having different values for overlayId and creating new Chord ring each time a new node is added to the network during initialization ( Chord::changeState). and the node is then treated as a bootstrap node. so after adding the following line when i run chord simulation with no churn i get 100% success ratio. overlayId = par ("overlayId"); in function BaseOverlay::initialize(int stage) when the stage is MIN_STAGE_OVERLAY.
Am I right?
M
i will check, but have sense
Date: Wed, 1 Jan 2014 07:33:17 -0800 From: notifications@github.com To: Oversim-20121206@noreply.github.com Subject: Re: [Oversim-20121206] low success ratio when this fork of oversim used with inetmanet-2.0 (#2)
Hi,
i think the problem is with the BaseOverlay.cc. this class did not fetch the parameter " overlayId"
which result in having different values for overlayId and creating new Chord ring each time a new node is added to the network during initialization ( Chord::changeState). and the node is then treated as a bootstrap node.
so after adding the following line when i run chord simulation with no churn i get 100% success ratio.
overlayId = par ("overlayId");
in function BaseOverlay::initialize(int stage) when the stage is MIN_STAGE_OVERLAY.
Am I right?
M
— Reply to this email directly or view it on GitHub.
I have uploaded your suggestion, it is true that the overlayId was not initialized, in this condition the initial value is a random value
many thanks
Hi, i am working on oversim with inetmanet. whenever i run a simulation of any protocol with simple underlay or inet underlay it gives a bad performance. for example simulating Chord simple or inet underlay with no churn gives 32% success ratio. where running the same simulation with the same parametres on the normal oversim with inet gives 100% success ratio. i copied the ( defult.ini, and omnetpp.ini from the orginal oversim to oversim with inetmanet but no luck to get better performance.
your help is appreciated. M