Subject: NDT-DEV email list created
[ndt-dev] Issue 79 in ndt: Option --adminview on web100srv(ndtd) causes calculation failures since 3.6.5+
- Subject: [ndt-dev] Issue 79 in ndt: Option --adminview on web100srv(ndtd) causes calculation failures since 3.6.5+
- Date: Mon, 04 Mar 2013 19:17:49 +0000
- Authentication-results: sfpop-ironport01.merit.edu; dkim=neutral (message not signed) header.i=none
Labels: Type-Defect Severity-Medium
New issue 79 by : Option --adminview on web100srv(ndtd) causes calculation failures since 3.6.5+
While testing the next version of NDT for M-Lab, I have observed that since version 3.6.5 up to the current HEAD, the option "--adminview" or "-a" causes various calculation errors, for instance with max_theoretical_throughput, that are exposed to the client applet.
To reproduce this behavior, build and run a recent NDT server, provide the following command line arguments:
WEB100SRV_OPTIONS="-a -dddddd --log_dir $SLICEDATADIR "
WEB100SRV_OPTIONS+="--snaplog --tcpdump --cputime --multiple "
With these options, as a result of the calculation error, invalid information is returned to the client applet, which generates an error:
Error parsing test results!
java.lang.NumberFormatException: For input string: "-nan"
If you then click on 'More Details...', notice that the list of values stops at "bw: -nan":
The value "bw:" corresponds to the, max_theoretical_thruput calculation. If you look in the server output you will see something like:
--packetloss=1 over 8950=0.000112. Link spd=6
--packets out of order: 0.040060
--max_theoretical_thruput: -nan. From 1448,0.159434,0.000112
--window sizes: SndWinScale= -1077280188, RcvwinScale=-1077280184,
rwin=-0.203188, swin=-0.203187, cwin=-0.203208
There is some corruption occurring, since the input values for the max_theoretical_throughput are ok, but the result "-nan" is wrong. Also, the *winScale values are clearly incorrect.
When the "--adminview" option is removed from the server, the calculations are performed successfully.
So, a short-term work-around is to disable the option. However, it is clearly a bug that enabling this feature results in incorrect calculations exposed to the client.
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
- [ndt-dev] Issue 79 in ndt: Option --adminview on web100srv(ndtd) causes calculation failures since 3.6.5+, ndt, 03/04/2013
Archive powered by MHonArc 2.6.16.