[ndnSIM] ndnSIM Digest, Vol 62, Issue 1

Mortaza Nikzad mrtz_azad at yahoo.com
Wed Jan 3 04:07:16 PST 2018


hi again!
I found that the consumer window operation is correct but I don't now why the simulation unexpectedly stopped and do not continue to receive data packets until the inflight be lower than m_window? i put some cout in the code and it is the end lines of simulation output:

Data_Received	2.2153	/Prod11	178	1	0.511851	1	1.77156
Window: 117, InFlight: 1300
Data_Received	2.21616	/Prod11	876	1	0.503656	1	1.77243
TimeOut	2.22	/Prod11	210 	 	1	0.496405
TimeOut	2.22	/Prod11	382 	 	1	0.99281
TimeOut	2.22	/Prod11	270 	 	1	1
TimeOut	2.22	/Prod11	627 	 	1	1
TimeOut	2.22	/Prod11	171 	 	1	1
Window: 101, InFlight: 1294
Data_Received	2.22138	/Prod11	391	1	1	1	1.77764
Window: 102, InFlight: 1293
Data_Received	2.22485	/Prod11	808	5	0.489999	1	1.75159
Window: 103, InFlight: 1292
Data_Received	2.22572	/Prod11	982	5	0.507043	1	1.75333
Window: 104, InFlight: 1291
Data_Received	2.22659	/Prod11	947	5	0.516196	1	1.76722
Window: 105, InFlight: 1290
Data_Received	2.22746	/Prod11	713	5	0.506182	1	1.76809
TimeOut	2.24	/Prod11	700 	 	1	0.498148
TimeOut	2.78	/Prod11	380 	 	1	0.996297
mortaza at mortaza:~/Desktop/ndnSIM/ns-3$ 

is anyone know the reason of unexpected simulation stop?
--------------------------------------------
On Tue, 1/2/18,  <ndnsim-request at lists.cs.ucla.edu> wrote:

 Subject: ndnSIM Digest, Vol 62, Issue 1
 To: ndnsim at lists.cs.ucla.edu
 Date: Tuesday, January 2, 2018, 11:30 PM
 
 Send ndnSIM mailing list submissions to
     ndnsim at lists.cs.ucla.edu
 
 To subscribe or unsubscribe via the
 World Wide Web, visit
     http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
 or, via email, send a message with
 subject or body 'help' to
     ndnsim-request at lists.cs.ucla.edu
 
 You can reach the person managing the
 list at
     ndnsim-owner at lists.cs.ucla.edu
 
 When replying, please edit your Subject
 line so it is more specific
 than "Re: Contents of ndnSIM
 digest..."
 
 
 Today's Topics:
 
    1. Problem in Consumer Window
 app (Mortaza Nikzad)
 
 
 ----------------------------------------------------------------------
 
 Message: 1
 Date: Tue, 2 Jan 2018 18:42:07 +0000
 (UTC)
 From: Mortaza Nikzad <mrtz_azad at yahoo.com>
 To: <ndnsim at lists.cs.ucla.edu>
 Subject: [ndnSIM] Problem in Consumer
 Window app
 Message-ID: <1357850236.8199453.1514918527091 at mail.yahoo.com>
 Content-Type: text/plain;
 charset=UTF-8
 
 Hi everyone!
 I think that I have found a problem in
 Consumer-Window?s operation in ndnSim. I explain it by an
 example:
 Assume you have setted the m_seqMax
 (maximum number of packets which you want to receive) to
 1000 packets and initial window size is 20.
  Assume you send 800 packets without
 any time out event, therefore, the m_window and inflight
 variables both will be 820. Now, if a time out occur the
 m_window decreases to initial window size(20) and sending
 stopped until m_window reach to inflight. At this point,
 total inflight packets are 200 packets and if all of them
 received correctly, inflight decreases to 600 and m_window
 increases to 220. So, the next packet will neve be sent!!!!
 
 Is my argument correct?
 my regards
 
 
 ------------------------------
 
 Subject: Digest Footer
 
 _______________________________________________
 ndnSIM mailing list
 ndnSIM at lists.cs.ucla.edu
 http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
 
 
 ------------------------------
 
 End of ndnSIM Digest, Vol 62, Issue 1
 *************************************
 


More information about the ndnSIM mailing list