Bozu1206 / HomaAeolusSimulation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HomaAeolus

13 oct : still trying to create a simple situation with 2 or 3 hosts


Three logs for three situation :

  • 2hostNoGrant.txt is a simple situation where one host send a relatively small message (~1000 bytes).
  • 2hostGrant.txt is a simple situation where one host send a message (~15000 bytes), in this configuration we can see the receiver host sending GRANT packets.
  • 2host+randompacketdrop.txt is a simple situation where the TOR randomly drops a packet (random = $\text{Unif}_{[0, 1)}$), in this case the sender does not receive GRANT packet anymore and thus stop sending packet.

18 oct : implement the retransmisson mechanism in case of packet drops

How to implement retransmission ?

Using timers : one at sender side and one at receiver side.

Sender side :

  • When the app gives a message to the transport, bind a timer (a self message) to this message. If we receive back a GRANT delete the timer, else resend the message.

Receiver side :

  • Bind a timer to messages, in case of timeout prepare and send a RESEND packet to sender, else the timer will be canceled.

About


Languages

Language:C++ 55.8%Language:C 17.1%Language:Tcl 8.0%Language:HTML 6.8%Language:Roff 2.7%Language:TeX 1.5%Language:CWeb 1.2%Language:Python 1.0%Language:Shell 1.0%Language:Makefile 0.8%Language:Perl 0.6%Language:R 0.5%Language:Mathematica 0.3%Language:CSS 0.3%Language:PostScript 0.3%Language:XSLT 0.3%Language:M4 0.3%Language:Yacc 0.2%Language:BlitzBasic 0.2%Language:Assembly 0.1%Language:Ada 0.1%Language:Batchfile 0.1%Language:Rebol 0.1%Language:Pascal 0.1%Language:Java 0.1%Language:xBase 0.1%Language:C# 0.1%Language:FreeMarker 0.1%Language:AMPL 0.1%Language:SuperCollider 0.1%Language:Lex 0.0%Language:Raku 0.0%Language:Emacs Lisp 0.0%Language:DIGITAL Command Language 0.0%Language:Awk 0.0%Language:MATLAB 0.0%Language:Gnuplot 0.0%Language:CLIPS 0.0%Language:Lua 0.0%Language:DTrace 0.0%Language:SAS 0.0%Language:Module Management System 0.0%Language:Bikeshed 0.0%Language:M 0.0%Language:Charity 0.0%