国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

Iperf網(wǎng)絡(luò)測(cè)試工具

這篇具有很好參考價(jià)值的文章主要介紹了Iperf網(wǎng)絡(luò)測(cè)試工具。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

Iperf網(wǎng)絡(luò)測(cè)試工具

iperf

Iperf是一款基于TCP/IP和UDP/IP的網(wǎng)絡(luò)性能測(cè)試工具,可以用來測(cè)量網(wǎng)絡(luò)帶寬和網(wǎng)絡(luò)質(zhì)量,提供網(wǎng)絡(luò)延遲抖動(dòng)、數(shù)據(jù)包丟失率、最大傳輸單元等統(tǒng)計(jì)信息。

安裝

sudo apt install iperf

iperf源碼倉(cāng)庫(kù)

measurement tool (github.com)

iperf官網(wǎng)

iPerf - The TCP, UDP and SCTP network bandwidth measurement tool

幫助手冊(cè)

eddy@eddy:~$ iperf -h
Usage: iperf [-s|-c host] [options]
       iperf [-h|--help] [-v|--version]

Client/Server:
  -b, --bandwidth #[kmgKMG | pps]  bandwidth to send at in bits/sec or packets per second
  -e, --enhancedreports    use enhanced reporting giving more tcp/udp and traffic information
  -f, --format    [kmgKMG]   format to report: Kbits, Mbits, KBytes, MBytes
  -i, --interval  #        seconds between periodic bandwidth reports
  -l, --len       #[kmKM]    length of buffer in bytes to read or write (Defaults: TCP=128K, v4 UDP=1470, v6 UDP=1450)
  -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
      --udp-counters-64bit use 64 bit sequence numbers with UDP
  -w, --window    #[KM]    TCP window size (socket buffer size)
  -z, --realtime           request realtime scheduler
  -B, --bind <host>[:<port>][%<dev>] bind to <host>, ip addr (including multicast address) and optional port and device
  -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
  -S, --tos       #        set the socket's IP_TOS (byte) field

Server specific:
  -s, --server             run in server mode
  -t, --time      #        time in seconds to listen for new connections as well as to receive traffic (default not set)
      --udp-histogram #,#  enable UDP latency histogram(s) with bin width and count, e.g. 1,1000=1(ms),1000(bins)
  -B, --bind <ip>[%<dev>]  bind to multicast address and optional device
  -H, --ssm-host <ip>      set the SSM source, use with -B for (S,G)
  -U, --single_udp         run in single threaded UDP mode
  -D, --daemon             run the server as a daemon
  -V, --ipv6_domain        Enable IPv6 reception by setting the domain and socket to AF_INET6 (Can receive on both IPv4 and IPv6)

Client specific:
  -c, --client    <host>   run in client mode, connecting to <host>
  -d, --dualtest           Do a bidirectional test simultaneously
      --ipg                set the the interpacket gap (milliseconds) for packets within an isochronous frame
      --isochronous <frames-per-second>:<mean>,<stddev> send traffic in bursts (frames - emulate video traffic)
  -n, --num       #[kmgKMG]    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)
  -B, --bind [<ip> | <ip:port>] bind ip (and optional port) from which to source traffic
  -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
  -R, --reverse            reverse the test (client receives, server sends)
  -T, --ttl       #        time-to-live, for multicast (default 1)
  -V, --ipv6_domain        Set the domain to IPv6 (send packets over IPv6)
  -X, --peer-detect        perform server version detection and version exchange
  -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

[kmgKMG] Indicates options that support a k,m,g,K,M or G suffix
Lowercase format characters are 10^3 based and uppercase are 2^n based
(e.g. 1k = 1000, 1K = 1024, 1m = 1,000,000 and 1M = 1,048,576)

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.

Source at <http://sourceforge.net/projects/iperf2/>
Report bugs to <iperf-users@lists.sourceforge.net>
eddy@eddy:~$

簡(jiǎn)單測(cè)試

server

