Skip to content

IPerf

iPerf - The ultimate speed test tool for TCP, UDP and SCTP

Iperf는 네트워크 성능 측정 및 튜닝 도구이다. 크로스 플랫폼 도구이며 모든 네트워크의 표준화된 성능 측정을 생성할 수 있다.

Iperf는 클라이언트와 서버 기능이 있으며 데이터 스트림을 만들어서 단방향 또는 양방향으로 양단 간 스루풋을 측정할 수 있다.

What is iPerf / iPerf3 ?

iPerf3 is a tool for active measurements of the maximum achievable bandwidth on IP networks. It supports tuning of various parameters related to timing, buffers and protocols (TCP, UDP, SCTP with IPv4 and IPv6). For each test it reports the bandwidth, loss, and other parameters. This is a new implementation that shares no code with the original iPerf and also is not backwards compatible. iPerf was orginally developed by NLANR/DAST. iPerf3 is principally developed by ESnet / Lawrence Berkeley National Laboratory. It is released under a three-clause BSD license.

Install

sudo apt install iperf3

회선 성능 측정 방법

TCP 데이터 업로드 및 다운로드 속도를 확인하는 방법입니다.

서버 PC 에서 다음을 실행

$ iperf -s

그리고 클라이언트 PC 에서 다음을 실행 (물론 IP 주소는 서버 주소를 사용한다)

iperf -c 192.168.0.95

연결이 성공하고 테스트가 종료되면 서버는 다음과 같이 출력:

------------------------------------------------------------
Server listening on TCP port 5001
TCP window size:  128 KByte (default)
------------------------------------------------------------
[  1] local 192.168.0.95 port 5001 connected with 192.168.0.250 port 36640
[ ID] Interval       Transfer     Bandwidth
[  1] 0.0000-10.0898 sec   440 MBytes   366 Mbits/sec

클라이언트는 다음과 같이 출력:

------------------------------------------------------------
Client connecting to 192.168.0.95, TCP port 5001
TCP window size:  255 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.250 port 36640 connected with 192.168.0.95 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   440 MBytes   368 Mbits/sec

See also

Favorite site