some cleanup, updates
This commit is contained in:
parent
78379b172e
commit
5fa2f3b044
11
src/TODO.txt
11
src/TODO.txt
@ -1,14 +1,13 @@
|
|||||||
|
|
||||||
Current list of things to fix/add to iperf 3.0
|
Current list of things to fix/add to iperf3
|
||||||
|
|
||||||
- test -T option on server
|
- readd -Z option (linux tcp congestion control algoritm)
|
||||||
|
- readd flag to set IP_TOS (-S)
|
||||||
|
- finish adding verbose and debug options
|
||||||
- separate iperf_api.c into iperf_client.c and iperf_utils.c
|
- separate iperf_api.c into iperf_client.c and iperf_utils.c
|
||||||
- look for 'XXX' in code and address
|
- look for 'XXX' in code and address
|
||||||
- much better/standard error handling throughout
|
- much better/standard error handling throughout
|
||||||
- better packaging/makefile, README, LICENCE, etc files
|
- better packaging/makefile, README, LICENCE, etc files
|
||||||
- readd -Z option (linux tcp congestion control algoritm)
|
|
||||||
- readd flog to set IP_TOS (-S)
|
|
||||||
- add verbose and debug options
|
|
||||||
- finish/fix receive_result_from_server()
|
- finish/fix receive_result_from_server()
|
||||||
- should this be called for TCP too, or only UDP (currently its both,
|
- should this be called for TCP too, or only UDP (currently its both,
|
||||||
but I think it should be UDP only, or maybe a command line option for TCP
|
but I think it should be UDP only, or maybe a command line option for TCP
|
||||||
@ -18,6 +17,7 @@ Current list of things to fix/add to iperf 3.0
|
|||||||
add TCP control socket?
|
add TCP control socket?
|
||||||
use clock_nanosleep() for more accurate timing in Linux?
|
use clock_nanosleep() for more accurate timing in Linux?
|
||||||
(http://www.kernel.org/doc/man-pages/online/pages/man2/clock_nanosleep.2.html)
|
(http://www.kernel.org/doc/man-pages/online/pages/man2/clock_nanosleep.2.html)
|
||||||
|
fix server to handle both TCP and UDP
|
||||||
- add human readable vs machine readable output mode
|
- add human readable vs machine readable output mode
|
||||||
(my idea on this is that "human readable" = compatable with old iperf,
|
(my idea on this is that "human readable" = compatable with old iperf,
|
||||||
and that "machine readable is all name=value pairs -blt )
|
and that "machine readable is all name=value pairs -blt )
|
||||||
@ -25,4 +25,5 @@ Current list of things to fix/add to iperf 3.0
|
|||||||
- lots more testing
|
- lots more testing
|
||||||
- add daemon mode (-D)
|
- add daemon mode (-D)
|
||||||
- see issue tracker for other wish list items
|
- see issue tracker for other wish list items
|
||||||
|
http://code.google.com/p/iperf/issues/list
|
||||||
|
|
||||||
|
@ -161,7 +161,7 @@ enum
|
|||||||
/* default settings */
|
/* default settings */
|
||||||
Ptcp = SOCK_STREAM,
|
Ptcp = SOCK_STREAM,
|
||||||
Pudp = SOCK_DGRAM,
|
Pudp = SOCK_DGRAM,
|
||||||
PORT = 5002, /* default port to listen on (don't use the same port as iperf2) */
|
PORT = 5201, /* default port to listen on (don't use the same port as iperf2) */
|
||||||
uS_TO_NS = 1000,
|
uS_TO_NS = 1000,
|
||||||
SEC_TO_US = 1000000,
|
SEC_TO_US = 1000000,
|
||||||
RATE = 1024 * 1024, /* 1 Mbps */
|
RATE = 1024 * 1024, /* 1 Mbps */
|
||||||
|
@ -938,7 +938,6 @@ iperf_run_client(struct iperf_test * test)
|
|||||||
//printf("Done Sending ALL_STREAMS_END. \n");
|
//printf("Done Sending ALL_STREAMS_END. \n");
|
||||||
|
|
||||||
/* show final summary */
|
/* show final summary */
|
||||||
/* XXX: check to make sure this is needed */
|
|
||||||
test->stats_callback(test);
|
test->stats_callback(test);
|
||||||
result_string = test->reporter_callback(test);
|
result_string = test->reporter_callback(test);
|
||||||
puts(result_string);
|
puts(result_string);
|
||||||
|
Loading…
Reference in New Issue
Block a user