iperf -s -i 1 -p 5001
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size:  128 KByte (default)
------------------------------------------------------------
[  4] local 192.168.159.131 port 5001 connected with 192.168.159.132 port 52464
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0- 1.0 sec   135 MBytes  1.13 Gbits/sec
[  4]  1.0- 2.0 sec   136 MBytes  1.14 Gbits/sec
[  4]  2.0- 3.0 sec  78.8 MBytes   661 Mbits/sec
[  4]  3.0- 4.0 sec  79.4 MBytes   666 Mbits/sec
[  4]  4.0- 5.0 sec   111 MBytes   932 Mbits/sec
[  4]  5.0- 6.0 sec   105 MBytes   877 Mbits/sec
[  4]  6.0- 7.0 sec   121 MBytes  1.02 Gbits/sec
[  4]  7.0- 8.0 sec   122 MBytes  1.03 Gbits/sec
[  4]  8.0- 9.0 sec   127 MBytes  1.06 Gbits/sec
[  4]  9.0-10.0 sec   106 MBytes   891 Mbits/sec
[  4]  0.0-10.0 sec  1.10 GBytes   941 Mbits/sec

client

eddy@eddy:~$ iperf -c 192.168.159.131 -i 1 -p 5001
------------------------------------------------------------
Client connecting to 192.168.159.131, TCP port 5001
TCP window size:  629 KByte (default)
------------------------------------------------------------
[  3] local 192.168.159.132 port 52464 connected with 192.168.159.131 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 1.0 sec   139 MBytes  1.16 Gbits/sec
[  3]  1.0- 2.0 sec   136 MBytes  1.14 Gbits/sec
[  3]  2.0- 3.0 sec  78.2 MBytes   656 Mbits/sec
[  3]  3.0- 4.0 sec  79.8 MBytes   669 Mbits/sec
[  3]  4.0- 5.0 sec   112 MBytes   935 Mbits/sec
[  3]  5.0- 6.0 sec   104 MBytes   871 Mbits/sec
[  3]  6.0- 7.0 sec   122 MBytes  1.02 Gbits/sec
[  3]  7.0- 8.0 sec   121 MBytes  1.02 Gbits/sec
[  3]  8.0- 9.0 sec   127 MBytes  1.07 Gbits/sec
[  3]  9.0-10.0 sec   106 MBytes   886 Mbits/sec
[  3]  0.0-10.0 sec  1.10 GBytes   943 Mbits/sec
eddy@eddy:~$

相關(guān)參數(shù)

eddy@eddy:~$ iperf -h
Usage: iperf [-s|-c host] [options]
       iperf [-h|--help] [-v|--version]

Client/Server:
  -b, --bandwidth #[kmgKMG | pps]  bandwidth to send at in bits/sec or packets per second
  -e, --enhancedreports    use enhanced reporting giving more tcp/udp and traffic information
  -f, --format    [kmgKMG]   format to report: Kbits, Mbits, KBytes, MBytes
  -i, --interval  #        seconds between periodic bandwidth reports
  -l, --len       #[kmKM]    length of buffer in bytes to read or write (Defaults: TCP=128K, v4 UDP=1470, v6 UDP=1450)
  -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
      --udp-counters-64bit use 64 bit sequence numbers with UDP
  -w, --window    #[KM]    TCP window size (socket buffer size)
  -z, --realtime           request realtime scheduler
  -B, --bind <host>[:<port>][%<dev>] bind to <host>, ip addr (including multicast address) and optional port and device
  -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
  -S, --tos       #        set the socket's IP_TOS (byte) field

Server specific:
  -s, --server             run in server mode
  -t, --time      #        time in seconds to listen for new connections as well as to receive traffic (default not set)      --udp-histogram #,#  enable UDP latency histogram(s) with bin width and count, e.g. 1,1000=1(ms),1000(bins)
  -B, --bind <ip>[%<dev>]  bind to multicast address and optional device
  -H, --ssm-host <ip>      set the SSM source, use with -B for (S,G)
  -U, --single_udp         run in single threaded UDP mode
  -D, --daemon             run the server as a daemon
  -V, --ipv6_domain        Enable IPv6 reception by setting the domain and socket to AF_INET6 (Can receive on both IPv4 and IPv6)

Client specific:
  -c, --client    <host>   run in client mode, connecting to <host>
  -d, --dualtest           Do a bidirectional test simultaneously
      --ipg                set the the interpacket gap (milliseconds) for packets within an isochronous frame
      --isochronous <frames-per-second>:<mean>,<stddev> send traffic in bursts (frames - emulate video traffic)
  -n, --num       #[kmgKMG]    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)
  -B, --bind [<ip> | <ip:port>] bind ip (and optional port) from which to source traffic
  -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
  -R, --reverse            reverse the test (client receives, server sends)
  -T, --ttl       #        time-to-live, for multicast (default 1)
  -V, --ipv6_domain        Set the domain to IPv6 (send packets over IPv6)
  -X, --peer-detect        perform server version detection and version exchange
  -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

