Re: [ns] jitter in a new MANET routing protocol

2006-06-14 Thread Francisco J. Ros

Hello,

On Wednesday 14 June 2006 12:54, Alexandra Cioroianu wrote:
> Hello everybody!
>  I'm working with ns-2.29 on Mandriva 2006 and i'm working on a new
> protocol implementation, following the tutorial "Implementing a New Manet
> Unicast Routing Protocol in NS2" by Francisco Ros and Pedro Ruiz. At the
> paragraph 4.3.5 it shows the implementation of send_protoname_pkt()
> function and it shows how to send a packet introducing some jitter. My
> question is: why do they introduce jitter?
>
Periodic messages sent by neighbors are likely to get synchronized and 
therefore the collision probability increases. Introducing a small random 
jitter reduces that probability.

> Is it absolutely necessary?
>
Not at all.

> Could the packet be sent without jitter and how?
>
Of course, just put 0.0 instead of JITTER when scheduling the sending of the 
packet.

Regards,
fran

> I know that jitter is the 
> variation in time between packets ariving. isn't it more efficient to
> send packets at a constant interval? Please someone explain this to me, it
> is VERY IMPORTANT. Thank you in advance! Regards, Alexandra
>
>
>
> Alexandra Cioroianu
>
>  __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com



[ns] jitter in a new MANET routing protocol

2006-06-14 Thread Alexandra Cioroianu

Hello everybody!
 I'm working with ns-2.29 on Mandriva 2006 and i'm working on a new protocol 
implementation, following the tutorial "Implementing a New Manet Unicast 
Routing Protocol in NS2" by Francisco Ros and Pedro Ruiz. 
 At the paragraph 4.3.5 it shows the implementation of send_protoname_pkt() 
function and it shows how to send a packet introducing some jitter. My question 
is: why do they introduce jitter? Is it absolutely necessary? Could the packet 
be sent without jitter and how? I know that jitter is the variation in time 
between packets ariving. isn't it more efficient to send packets at a 
constant interval?
 Please someone explain this to me, it is VERY IMPORTANT. Thank you in advance!
 Regards, Alexandra
 


Alexandra Cioroianu

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com