Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] Issue 103 in ndt: Documentation of the wait flag values inconsistent with the code (?)

Subject: NDT-DEV email list created

List archive

[ndt-dev] Issue 103 in ndt: Documentation of the wait flag values inconsistent with the code (?)


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] Issue 103 in ndt: Documentation of the wait flag values inconsistent with the code (?)
  • Date: Fri, 22 Nov 2013 16:34:23 +0000

Status: New
Owner: ----
Labels: Type-Defect Severity-Medium

New issue 103 by : Documentation of the wait flag values inconsistent with the code (?)
http://code.google.com/p/ndt/issues/detail?id=103

I am having some problems understanding some of the values of the wait flag.

In particular,
1) According to the documentation (https://code.google.com/p/ndt/wiki/NDTProtocol#Queuing_clients), the value of the wait flag can be N, where N is "the estimated number of minutes that the Client will wait for its test to begin".
2) AFAIU from the server code, the server sends the number of pending tests (https://code.google.com/p/ndt/source/browse/trunk/src/web100srv.c#114), where tests == test clients (i.e., each individual test - s2c, c2s, ... - has its own client).
3) Comments of the Java and c clients say that, "number of minutes to wait = number of queued clients"
https://code.google.com/p/ndt/source/browse/trunk/Applet/Tcpbw100.java#2477
https://code.google.com/p/ndt/source/browse/trunk/src/web100clt.c#725

My interpretation is
- The server sends the number of waiting test clients.
- The client estimates the waiting time as 45sec * number of tests.
If my interpretation is correct, 
- All the code (c server, c client, Java client) is correct.
- While the comments and the wiki seem wrong.

Could you confirm if the comments and the wiki are inconsistent or if I am just misreading them?

Thanks!

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



Archive powered by MHonArc 2.6.16.

Top of Page