[kmgKMG] Indicates options that support a k,m,g,K,M or G suffix
Lowercase format characters are 10^3 based and uppercase are 2^n based
(e.g. 1k = 1000, 1K = 1024, 1m = 1,000,000 and 1M = 1,048,576)

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.

Source at <http://sourceforge.net/projects/iperf2/>
Report bugs to <iperf-users@lists.sourceforge.net>
eddy@eddy:~$

TCP

server

iperf -s -i 1 -p 5002  -l 512
------------------------------------------------------------
Server listening on TCP port 5002
TCP window size:  128 KByte (default)
------------------------------------------------------------
[  4] local 192.168.159.131 port 5002 connected with 192.168.159.132 port 57890
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0- 1.0 sec  39.3 MBytes   330 Mbits/sec
[  4]  1.0- 2.0 sec  35.9 MBytes   301 Mbits/sec
[  4]  2.0- 3.0 sec  49.5 MBytes   416 Mbits/sec
[  4]  3.0- 4.0 sec  38.1 MBytes   320 Mbits/sec
[  4]  4.0- 5.0 sec  20.1 MBytes   168 Mbits/sec
[  4]  5.0- 6.0 sec  20.2 MBytes   170 Mbits/sec
[  4]  6.0- 7.0 sec  19.5 MBytes   164 Mbits/sec
[  4]  7.0- 8.0 sec  19.8 MBytes   166 Mbits/sec
[  4]  8.0- 9.0 sec  20.6 MBytes   173 Mbits/sec
[  4]  0.0-10.0 sec   284 MBytes   238 Mbits/sec

client

eddy@eddy:~$ iperf -c 192.168.159.131 -i 1 -p 5002 -t 10 -l 512
------------------------------------------------------------
Client connecting to 192.168.159.131, TCP port 5002
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.159.132 port 57890 connected with 192.168.159.131 port 5002
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 1.0 sec  42.0 MBytes   353 Mbits/sec
[  3]  1.0- 2.0 sec  35.9 MBytes   301 Mbits/sec
[  3]  2.0- 3.0 sec  49.9 MBytes   419 Mbits/sec
[  3]  3.0- 4.0 sec  35.1 MBytes   294 Mbits/sec
[  3]  4.0- 5.0 sec  20.1 MBytes   169 Mbits/sec
[  3]  5.0- 6.0 sec  20.1 MBytes   169 Mbits/sec
[  3]  6.0- 7.0 sec  19.5 MBytes   164 Mbits/sec
[  3]  7.0- 8.0 sec  19.7 MBytes   165 Mbits/sec
[  3]  8.0- 9.0 sec  20.6 MBytes   173 Mbits/sec
[  3]  9.0-10.0 sec  20.8 MBytes   175 Mbits/sec
[  3]  0.0-10.0 sec   284 MBytes   238 Mbits/sec
eddy@eddy:~$

UDP

server

eddy@eddy:~$ iperf -s -i 1 -p 5002  -l 512 -b 1000M -u
------------------------------------------------------------
Server listening on UDP port 5002
Receiving 512 byte datagrams
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3] local 192.168.159.131 port 5002 connected with 192.168.159.132 port 33698
[ ID] Interval       Transfer     Bandwidth        Jitter   Lost/Total Datagrams
[  3]  0.0- 1.0 sec  11.1 MBytes  92.7 Mbits/sec   0.036 ms  398/23031 (1.7%)
[  3]  1.0- 2.0 sec  10.0 MBytes  83.9 Mbits/sec   0.035 ms    0/20483 (0%)
[  3]  2.0- 3.0 sec  10.5 MBytes  88.3 Mbits/sec   0.035 ms   42/21607 (0.19%)
[  3]  3.0- 4.0 sec  7.31 MBytes  61.3 Mbits/sec   0.035 ms  510/15487 (3.3%)
[  3]  4.0- 5.0 sec  9.28 MBytes  77.8 Mbits/sec   0.043 ms    0/18996 (0%)
[  3]  5.0- 6.0 sec  10.1 MBytes  85.1 Mbits/sec   0.039 ms    0/20783 (0%)
[  3]  6.0- 7.0 sec  12.0 MBytes   101 Mbits/sec   0.036 ms    0/24672 (0%)
[  3]  7.0- 8.0 sec  12.1 MBytes   101 Mbits/sec   0.037 ms    0/24767 (0%)
[  3]  8.0- 9.0 sec  10.5 MBytes  88.2 Mbits/sec   0.037 ms   16/21558 (0.074%)
[  3]  9.0-10.0 sec  12.1 MBytes   102 Mbits/sec   0.169 ms    0/24865 (0%)
[  3]  0.0-10.0 sec   105 MBytes  88.2 Mbits/sec   0.169 ms  966/216249 (0.45%)
eddy@eddy:~$

