Home Serwis Stacje robocze iperf
iperf PDF Drukuj Email
czwartek, 30 stycznia 2014 20:24

http://code.google.com/p/iperf-cygwin/downloads/list pobierz iperf

http://luxul.com/wp-content/documents/LUX-HT-iPerf.pdf

 

Opisy:

http://openmaniak.com/iperf.php opis

http://www.elektroda.pl/rtvforum/topic1930597.html:
^C[user@host ~]$ iperf -h
Usage: iperf [-s|-c host] [options]
iperf [-h|--help] [-v|--version]

Client/Server:
-f, --format [kmKM] format to report: Kbits, Mbits, KBytes, MBytes
-i, --interval # seconds between periodic bandwidth reports
-l, --len #[KM] length of buffer to read or write (default 8 KB)
-m, --print_mss print TCP maximum segment size (MTU - TCP/IP header)
-o, --output <filename> output the report or error message to this specified file
-p, --port # server port to listen on/connect to
-u, --udp use UDP rather than TCP
-w, --window #[KM] TCP window size (socket buffer size)
-B, --bind <host> bind to <host>, an interface or multicast address
-C, --compatibility for use with older versions does not sent extra msgs
-M, --mss # set TCP maximum segment size (MTU - 40 bytes)
-N, --nodelay set TCP no delay, disabling Nagle's Algorithm
-V, --IPv6Version Set the domain to IPv6

Server specific:
-s, --server run in server mode
-U, --single_udp run in single threaded UDP mode
-D, --daemon run the server as a daemon

Client specific:
-b, --bandwidth #[KM] for UDP, bandwidth to send at in bits/sec
(default 1 Mbit/sec, implies -u)
-c, --client <host> run in client mode, connecting to <host>
-d, --dualtest Do a bidirectional test simultaneously
-n, --num #[KM] number of bytes to transmit (instead of -t)
-r, --tradeoff Do a bidirectional test individually
-t, --time # time in seconds to transmit for (default 10 secs)
-F, --fileinput <name> input the data to be transmitted from a file
-I, --stdin input the data to be transmitted from stdin
-L, --listenport # port to receive bidirectional tests back on
-P, --parallel # number of parallel client threads to run
-T, --ttl # time-to-live, for multicast (default 1)
-Z, --linux-congestion <algo> set TCP congestion control algorithm (Linux only)

Miscellaneous:
-x, --reportexclude [CDMSV] exclude C(connection) D(data) M(multicast) S(settings) V(server) reports
-y, --reportstyle C report as a Comma-Separated Values
-h, --help print this message and quit
-v, --version print version information and quit

[KM] Indicates options that support a K or M suffix for kilo- or mega-

The TCP window size option can be set by the environment variable
TCP_WINDOW_SIZE. Most other options can be set by an environment variable
IPERF_<long option name>, such as IPERF_BANDWIDTH.

Report bugs to < Adres poczty elektronicznej jest chroniony przed robotami spamującymi. W przeglądarce musi być włączona obsługa JavaScript, żeby go zobaczyć. >

Na jednej z maszyn uruchamiasz serwer
iperf -s

A na drugiej maszynie
iperf -c 129.168.1.10 -r -t 20
iperf -c 192.168.1.10 -d -t 20

oczywi?cie musisz sobie podstawi? w?a?ciwy Tobie adres IP
prze??cznik -c oznacza klienta
prze??cznik -r oznacza ?e tezt b?dzie rewersyjnie ; najpierw w jedn? stron? potem w drug?
prze??cznik -d oznacza ?e test b?dzie wykonany z jednoczesn? transmisj? w obu kierunkach
parametr -t definiuje czas transmisji (w przyk?adzie jest 20s domy?lnie jest 10)

Do ??cza ADSL proponuj? -r

A teraz obja?niam przyk?ad

[user@host ~]$ iperf -c 192.168.25.85 -d -t 20
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.25.85, TCP port 5001
TCP window size: 26.9 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.255.11 port 54423 connected with 192.168.25.85 port 5001
[ 5] local 192.168.255.11 port 5001 connected with 192.168.25.85 port 34098
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-22.2 sec 22.4 MBytes 8.47 Mbits/sec
[ 5] 0.0-26.4 sec 22.8 MBytes 7.22 Mbits/sec


W tym przyk?adzie Transfer oznacza ilo?? przes?anych danych z pr?dko?ci? Bandwidth
[3] oznacza upload
[5] oznacza download
lub odwrotnie tutaj nei pami?tam - sprawdzisz sobie tyle sam

 

przyk?ady:

http://www.youtube.com/watch?v=H_dvLKGue90

http://www.youtube.com/watch?v=EKZo8XCJl9A

http://www.youtube.com/watch?v=M_7OT4ugLIk graficzna wersja jperf

http://www.youtube.com/watch?v=mqpfxqSeASs

http://www.youtube.com/watch?v=ZZjW356PT-g UBUNTU

 


Zmieniony: czwartek, 30 stycznia 2014 21:39
 

Stat

Użytkowników : 4317
Artykułów : 520
Zasoby : 6

Visitors

free counters