メイン コンテンツに進む
  • すばやく簡単にご注文が可能
  • 注文内容の表示、配送状況をトラック
  • 会員限定の特典や割引のご利用
  • 製品リストの作成とアクセスが可能
  • 「Company Administration(会社情報の管理)」では、お使いのDell EMCのサイトや製品、製品レベルでのコンタクト先に関する情報を管理できます。

Come testare la larghezza di banda di rete disponibile utilizzando "iperf"

概要: Questo articolo fornisce informazioni su come testare la larghezza di banda di rete disponibile.

この記事は自動翻訳されたものである可能性があります。品質に関するフィードバックがある場合は、このページの下部にあるフォームを使用してお知らせください。

文書の内容


現象

Come testare la larghezza di banda della rete disponibile

    1. Scaricare l'utilità iperf.  Una copia è disponibile all'indirizzo iperf.fr
   2. Sul server che riceverà i dati, aprire una finestra di comando con privilegi elevati ed eseguire il seguente comando: "iperf.exe –s –w 2m".
    3. Sul server che invierà dati, aprire una finestra di comando con privilegi elevati ed eseguire il seguente comando: "iperf –c x.x.x.x –w 2m –t 30s –i 1s".  Sostituire x.x.x.x con l'indirizzo IP del server del passaggio 2.
    4. Esaminare i dati restituiti sul server dal passaggio 3.  L'output dovrebbe essere simile al testo riportato di seguito:

 
C:\Users\some_user\Downloads>iperf -c xx.xx.xx.xx -w 2m -t 30s -i 1s
------------------------------------------------------------
Client connecting to xx.xx.xx.xx, TCP port 5001
TCP window size: 2.00 MByte
------------------------------------------------------------
[156] local xx.xx.xx.xx port 53724 connected with xx.xx.xx.xx port 5001
[ ID] Interval       Transfer     Bandwidth
[156]  0.0- 1.0 sec  113 MBytes  945 Mbits/sec
[156]  1.0- 2.0 sec  112 MBytes  944 Mbits/sec
[156]  2.0- 3.0 sec  113 MBytes  945 Mbits/sec
.
.
.
[156] 28.0-29.0 sec  113 MBytes  945 Mbits/sec
[156] 29.0-30.0 sec  112 MBytes  944 Mbits/sec
[156]  0.0-30.3 sec   3.30 GBytes  945 Mbits/sec

 
Informazioni aggiuntive:

Iperf è uno strumento di test di rete comunemente utilizzato in grado di creare flussi di dati TCP e UDP e misurare il throughput di una rete che li sta trasportando.

Iperf consente all'utente di impostare vari parametri che possono essere utilizzati per testare una rete o, in alternativa, per ottimizzare o sintonizzare una rete. Iperf dispone di una funzionalità client e server e può misurare il throughput tra le due estremità, sia in senso unidirezionale che bidirezionale. È un software open source e viene eseguito su varie piattaforme, tra cui Linux, Unix e Windows.

I comandi di esempio riportati sopra eseguono un test unidirezionale con una dimensione del buffer di due megabyte.  Il test viene eseguito per 30 secondi e visualizza i risultati ogni secondo.  Per un test più avanzato, vedere la sintassi completa riportata di seguito.
 

Opzioni generali:  


-f, --format
[kmKM] format to report: Kbits, Mbits, KBytes, MBytes

-h, --help
print a help synopsis

-i, --interval n
pause n seconds between periodic bandwidth reports

-l, --len n[KM]
set length read/write buffer to n (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 n
set server port to listen on/connect to n (default 5001)

-u, --udp
use UDP rather than TCP

-w, --window n[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 send extra msgs

-M, --mss n
set TCP maximum segment size (MTU - 40 bytes)

-N, --nodelay
set TCP no delay, disabling Nagle's Algorithm

-v, --version
print version information and quit

-V, --IPv6Version
Set the domain to IPv6

-x, --reportexclude
[CDMSV] exclude C(connection) D(data) M(multicast) S(settings)
V(server) reports

-y, --reportstyle C|c
if set to C or c report results as CSV (comma separated values)

Server specific options:  

-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 options: 

-b, --bandwidth n[KM]
set target bandwidth to n bits/sec (default 1 Mbit/sec). Questa
impostazione richiede UDP (-u).

-c, --client <host>
eseguire in modalità client, connettersi a <host-d

>, --dualtest
Eseguire contemporaneamente

un test bidirezionale-n, --num n[KM]
numero di byte da trasmettere (invece di -t)

-r, --tradeoff
Eseguire un test bidirezionale singolarmente-t

, --time n
time in seconds per trasmettere per (impostazione predefinita 10 secs)

-F, --fileinput <name
>immettere i dati da trasmettere da un file-I,

--stdin
input the data to be transmitted from stdin-L

, --listenport n
port to receive bidirectional tests back on-P

, --parallel n
number of parallel client threads to run-T

, --ttl n
time-to-live, for multicast (default 1)

-Z, --linux-congestion <algo>
set TCP congestion control algorithm (solo Linux)


Fonti: Wikipedia e Manpagez

 

原因

-

解決方法

-

文書のプロパティ


影響を受ける製品

Desktops & All-in-Ones, Laptops, Servers, PowerEdge

最後に公開された日付

06 10月 2021

バージョン

4

文書の種類

Solution