client

eddy@eddy:~$ iperf -c 192.168.159.131 -i 1 -p 5002 -t 10 -l 512 -b 1000M -u
------------------------------------------------------------
Client connecting to 192.168.159.131, UDP port 5002
Sending 512 byte datagrams, IPG target: 3.91 us (kalman adjust)
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3] local 192.168.159.132 port 33698 connected with 192.168.159.131 port 5002
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 1.0 sec  11.2 MBytes  94.2 Mbits/sec
[  3]  1.0- 2.0 sec  10.0 MBytes  83.9 Mbits/sec
[  3]  2.0- 3.0 sec  10.6 MBytes  88.5 Mbits/sec
[  3]  3.0- 4.0 sec  7.56 MBytes  63.4 Mbits/sec
[  3]  4.0- 5.0 sec  9.28 MBytes  77.8 Mbits/sec
[  3]  5.0- 6.0 sec  10.1 MBytes  85.0 Mbits/sec
[  3]  6.0- 7.0 sec  12.0 MBytes   101 Mbits/sec
[  3]  7.0- 8.0 sec  12.1 MBytes   101 Mbits/sec
[  3]  8.0- 9.0 sec  10.5 MBytes  88.3 Mbits/sec
[  3]  9.0-10.0 sec  12.2 MBytes   102 Mbits/sec
[  3]  0.0-10.0 sec   106 MBytes  88.6 Mbits/sec
[  3] Sent 216249 datagrams
[  3] Server Report:
[  3]  0.0-10.0 sec   105 MBytes  88.2 Mbits/sec   0.169 ms  966/216249 (0.45%)
eddy@eddy:~$

iperf3

安裝

sudo apt install iperf3

幫助手冊(cè)

eddy@eddy:~$ iperf3 -h
Usage: iperf3 [-s|-c host] [options]
       iperf3 [-h|--help] [-v|--version]

Server or Client:
  -p, --port      #         server port to listen on/connect to
  -f, --format   [kmgtKMGT] format to report: Kbits, Mbits, Gbits, Tbits
  -i, --interval  #         seconds between periodic throughput reports
  -F, --file name           xmit/recv the specified file
  -A, --affinity n/n,m      set CPU affinity
  -B, --bind      <host>    bind to the interface associated with the address <host>
  -V, --verbose             more detailed output
  -J, --json                output in JSON format
  --logfile f               send output to a log file
  --forceflush              force flushing output at every interval
  -d, --debug               emit debugging output
  -v, --version             show version information and quit
  -h, --help                show this message and quit
Server specific:
  -s, --server              run in server mode
  -D, --daemon              run the server as a daemon
  -I, --pidfile file        write PID file
  -1, --one-off             handle one client connection then exit
  --rsa-private-key-path    path to the RSA private key used to decrypt
                            authentication credentials
  --authorized-users-path   path to the configuration file containing user
                            credentials
