<div dir="ltr">Hi Alex,<div>I working with this simple topology:</div><div><br></div><div>producer <---> r3 <--> r2 <--->r1<--->consumer</div><div><br></div><div>where consumer is a node with the ConsumerWindow application installed.</div>
<div>Capacities of the links, are 1Mbps for the r1-consumer 's link and 10Mbps for the rest.</div><div>Each node has a serialized size pit large 10KB and the forwarding strategy is BestRoute.</div><div><br></div><div>
The consumer wants to download 1MB and starts with a window to 1, as initial number of interests that will be send out without wainting for the data.</div><div><br></div><div>In the OnData() function of the ConsumerWindow class, I calculate the number of retransmissions happened when seqNum>=m_seqMax and so when the download is finished. The number of retransmission is the difference between the interests sent and the data received. I increment the interest counter in the funcion WillSendOutInterest() and the data counter in the function OnData(). Then, I have another counter for when a timeout occurs.</div>
<div><br></div><div>Running the simulation, I can see, in the different routers, that the maximum of pit size is never reached and the pit is filled only for a few bytes. So, this might suggest that in the network, none interest has been lost for "pit's size reason", but consumer receive an amount of datas lower than the amount of interests (about 40% of difference). This large difference is due to the trigger of several timeout that cause the retransmission.</div>
<div><br></div><div>My question is, in this simple scenario, how is it possible that the r1 router not receive the interest sent by the consumer? And there are other reasons that cause the timeouts' trigger?</div><div>
In my opinion it's possible that the window's size increase too fast, saturating the link. What do you think? If you agree, is there a way to set a maximum size that the window can reach?</div><div><br></div><div>
I hope you can help me.</div><div><br></div><div>Best regards,</div><div><br></div><div>Fabrizio</div></div>