[데비안] Iperf설치 사용하기

Linux/Tools | 2006/05/31 10:58 | adioshun
[ 설치 ]
홈페이지 : http://dast.nlanr.net/projects/Iperf/
소스 : wget http://dast.nlanr.net/Projects/Iperf2.0/iperf-2.0.2.tar.gz
        or  apt-get install iperf
HOWTO : http://dast.nlanr.net/projects/Iperf/iperfdocs_1.7.0.html


[실행]

서버 : # iperf -s -u -D   -> 데몬 모드로 실행

Client : # iperf -c server_host[IP] -u -b 전송할용량(ex. 100m) -n 전송소요시간(ex.100m-100분)   

[예제]
가정 : 서버는 10.206.. 클라이언트는 20.201

[1] 서버실행

C:\Documents and Settings\zero\바탕 화면> iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------

[2] 클라이언트 측

(1) 10초간(디폴트)의 성능측정
C:\Documents and Settings\zero\바탕 화면> iperf -c 192.168.10.206
------------------------------------------------------------
Client connecting to 192.168.10.206, TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
[884] local 192.168.20.201 port 1036 connected with 192.168.10.206 port 5001
[ ID] Interval       Transfer     Bandwidth
[884]  0.0-10.0 sec   113 MBytes  94.5 Mbits/sec

(2) window size 변경
C:\Documents and Settings\zero\바탕 화면> iperf -w 100k -c 192.168.10.206
------------------------------------------------------------
Client connecting to 192.168.10.206, TCP port 5001
TCP window size:  100 KByte
------------------------------------------------------------
[884] local 192.168.20.201 port 1048 connected with 192.168.10.206 port 5001
[ ID] Interval       Transfer     Bandwidth
[884]  0.0-10.0 sec   113 MBytes  94.9 Mbits/sec

(3) 시간을 100초로 지정
C:\Documents and Settings\zero\바탕 화면> iperf -t 100 -c 192.168.10.206
------------------------------------------------------------
Client connecting to 192.168.10.206, TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
[884] local 192.168.20.201 port 1051 connected with 192.168.10.206 port 5001
[ ID] Interval       Transfer     Bandwidth
[884]  0.0-100.0 sec  1.10 GBytes  94.6 Mbits/sec


(4)1초 간격으로 결과 측정
C:\>iperf -c 192.168.20.200 -i 1
------------------------------------------------------------
Client connecting to 192.168.20.200, TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
[884] local 192.168.20.100 port 2515 connected with 192.168.20.200 port 5001
[ ID] Interval       Transfer     Bandwidth
[884]  0.0- 1.0 sec  11.3 MBytes  94.4 Mbits/sec
[884]  1.0- 2.0 sec  11.2 MBytes  94.2 Mbits/sec
[884]  2.0- 3.0 sec  11.3 MBytes  94.4 Mbits/sec
[884]  3.0- 4.0 sec  11.2 MBytes  94.2 Mbits/sec
[884]  4.0- 5.0 sec  11.1 MBytes  93.5 Mbits/sec
[884]  5.0- 6.0 sec  8.23 MBytes  69.0 Mbits/sec
[884]  6.0- 7.0 sec  11.2 MBytes  94.2 Mbits/sec
[884]  7.0- 8.0 sec  11.3 MBytes  94.4 Mbits/sec
[884]  8.0- 9.0 sec  11.3 MBytes  94.4 Mbits/sec
[884]  9.0-10.0 sec  11.2 MBytes  94.2 Mbits/sec
[884]  0.0-10.0 sec   109 MBytes  91.6 Mbits/sec

참고 : nrc에서 제로님 글

2006/05/31 10:58 2006/05/31 10:58
Trackback address :: http://4ellene.net/tt/trackback/886
  1. Ashes of soma lyrics.

    Tracked from Psyche and soma operate as a duality. 2008/07/21 11:57  삭제

    Soma radio. Soma cubes. Soma. Psyche and soma operate as a duality. Pornstar soma. Soma cannabis. Soma labs serogen.

Comments List

  1. bare bottom birching 2008/05/23 04:47

  2. dental dam reviews 2008/05/23 05:29

  3. couples foreplay movies 2008/05/23 07:18

  4. mikasa ebony accent 2008/05/24 01:13

Write a comment.

[로그인][오픈아이디란?]