Client specific:
  -c, --client    <host>    run in client mode, connecting to <host>
  --sctp                    use SCTP rather than TCP
  -X, --xbind <name>        bind SCTP association to links
  --nstreams      #         number of SCTP streams
  -u, --udp                 use UDP rather than TCP
  --connect-timeout #       timeout for control connection setup (ms)
  -b, --bitrate #[KMG][/#]  target bitrate in bits/sec (0 for unlimited)
                            (default 1 Mbit/sec for UDP, unlimited for TCP)
                            (optional slash and packet count for burst mode)
  --pacing-timer #[KMG]     set the timing for pacing, in microseconds (default 1000)
  --fq-rate #[KMG]          enable fair-queuing based socket pacing in
                            bits/sec (Linux only)
  -t, --time      #         time in seconds to transmit for (default 10 secs)
  -n, --bytes     #[KMG]    number of bytes to transmit (instead of -t)
  -k, --blockcount #[KMG]   number of blocks (packets) to transmit (instead of -t or -n)
  -l, --length    #[KMG]    length of buffer to read or write
                            (default 128 KB for TCP, dynamic or 1460 for UDP)
  --cport         <port>    bind to a specific client port (TCP and UDP, default: ephemeral port)
  -P, --parallel  #         number of parallel client streams to run
  -R, --reverse             run in reverse mode (server sends, client receives)
  --bidir                   run in bidirectional mode.
                            Client and server send and receive data.
  -w, --window    #[KMG]    set window size / socket buffer size
  -C, --congestion <algo>   set TCP congestion control algorithm (Linux and FreeBSD only)
  -M, --set-mss   #         set TCP/SCTP maximum segment size (MTU - 40 bytes)
  -N, --no-delay            set TCP/SCTP no delay, disabling Nagle's Algorithm
  -4, --version4            only use IPv4
  -6, --version6            only use IPv6
  -S, --tos N               set the IP type of service, 0-255.
                            The usual prefixes for octal and hex can be used,
                            i.e. 52, 064 and 0x34 all specify the same value.
  --dscp N or --dscp val    set the IP dscp value, either 0-63 or symbolic.
                            Numeric values can be specified in decimal,
                            octal and hex (see --tos above).
  -L, --flowlabel N         set the IPv6 flow label (only supported on Linux)
  -Z, --zerocopy            use a 'zero copy' method of sending data
  -O, --omit N              omit the first n seconds
  -T, --title str           prefix every output line with this string
  --extra-data str          data string to include in client and server JSON
  --get-server-output       get results from server
  --udp-counters-64bit      use 64-bit counters in UDP test packets
  --repeating-payload       use repeating pattern in payload, instead of
                            randomized payload (like in iperf2)
  --username                username for authentication
  --rsa-public-key-path     path to the RSA public key used to encrypt
                            authentication credentials

[KMG] indicates options that support a K/M/G suffix for kilo-, mega-, or giga-

iperf3 homepage at: https://software.es.net/iperf/
Report bugs to:     https://github.com/esnet/iperf
eddy@eddy:~$

TCP

server

iperf3 -s -i 1 -p 1314

client

eddy@eddy:~$ iperf3 -c 192.168.159.131 -p 1314 -f m -i 1 -n 1000M -l 1K
Connecting to host 192.168.159.131, port 1314
[  5] local 192.168.159.132 port 44740 connected to 192.168.159.131 port 1314
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  52.7 MBytes   442 Mbits/sec    0    433 KBytes
[  5]   1.00-2.00   sec   102 MBytes   850 Mbits/sec    0    458 KBytes
[  5]   2.00-3.00   sec  95.5 MBytes   804 Mbits/sec    0    484 KBytes
[  5]   3.00-4.00   sec   103 MBytes   864 Mbits/sec    0    512 KBytes
[  5]   4.00-5.00   sec  99.6 MBytes   835 Mbits/sec    0    512 KBytes
[  5]   5.00-6.00   sec  95.1 MBytes   799 Mbits/sec    0    512 KBytes
[  5]   6.00-7.00   sec   107 MBytes   894 Mbits/sec    0    512 KBytes
[  5]   7.00-8.00   sec   104 MBytes   869 Mbits/sec    0    550 KBytes
[  5]   8.00-9.00   sec  93.2 MBytes   783 Mbits/sec    0    622 KBytes
[  5]   9.00-10.00  sec  78.1 MBytes   655 Mbits/sec    0    622 KBytes
[  5]  10.00-11.00  sec  54.6 MBytes   458 Mbits/sec    1   1.24 MBytes
[  5]  11.00-11.16  sec  16.3 MBytes   846 Mbits/sec    0   1.24 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-11.16  sec  1000 MBytes   752 Mbits/sec    1             sender
[  5]   0.00-11.21  sec   994 MBytes   744 Mbits/sec                  receiver

iperf Done.

UDP

server

