Comparing FreeBSD 5 and ns-2 Agent/TCP/Sack1/Agent/TCPSink/Sack1/DelAck. In a simple dumbbell scenario with very few TCP streams.
At the end of this post is the verbatim output of Nimrod/O for this scenario (well, most of it). What it boils down to is that in the situation where:
fwd_queue=20 rvs_queue=38 fwd_delay=0.160718 rvs_delay=0.196312
fwd_loss=0.202638 rvs_loss=0.313131 fwd_bw=1281154 rvs_bw=6701321
Then we get the following result:
sim$ tail result-*
==> result-freebsd.txt <==
1351732
==> result-ns2.txt <==
3040
That is the total amount of bytes through the network achieved. Obviously ns-2 struggled to make a connection while FreeBSD actually transfered a significant amount of data (over the 10 minute simulation time). Really need to do more analysis with different random seeds and so on to test this sort of result.
And do we even care? 20% loss in one direction and 31% in another. RTT of ~ 354 ms. Upstream bw of ~1.3Mb, downstream of ~6.7Mb (Well, I think the unit is b/s). I don’t believe the queue sizes are so important here.
The result is interesting enough in itself I guess. But next I should vary the simulation script and the parameters I give it. Eg. no random loss, but more cross traffic mixes. I already know random loss provides scenarios where we get quite different results.
Also, worth testing against Linux and OpenBSD.
------------- For text variables: direction="reverse" ---------------
Starting point Optimum At Point
Iters. Evals. Batches
(46,36,0.7165,0.6616,0.04521,0.1588,5.891e+06,8.179e+06) 0.673575
(49,34,0.6994,0.6417,0.05621,0.1701,5.72e+06,8.018e+06) 50 267 (277) 58 (58)
(24,40,0.1861,0.1612,0.1853,0.2707,5.41e+05,7.697e+06) 0.00225404
(20,38,0.1607,0.1963,0.2026,0.3131,1.281e+06,6.701e+06) 23 103 (106) 24 (24)
------------ Statistics: Combination 2 Block 'Simplex' -------------
Total number of searches: 2
searches aborted: 0
searches failed: 0
successful searches: 2
Search objective results:
mean: 0.337914
standard deviation: 0.474695
standard error : 0.33566
best: 0.00225404
worst: 0.673575
Evaluations performed (scheduled):
mean: 185.00 (191.50)
standard deviation: 115.97 (120.92)
standard error: 82.00 (85.50)
maximum: 267 (277)
minimum: 103 (106)
Batches performed (scheduled):
mean: 41.00 (41.00)
standard deviation: 24.04 (24.04)
standard error: 17.00 (17.00)
maximum: 58 (58)
minimum: 24 (24)
Iterations:
mean: 36.50
standard deviation: 19.09
standard error: 13.50
maximum: 50
minimum: 23
Best Optimum=0.00225404 for parameters fwd_queue=20 rvs_queue=38
fwd_delay=0.160718 rvs_delay=0.196312 fwd_loss=0.202638 rvs_loss=0.313131
fwd_bw=1281154 rvs_bw=6701321 direction="reverse"
---------------------------------------------------------------------
-----------------------------------
-----------------------------------
-------------------- Statistics: All Experiments---------------------
Total number of searches: 4
searches aborted: 0
searches failed: 0
successful searches: 4
Search objective results:
mean: 0.337914
standard deviation: 0.387587
standard error : 0.193794
best: 0.00225404
worst: 0.673575
median: 0.337914
Iterations:
mean: 36.50
standard deviation: 15.59
standard error: 7.79
maximum: 50
minimum: 23
median: 36.5
Best Optimum=0.00225404 for parameters fwd_queue=20 rvs_queue=38
fwd_delay=0.160718 rvs_delay=0.196312 fwd_loss=0.202638 rvs_loss=0.313131
fwd_bw=1281154 rvs_bw=6701321 direction="forward"
fwd_queue=20 rvs_queue=38 fwd_delay=0.160718
rvs_delay=0.196312 fwd_loss=0.202638 rvs_loss=0.313131 fwd_bw=1281154
rvs_bw=6701321 direction="reverse"
-------------------------- Combined Counts --------------------------
Evaluations performed (scheduled):
total: 740 (766)
mean: 185.00 (191.50)
Batches performed (scheduled):
total: 164 (164)
mean: 41.00 (41.00)
---------------------------------------------------------------------