iperf3 -s -i 1 -p 1314
-----------------------------------------------------------
Server listening on 1314
-----------------------------------------------------------
Accepted connection from 192.168.159.131, port 58310
[  5] local 192.168.159.131 port 1314 connected to 192.168.159.131 port 57107
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-1.00   sec   113 MBytes   950 Mbits/sec  0.055 ms  35/3660 (0.96%)  
[  5]   1.00-2.00   sec   119 MBytes   999 Mbits/sec  0.048 ms  2/3813 (0.052%)  
[  5]   2.00-3.00   sec   119 MBytes   998 Mbits/sec  0.072 ms  6/3815 (0.16%)  
[  5]   3.00-4.00   sec   117 MBytes   983 Mbits/sec  0.081 ms  66/3815 (1.7%)  
[  5]   4.00-5.00   sec   111 MBytes   932 Mbits/sec  1.192 ms  174/3731 (4.7%)  
[  5]   5.00-6.00   sec   109 MBytes   916 Mbits/sec  0.126 ms  403/3896 (10%)  
[  5]   6.00-7.00   sec   108 MBytes   903 Mbits/sec  0.460 ms  352/3796 (9.3%)  
[  5]   7.00-8.00   sec   116 MBytes   972 Mbits/sec  0.265 ms  118/3834 (3.1%)  
[  5]   8.00-9.00   sec   115 MBytes   968 Mbits/sec  0.140 ms  127/3814 (3.3%)  
[  5]   9.00-10.00  sec   119 MBytes   998 Mbits/sec  0.038 ms  9/3814 (0.24%)  
[  5]  10.00-10.04  sec  4.94 MBytes  1.02 Gbits/sec  0.027 ms  0/158 (0%)  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-10.04  sec  1.12 GBytes   962 Mbits/sec  0.027 ms  1292/38146 (3.4%)  receiver

client

iperf3 -u -c 192.168.159.131 -b 1000m -t 10 -p 1314
Connecting to host 192.168.159.131, port 1314
[  5] local 192.168.159.131 port 57107 connected to 192.168.159.131 port 1314
[ ID] Interval           Transfer     Bitrate         Total Datagrams
[  5]   0.00-1.00   sec   119 MBytes   999 Mbits/sec  3814  
[  5]   1.00-2.00   sec   119 MBytes  1.00 Gbits/sec  3814  
[  5]   2.00-3.00   sec   119 MBytes  1000 Mbits/sec  3816  
[  5]   3.00-4.00   sec   119 MBytes  1000 Mbits/sec  3814  
[  5]   4.00-5.00   sec   119 MBytes   999 Mbits/sec  3809  
[  5]   5.00-6.00   sec   119 MBytes  1.00 Gbits/sec  3820  
[  5]   6.00-7.00   sec   119 MBytes   999 Mbits/sec  3813  
[  5]   7.00-8.00   sec   119 MBytes  1.00 Gbits/sec  3816  
[  5]   8.00-9.00   sec   119 MBytes   999 Mbits/sec  3815  
[  5]   9.00-10.00  sec   119 MBytes  1.00 Gbits/sec  3815  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-10.00  sec  1.16 GBytes  1000 Mbits/sec  0.000 ms  0/38146 (0%)  sender
[  5]   0.00-10.04  sec  1.12 GBytes   962 Mbits/sec  0.027 ms  1292/38146 (3.4%)  receiver

iperf Done.

??
??
?


參考

  1. iperf和iperf3詳解 - 宅女士 - 博客園 (cnblogs.com)
  2. 第 4 章 Netperf 網(wǎng)絡(luò)測(cè)試 (brinnatt.com)

iperf

命令參數(shù)

  1. iperf linux 命令 在線中文手冊(cè) (51yip.com)

  2. Iperf參數(shù)介紹_cqwei1987的博客-CSDN博客_iperf 參數(shù)

  3. [iperf 和 iperf3 命令以及參數(shù)詳解 - cloudwas - 博客園 (cnblogs.com)](https://www.cnblogs.com/cloudwas/p/13084815.html#:~:text= perf是一個(gè)網(wǎng)絡(luò)性能測(cè)試工具。 數(shù)據(jù)包丟失。,Iperf在linux和windows平臺(tái)均有二進(jìn)制版本供自由使用。 iperf3是用來測(cè)量一個(gè)網(wǎng)絡(luò)最大帶寬的工具。 通信協(xié)議。 每次測(cè)試,它都會(huì)報(bào)告網(wǎng)絡(luò)帶寬,丟包率和其他參數(shù)。)

使用參考

  1. iperf網(wǎng)絡(luò)測(cè)試工具 - 騰訊云開發(fā)者社區(qū)-騰訊云 (tencent.com)

  2. Iperf使用方法與參數(shù)說明_Aiolos2015的博客-CSDN博客_iperf 參數(shù)說明

iperf3

  1. Iperf3網(wǎng)絡(luò)性能測(cè)試工具詳解教程 - pycod - 博客園 (cnblogs.com)

  2. iperf3 測(cè)試寬帶, 設(shè)置tcp和udp包大小 - 韓若明瞳 - 博客園 (cnblogs.com)

  3. iperf3使用方法詳解 - 知乎 (zhihu.com)

  4. iperf3網(wǎng)絡(luò)測(cè)試工具使用方法_小白典的博客-CSDN博客_iperf3使用方法

  5. 【山外筆記-工具框架】iperf3網(wǎng)絡(luò)性能測(cè)試工具詳解教程-云社區(qū)-華為云 (huaweicloud.com)文章來源地址http://www.zghlxwxcb.cn/news/detail-461823.html

到了這里,關(guān)于Iperf網(wǎng)絡(luò)測(cè)試工具的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場(chǎng)。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • 網(wǎng)絡(luò)測(cè)試工具—— iperf2詳細(xì)使用方法

    網(wǎng)絡(luò)測(cè)試工具—— iperf2詳細(xì)使用方法

    很多公司都在將自己的無線網(wǎng)絡(luò)升級(jí)到802.11n,以實(shí)現(xiàn)更大的吞吐量、更廣的覆蓋范圍和更高的可靠性,然而保證無線LAN(WLAN)的性能對(duì)于確保足夠的網(wǎng)絡(luò)容量和覆蓋率尤為重要。下面,我們將探討如何通過iPerf來測(cè)定網(wǎng)絡(luò)性能,這是一個(gè)簡(jiǎn)單易用測(cè)量TCP/UDP的吞吐量、損耗和

    2024年02月06日
    瀏覽(18)
  • 網(wǎng)絡(luò)測(cè)試工具——iperf3詳細(xì)使用說明

    網(wǎng)絡(luò)測(cè)試工具——iperf3詳細(xì)使用說明

    iperf3是一款帶寬測(cè)試工具,它支持調(diào)節(jié)各種參數(shù),比如通信協(xié)議,數(shù)據(jù)包個(gè)數(shù),發(fā)送持續(xù)時(shí)間,測(cè)試完會(huì)報(bào)告網(wǎng)絡(luò)帶寬,丟包率和其他參數(shù)。 操作系統(tǒng):Ubuntu20.04LTS 打開終端,直接輸入 說明:不同的系統(tǒng)安裝方式不同,這里只介紹ubuntu系統(tǒng) 環(huán)境假設(shè): 假設(shè)兩臺(tái)設(shè)備。 A(客

    2024年02月03日
    瀏覽(23)
  • Linux環(huán)境安裝iperf3(網(wǎng)絡(luò)性能測(cè)試工具)

    Linux環(huán)境安裝iperf3(網(wǎng)絡(luò)性能測(cè)試工具)

    iperf官網(wǎng)地址: iPerf - The TCP, UDP and SCTP network bandwidth measurement tool ? iperf特性: 測(cè)量帶寬 報(bào)告MSS/MTU大小和觀察到的讀數(shù)大小。 通過套接字緩沖區(qū)支持TCP窗口大小。 UDP 客戶端可以創(chuàng)建指定帶寬的UDP流。 測(cè)量數(shù)據(jù)包丟失 測(cè)量延遲抖動(dòng) 支持多播 跨平臺(tái):Windows、Linux、Android、

    2024年02月03日
    瀏覽(29)
  • 網(wǎng)絡(luò)丟包帶寬測(cè)試工具 iperf3 簡(jiǎn)單認(rèn)知

    網(wǎng)絡(luò)丟包帶寬測(cè)試工具 iperf3 簡(jiǎn)單認(rèn)知

    iperf3 ?是一種網(wǎng)絡(luò)性能測(cè)試工具 工作中用到,這里簡(jiǎn)單介紹 理解不足小伙伴幫忙指正 對(duì)每個(gè)人而言,真正的職責(zé)只有一個(gè):找到自我。然后在心中堅(jiān)守其一生,全心全意,永不停息。所有其它的路都是不完整的,是人的逃避方式,是對(duì)大眾理想的懦弱回歸,是隨波逐流,是

    2024年02月05日
    瀏覽(20)
  • 網(wǎng)絡(luò)測(cè)試工具—— iperf2 安卓APK 下載 及簡(jiǎn)單使用

    網(wǎng)絡(luò)測(cè)試工具—— iperf2 安卓APK 下載 及簡(jiǎn)單使用

    項(xiàng)目上有一款安卓車機(jī)加載局域網(wǎng)圖片加載非常慢,所以需要測(cè)試一個(gè)安卓車機(jī)設(shè)備的帶寬,經(jīng)過調(diào)研后使用到了iperf2。 iperf2是一款開源的網(wǎng)絡(luò)性能測(cè)試工具,用于測(cè)量TCP和UDP帶寬質(zhì)量。它支持測(cè)量最大TCP帶寬,并具有多種參數(shù)和UDP特性。iperf2可以報(bào)告帶寬、延遲抖動(dòng)和數(shù)據(jù)

    2024年02月04日
    瀏覽(21)
  • iperf3網(wǎng)絡(luò)帶寬性能測(cè)試工具 局域網(wǎng)網(wǎng)絡(luò)最大帶寬高階教程

    iperf3網(wǎng)絡(luò)帶寬性能測(cè)試工具 局域網(wǎng)網(wǎng)絡(luò)最大帶寬高階教程

    ????????iperf3 是一個(gè) TCP, UDP, 和 SCTP (傳輸層協(xié)議)網(wǎng)絡(luò)帶寬測(cè)量工具,iperf 是一個(gè)用于主動(dòng)測(cè)量 IP 網(wǎng)絡(luò)上最大可用帶寬的工具. 它支持與時(shí)間、協(xié)議和緩沖區(qū)相關(guān)的各種參數(shù)的調(diào)優(yōu). 對(duì)于每個(gè)測(cè)試,它報(bào)告測(cè)量的吞吐量/比特率(帶寬), 丟包率和其他參數(shù), iperf的版本不向下兼

    2024年02月20日
    瀏覽(21)
  • 帶寬測(cè)試工具 iperf3

    帶寬測(cè)試工具-iperf3 iperf3是一款帶寬測(cè)試工具,它支持調(diào)節(jié)各種參數(shù),比如通信協(xié)議,數(shù)據(jù)包個(gè)數(shù),發(fā)送持續(xù)時(shí)間,測(cè)試完會(huì)報(bào)告網(wǎng)絡(luò)帶寬,丟包率和其他參數(shù)。 操作系統(tǒng):centos7.0 軟件下載網(wǎng)址:https://iperf.fr/iperf-download.php(選擇對(duì)應(yīng)的發(fā)行版) 軟件名稱:iperf3-3.1.3-1.fc24.

    2023年04月09日
    瀏覽(21)
  • 服務(wù)器帶寬測(cè)試工具:iPerf的安裝與使用

    服務(wù)器帶寬測(cè)試工具:iPerf的安裝與使用

    Linux 環(huán)境安裝及相關(guān)使用命令: 一、安裝 iperf3 1、 yum 安裝 2、其他操作系統(tǒng)可以下載官網(wǎng)的軟件包 下載完成后可以通 rpm -ivh 進(jìn)行安裝。 官網(wǎng)地址: https://iperf.fr/iperf-download.php 二、服務(wù)端啟動(dòng)命令 1、開啟 ipert3 服務(wù)器端 2、客戶端測(cè)速命令 舉個(gè)例子: Windows 環(huán)境安裝及相關(guān)

    2024年02月07日
    瀏覽(10)
  • WX1860- ngbe-1.2.5 xdp程序在路由模式下,使用iperf工具測(cè)試數(shù)據(jù)包不轉(zhuǎn)發(fā),用jmeter可以

    WX1860- ngbe-1.2.5 xdp程序在路由模式下,使用iperf工具測(cè)試數(shù)據(jù)包不轉(zhuǎn)發(fā),用jmeter可以

    ? ?本地驗(yàn)證時(shí)重定向iperf包有出現(xiàn)calltrace錯(cuò)誤,經(jīng)推斷,系統(tǒng)PAGE_SIZE8k時(shí)可能出現(xiàn)(getconf PAGE_SIZE指令可查看),按下圖將ngbe_main.c的2350行ngbe_rx_bufsz改為ngbe_rx_pg_size可修復(fù)。其次,需要將加載xdp重定向的網(wǎng)口改為混雜模式(ifconfig eth promisc),否則iper建立連接時(shí)回應(yīng)的報(bào)文

    2024年02月12日
    瀏覽(19)
  • 開源安全測(cè)試工具 | 網(wǎng)絡(luò)安全工具列表

    ? AttackSurfaceMapper (https://github.com/superhedgy/AttackSurfaceMapper) - 自動(dòng)化滲透測(cè)試工具, 使用手冊(cè)/測(cè)試流程 (https://www.uedbox.com/post/59110/)。 ? vajra (https://github.com/r3curs1v3-pr0xy/vajra) - 自動(dòng)化滲透測(cè)試. ? Savior (https://github.com/Mustard404/Savior) - 滲透測(cè)試報(bào)告自動(dòng)生成工具!. ? OneForAll (h

    2024年02月03日
    瀏覽(23)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包